vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Display Enhancements - Alternate Last Post Display (https://vborg.vbsupport.ru/showthread.php?t=214832)

troll2 06-05-2009 03:14 PM

It does not show "broken image", most likely a conflict, but I have not been able to inentify which mod yet

IdanB 06-05-2009 03:18 PM

Quote:

Originally Posted by troll2 (Post 1823969)
It does not show "broken image", most likely a conflict, but I have not been able to inentify which mod yet

lemme change var names to unique, v1.1.1 will be uploaded in few minutes, lets just see if this solves it...

IdanB 06-05-2009 03:41 PM

uploaded v1.1.1 - changed:
1. check for user id if not available.
2. renamed template vars to be unique.

Will check your reply later on.

troll2 06-05-2009 03:55 PM

Installed v1.1.1. Shows on forum display http://hmsplan.com/forumdisplay.php?f=18 but not at forum home and Post Time reads N/A. ACP is correct set.

IdanB 06-05-2009 04:03 PM

Quote:

Originally Posted by troll2 (Post 1823992)
Installed v1.1.1. Shows on forum display http://hmsplan.com/forumdisplay.php?f=18 but not at forum home. ACP is correct set.

Please pay attention the fact the "default settings" on admincp is set to show plugin on forumdisplay only.
If needs to show on forumhome, go into admincp, vbulletin options -> vbulletin options, scroll down to "Alternate Last Post Display" click "Edit Settings" & on options screen make sure "Enable on Forum Home ?" is set to YES.

If above is set to YES & still not showing, can you please mention if this shows any errors ? And if indeed errors, please provide more information about it.

EDIT: About post time showing as N/A, can you please post your date/time strings used under admincp.

troll2 06-05-2009 04:08 PM

Thanks for your support! :-) Enable on Forum Home is set to "YES" in ACP and no errors are showing at board. No picture is showing at forum home. date/time strings ?? not sure where to locate it. (F jS, Y) Also, please notice the left alignment when forum name is longer and "Use "Last Post" text as title ?" in ACP is set to "NO". http://hmsplan.com/forumdisplay.php?f=18 It would be great if your mod support / show on thread list too.

BlueNinjaGo 06-05-2009 04:13 PM

Compatible with 3.7.x?

IdanB 06-05-2009 04:41 PM

Quote:

Originally Posted by troll2 (Post 1823996)
No picture is showing at forum home. date/time strings ?? not sure where to locate it. (F jS, Y) Also, please notice the left alignment when forum name is longer and "Use "Last Post" text as title ?" in ACP is set to "NO". http://hmsplan.com/forumdisplay.php?f=18 It would be great if this show on thread list too.

About date/time, i'm working right now on a fix that will better handle date locale in case of non-english months names. perhaps i didnt handle it as well as i thought.

About left align, Last i tested it it worked fine.
please provide some screenshot if you can, so i may better understand the problem you reffering to.

As a reminer note i'll mention the template generated by this plugin is using NOBR tag inside the TD table element. (This was added so it wont get "tiny & long" for people without proper minimum width hadle on their skin). Guess this is tradeoff as when need to support majority of people need to provide something that works best to all. But what's "hides" behind prevent statement means know how to handle your forum width. If not enough width available, then use the "Last Post" text option with YES, to save extra pixerls there. The "Last Post" block will NOT be resized due to NOBR tag.

About Thread List, i'll consider it as an option for future versions, at the moment trying to get this stable as possible before attempting to further add features.

IdanB 06-05-2009 04:43 PM

Quote:

Originally Posted by BlueNinjaGo (Post 1823999)
Compatible with 3.7.x?

As far as i'm aware i didnt used any 3.8.x var that isnt available on 3.7.x, so i believe it should be compatible with 3.7.x or lower as well.
Since this mod doesnt perform any DB structure changes, you can safely install it without worrying about any "damage" being made. at worst case it just wont work & you can simply uninstall it from admincp.
I would appreciate if you could confirm compatibility for me.

troll2 06-05-2009 05:17 PM

1 Attachment(s)
Thanks for adding thread list to your future dev list, l have attached a screenshot do display the left allignment issue

IdanB 06-05-2009 05:21 PM

Uploaded v.1.1.2, should fix date problem for non english languages. Fixed the regexp for better support also added some neglected handle code for it.

IdanB 06-05-2009 05:22 PM

Quote:

Originally Posted by troll2 (Post 1824041)
Thanks for adding thread list to your future dev list, l have attached a screenshot do display the left allignment issue

When no post original template remains untouched.
I'll replace it with aligned code (as an option on admincp) on future version.

IdanB 06-05-2009 05:42 PM

Note: i was reported the vbSEO auto convert the normal plugin links & properly handle it, so just keep the vbSEO option on admincp set to "NO".
Seems that feature is note need. It will be removed on next version.

