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)

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!!


All times are GMT. The time now is 08:54 AM.

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.03573 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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