Brandon Sheley 06-05-2009 05:42 PM

[high]* Brandon Sheley installed & it works great :)[/high]

mindhunter77 06-05-2009 06:11 PM

Needs the ability to trim usernames, it throws styles way out wack when you have a long username.

IdanB 06-05-2009 06:31 PM

Quote:

Originally Posted by mindhunter77 (Post 1824062)
Needs the ability to trim usernames, it throws styles way out wack when you have a long username.

how many nick chars would you advise to show before showing ... to it ?

I will add it as feature to next version.

dancue 06-05-2009 07:42 PM

Why am I getting "Last Post Time N/A"?

goxy63 06-05-2009 10:49 PM

1.Can you please edit mod for non english languages (serbian latin and cyrillic in my case)
Nicknames with lets say these signs šđčćž dont have avatars displayed

2.Also I would like to use original title with normal date and time (06-06-09 00:17)

Thanks for awesome hack but I just cant use it if its only for english letters

ArnyVee 06-06-2009 01:35 AM

IdanB,

I have the tabbed forum home mod and this isn't showing for me. What do you suggest I do to get this to show?

IdanB 06-06-2009 05:50 AM

Quote:

Originally Posted by dancue (Post 1824102)
Why am I getting "Last Post Time N/A"?

What time string are you using ?

IdanB 06-06-2009 05:58 AM

Quote:

Originally Posted by goxy63 (Post 1824220)
1.Can you please edit mod for non english languages (serbian latin and cyrillic in my case)
Nicknames with lets say these signs šđčćž dont have avatars displayed

2.Also I would like to use original title with normal date and time (06-06-09 00:17)

Thanks for awesome hack but I just cant use it if its only for english letters

1. It should support non-english chars. For nick display i'm using built-in vbulletin variable called $lastpostinfo[lastposter] (same var that's inside the forumhome_lastpostby template). So unless some other mod that modify this var, it should display it correctly.

Only possible language problem conflict might be the date when using time string of "F" or "M". However, that should be also covered. I'm currently using the following regexp [a-zA-Z\xE0-\xFF]+ - as far as i know it should cover all language characters. If i'm mistaken, please provide feedback of your language range.

EDIT: i've tested some of the chars you've mentioned to the regexp, and indeed found 2 chars didnt catch by the regexp.
changing the regexp to: [a-zA-Z\x00-\xFF]+ should fix the problem. i'll upload it on v1.1.3


2.Original title already available as an option, check admincp (last option).

3. About "normal date", i'll see what i can do, perhaps i'll add it as admincp option in future version.

IdanB 06-06-2009 06:06 AM

Quote:

Originally Posted by ArnyVee (Post 1824263)
IdanB,

I have the tabbed forum home mod and this isn't showing for me. What do you suggest I do to get this to show?

hmmm, the forumhome page displayed relays on THIS_SCRIPT php define.
On normal case it's set to "index" & this is what i'm currently checking.
I think the tabbed home mod is based on forumdisplay categories, sending each tab to it's own sub category, but that should work (as currently forumdisplay is covered), unless the mod changes this define value.

If you want to help me code support for it, add some dummy plugin hook to "forumbit_display" with single line in it:
PHP Code:

die(THIS_SCRIPT); 

Then when reloading tabbed home page, it should kill echo (white page), but will print on top the value of define shown for the tabbed home.
Once that made (and you've written the value down), you can just delete the hook we've just created & everything will be back to normal.
With that i can allow certain bypass for the mentioned mod)

dancue 06-06-2009 11:50 AM

Quote:

Originally Posted by IdanB (Post 1824321)
What time string are you using ?

Are you referring to the time string within vbulletin?

h:i A

IdanB 06-06-2009 02:31 PM

Quote:

Originally Posted by dancue (Post 1824423)
Are you referring to the time string within vbulletin?

h:i A

Yes. Dont think that time string is the problem.
What is current configuration for "Format For Date" ? and what language are you using ?

goxy63 06-06-2009 03:32 PM

woooowww
This is what I call mod is supported, thanks for your kind reply

regarding to those chars, these are problem at my board but if you fixed those above that resolves my main problem

Please if you have time check these too

Cyrillic Alphabet
Б б, Г г, Д д, Ђ ђ, Ж ж, З з, И и, Л л, Љ љ, Њ њ, П п, Ћ ћ, У у, Ф ф, Ц ц, Ч ч, Џ џ, Ш ш

Latin alphabet
Đ, đ, Ž, Ć, Č, Š

Thanks a lot

cheers

keyness 06-06-2009 03:49 PM

Nice hack! Thanks!

However I uninstalled because it looks untidy because of different dimensions of avatars. Also I had time issue too.

I'll reinstall when it looks more charming. Thanks again!

dancue 06-06-2009 04:05 PM

Quote:

Originally Posted by IdanB (Post 1824492)
Yes. Dont think that time string is the problem.
What is current configuration for "Format For Date" ? and what language are you using ?

m-d-Y

English

IdanB 06-06-2009 04:07 PM

v1.1.3 will be uploaded in a few minutes.
Amoung fixes that should be within are:
1. fix for regexp for more non-english chars.
2. avatar pictures now will be forced to 40x40
3. vbSEO admincp option removed - no needed, automatically detected & handled.
4. 2 more admincp options:
A] option to select time format: xxx ago / normal date & time.
B] option to align left the "never" phrase

IdanB 06-06-2009 04:08 PM

Quote:

Originally Posted by keyness (Post 1824562)
Nice hack! Thanks!

However I uninstalled because it looks untidy because of different dimensions of avatars. Also I had time issue too.

I'll reinstall when it looks more charming. Thanks again!

was fixed in code already - grab v1.1.3 when it's online.

dancue 06-06-2009 04:14 PM

Very nice! Quick!!

ArnyVee 06-06-2009 04:36 PM

Idan, great job on those quick fixes. :D

I'm going to try and do the debugging for the folks that have the Tabbed Forum Home mod and see if we can get that solved! :up:

IdanB 06-06-2009 04:36 PM

uploaded version 1.1.3
Awaiting feedback on other stuff that might not be working.

@goxy63 - i tried to test it best i can, some characters i couldnt get to display on my text window (only getting it as ?, probably missing encoding installed on my pc).
Eventually I've set the regexp to \x30-\xFF, to avoid it seelct "space", as this would "screw" algorithm inside.

@dancue - the m-d-Y was tested on english & found to be working, if latest version (1.1.3) still giving you problem, add me to msn, will try to make some live chat to better debug this one (possibly some mod conflict).

IdanB 06-06-2009 04:39 PM

Quote:

Originally Posted by ArnyVee (Post 1824609)
Idan, great job on those quick fixes. :D

I'm going to try and do the debugging for the folks that have the Tabbed Forum Home mod and see if we can get that solved! :up:

Thanks for the help :)
When we find out whats missing i'll upload it as fix in v.1.1.4

troll2 06-06-2009 04:50 PM

Great work, left alignment works, selecting "YES" does not show time passed since last post (xxx ago). Selecting "NO" to set the default date & time as configured by admincp works. It still does not show on forum home, but I think I am experiencing the same problem as described above as I am using "Tabbed Forum Home"

dancue 06-06-2009 04:53 PM

Looks good, except "last post" is not appearing. And it would look a bit better and easier to understand if you added a "by" right before the user's name.

eg..."Last Post by xxx" or "Thread title by xxx"

IdanB 06-06-2009 04:58 PM

Quote:

Originally Posted by troll2 (Post 1824622)
Great work, left alignment works, selecting "YES" does not show time passed since last post (xxx ago). Selecting "NO" to set the default date & time as configured by admincp works. It still does not show on forum home, but I think I am experiencing the same problem as described above as I am using "Tabbed Forum Home"

Can you please post the time string you see on one of the forums under Last Post ?
(exact text as appears on your forum ##/##/## ##:##AM or any other pattern you have)

About the forum home, once we get this debbuged with this mod, i'll release fix for it.

IdanB 06-06-2009 05:02 PM

Quote:

Originally Posted by dancue (Post 1824626)
Looks good, except "last post" is not appearing. And it would look a bit better and easier to understand if you added a "by" right before the user's name.

eg..."Last Post by xxx" or "Thread title by xxx"

It has "by" already, see the picture i've attached.
it's should be <link>Last Post</link> by <link>xxx</link>
Can you please provide screenshot so i may see what you mean, maybe i'm not following your exact intentions.

dancue 06-06-2009 05:10 PM

Quote:

Originally Posted by IdanB (Post 1824632)
It has "by" already, see the picture i've attached.
it's should be <link>Last Post</link> by <link>xxx</link>
Can you please provide screenshot so i may see what you mean, maybe i'm not following your exact intentions.

That's how I want it to be, but it is not showing up that way.

hmm...I just checked it out on Safari and it's showing up.

Let me clear my cache.

dancue 06-06-2009 05:12 PM

1 Attachment(s)
Nope. Cleared my cache on FF and it still does not show.

goxy63 06-06-2009 05:13 PM

Well none of characters mentioned above are not working with latest version
šđčćž
as well
Б б, Г г, Д д, Ђ ђ, Ж ж, З з, И и, Л л, Љ љ, Њ њ, П п, Ћ ћ, У у, Ф ф, Ц ц, Ч ч, Џ џ, Ш ш

If you need acces to my test forums let me know, I would be glad to help in this way

Cheers


All times are GMT. The time now is 12:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01562 seconds
  • Memory Usage 1,840KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete