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-06-2009 05:26 PM

Quote:

Originally Posted by IdanB (Post 1824629)
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.

The time string is; May 6th, 2009 20:18 when set to "NO" and shows "Post Time N/A" when set to "YES".

Thanks for adding the fix (support) for "tabbed Forum home" to your list.

IdanB 06-06-2009 05:54 PM

Quote:

Originally Posted by troll2 (Post 1824650)
The time string is; May 6th, 2009 20:18 when set to "NO" and shows "Post Time N/A" when set to "YES".

Thanks for adding the fix (support) for "tabbed Forum home" to your list.

Please note the "S" format char currently not supported (not showing on supported char list i've written)
Currently supported format chars for date/time are : "d", "m", "n", "F", "M", "Y", "y", "h", "H", "g", "G", "i", "s", "a", "A"

I'll try to add support for it on next version as well.
Meanwhile, you can try to remove "S" char from the "Format For Date" string on admincp, and you'll see time show correctly.

IdanB 06-06-2009 05:56 PM

Quote:

Originally Posted by goxy63 (Post 1824643)
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

Do you have msn ?
If so, please add me to there, i'll debug this on your test board next weekend.

IdanB 06-06-2009 06:04 PM

Quote:

Originally Posted by dancue (Post 1824642)
Nope. Cleared my cache on FF and it still does not show.

Can you check if you have phrase called "alt_lp_by" showing on the phrase manager (on admincp) ?

g0dfather1984 06-06-2009 06:08 PM

Works like a charm, grazie.

dancue 06-06-2009 06:11 PM

ah...you know what it was?

It was vbOptimise.

I had to flush the cache from the options they provide.

Thanks man. Everything looks great. Hopefully you can add the option to allow the user to select the size (h and w) of the image, including allowing them to insert "0" for unlimited.

IdanB 06-06-2009 06:13 PM

Quote:

Originally Posted by dancue (Post 1824687)
ah...you know what it was?

It was vbOptimise.

I had to flush the cache from the options they provide.

Thanks man. Everything looks great. Hopefully you can add the option to allow the user to select the size (h and w) of the image, including allowing them to insert "0" for unlimited.

sure, wouldnt be too hard to do :).
Expect it as feature on next version.

* feature added to TO-DO's list.

RedeemedWarrior 06-06-2009 06:23 PM

any chance you can make it work so it will show last posts in subforum on forumhome?

currently only last post in a master forum shows

troll2 06-06-2009 06:23 PM

Removing "S" from the date / time string in ACP did not have any effect, I`ll wait for your update :)

IdanB 06-06-2009 07:45 PM

Quote:

Originally Posted by troll2 (Post 1824700)
Removing "S" from the date / time string in ACP did not have any effect, I`ll wait for your update :)

ok. I'll debug that code section again, maybe it's something minor i overlooked.
Next revision expected to be released next Friday. I' hope v1.1.4 will eliminate all the bugs left :)

IdanB 06-06-2009 07:48 PM

Quote:

Originally Posted by RedeemedWarrior (Post 1824698)
any chance you can make it work so it will show last posts in subforum on forumhome?

currently only last post in a master forum shows

Please provide some screenshot so i'll better understand what you reffering to.

keyness 06-06-2009 09:11 PM

Nice job! Thanks!

compact123 06-07-2009 01:26 AM

Good work sir. i have a problem;

Installed latest version. Picture does not show on forum display.

and add an option to change the icon size you can do?

thanks so much...

JMEWLS` 06-07-2009 01:57 AM

What's the template so I can edit it a little. It doesn't span with "small font" CSS, and I want to adjust the arrangement like I can in the lastpost template.

saviola8x 06-07-2009 06:05 AM

very nice.
Thanks : http://forum.svmtcn.net/ =)

denman75 06-07-2009 06:07 AM

looks great ,great hack thank you sir

IdanB 06-07-2009 09:22 AM

Quote:

Originally Posted by JMEWLS` (Post 1824864)
What's the template so I can edit it a little. It doesn't span with "small font" CSS, and I want to adjust the arrangement like I can in the lastpost template.

It's auto-template edit. You will find in mod 2 plugins named that end with " - Template Change" - one for Forum Home & other for Forum Display.
I'll allow the small font as an option for admincp on next version.

ArnyVee 06-07-2009 01:42 PM

Quote:

Originally Posted by IdanB (Post 1824730)
ok. I'll debug that code section again, maybe it's something minor i overlooked.
Next revision expected to be released next Friday. I' hope v1.1.4 will eliminate all the bugs left :)

Idan, did someone do the Tabbed Forum Home bug fix with you already? I haven't had a chance yet and just checking that you have something to work with already for 1.1.4 on that one.

compact123 06-07-2009 03:57 PM

How do I like in this picture? Last post I want to look like the picture of the message. Thank you.

https://vborg.vbsupport.ru/

IdanB 06-07-2009 04:21 PM

Quote:

Originally Posted by compact123 (Post 1825124)
How do I like in this picture? Last post I want to look like the picture of the message. Thank you.

http://img193.imageshack.us/img193/1416/47940051.png

You can make this look like the picture with minor tweaks. (only edit required is to move the <br> location). All the rest is under admincp options.

1. Inside admincp, under "Plugin & products" -> "Plugin Manager".
Edit templates "Forum Display - Template Change" & "Forum Home - Template Change":

Locate this line:
PHP Code:

$vbulletin->templatecache['forumhome_lastpostby'] = "<div align='left'><table width='100%'><tr><td align='left' width='40'>\$GLOBALS[alt_lp_avatar_img]</td><td align='left' NOWRAP><a href='\$GLOBALS[alt_lp_last_post_link]'>\$GLOBALS[alt_lp_last_post_title]</a> $vbphrase[alt_lp_by] <a href='\$GLOBALS[alt_lp_last_poster_profle_link]'>\$GLOBALS[alt_lp_last_poster]</a><br>\$GLOBALS[alt_lp_last_post_time_ago]</td></tr></table></div>"

and replace with this line:
PHP Code:

$vbulletin->templatecache['forumhome_lastpostby'] = "<div align='left'><table width='100%'><tr><td align='left' width='40'>\$GLOBALS[alt_lp_avatar_img]</td><td align='left' NOWRAP><a href='\$GLOBALS[alt_lp_last_post_link]'>\$GLOBALS[alt_lp_last_post_title]</a><br>$vbphrase[alt_lp_by] <a href='\$GLOBALS[alt_lp_last_poster_profle_link]'>\$GLOBALS[alt_lp_last_poster]</a> \$GLOBALS[alt_lp_last_post_time_ago]</td></tr></table></div>"

2. Inside admincp go to "Vbulletin Options" -> "Vbulletin Options", edit the "Alternate Last Post Display" options, and set the "Show differential time ?" option to NO.

3. Adjust the date/time string on vbulletin "Date and Time Options" as you please.

regards.

IdanB 06-07-2009 04:23 PM

Quote:

Originally Posted by ArnyVee (Post 1825069)
Idan, did someone do the Tabbed Forum Home bug fix with you already? I haven't had a chance yet and just checking that you have something to work with already for 1.1.4 on that one.

Not yet.
Do you have msn ?

IdanB 06-07-2009 04:26 PM

Quote:

Originally Posted by compact123 (Post 1824859)
and add an option to change the icon size you can do?

Already added to TO-DO's list for next version update.

blind-eddie 06-07-2009 06:43 PM

On one of my sites, we use usergroup avatars & members can not change them. Would be nice if we had the option in the admincp/vbulletin options/Alternate Last Post Display to select from Profile pic or Avatar.

Thanks for the hack.

dancue 06-07-2009 06:48 PM

How can I add the word "In" right before the thread title?

dancue 06-07-2009 06:54 PM

Also, would be nice to have something like this incorporated with this mod.

That mod already has a feature to view last post instead of first.

ArnyVee 06-07-2009 07:04 PM

Quote:

Originally Posted by IdanB (Post 1825143)
Not yet.
Do you have msn ?

I have MSN, AOL and Yahoo. When would you be available to chat?

IdanB 06-08-2009 03:41 AM

Quote:

Originally Posted by blind-eddie (Post 1825209)
On one of my sites, we use usergroup avatars & members can not change them. Would be nice if we had the option in the admincp/vbulletin options/Alternate Last Post Display to select from Profile pic or Avatar.

Thanks for the hack.

Will be added as feature on upcoming version or the next one.
Added to TO-DO's list.

IdanB 06-08-2009 03:42 AM

Quote:

Originally Posted by ArnyVee (Post 1825220)
I have MSN, AOL and Yahoo. When would you be available to chat?

I'll try to catch you online on the evenings (when i'm back from work), during next couple of days.

IdanB 06-08-2009 03:44 AM

Quote:

Originally Posted by dancue (Post 1825217)
How can I add the word "In" right before the thread title?

Mod has 2 plugins ending with "template change" - check them - thats the template.
There you can add/customize it to your own needs.

merk_aus 06-08-2009 07:28 AM

Wow, looks awesome thanks mate installed without any worries!

ArnyVee 06-08-2009 10:51 PM

Quote:

Originally Posted by IdanB (Post 1825440)
I'll try to catch you online on the evenings (when i'm back from work), during next couple of days.

I'm available now until later tonight Idan. :up:

Darkgardevoir 06-09-2009 04:12 AM

it works now, but it has a problem with https://vborg.vbsupport.ru/showthread.php?t=177946 can you fix it?

troll2 06-10-2009 12:46 PM

I installed the latest version of Article Forums which I also use. It looks like their handling of theadbit may have overwritten some of your code, as the Last Post avatar and title does not show anymore. I cannot confirm that this is the actual cause of the problem.

IdanB 06-10-2009 05:06 PM

On weekend i'll take a look with ArnyVee about the tabbed forum home mod compatibility.

In general i'll say about any other mod(s)-compatibility issues: i can try to take a look, but it really depands on how other mods were implanted. If they are also based on "template replace", i'm not sure it's possible to make all co-exists without doing some manual edits.

Also remember this mod is a re-work of template and not mere add of block into existing template.

IdanB 06-12-2009 01:00 PM

v1.1.4 is already underway, and several fixes were already made.

Current list of stuff already fixed/added:
  • New template - now the replaced template html located on master style template, so everyone can edit for his own needs.
  • bug fix: date/time string was missing proper support for "S" & "j" chars - now fixed & working.
  • admincp new features:
    1. set width/height of pictures shown.
    2. allow selection between avatar to profile picture.

Now working on solving the non-english chars bugs found by goxy63. Will do my best to find proper regexp there.

About Tabbed Forum Home modification conflict, i need your co-op as i dont have this modification installed myself. I've left ArnyVee pm about his msn, but got no reply yet.
At worst case, that fix will have to wait till next rev.

ArnyVee 06-12-2009 01:52 PM

I responded to your PM Idan. I'm on vacation, but I have my laptop with me so I might be able to log on later tonight or tomorrow night. :)

blind-eddie 06-12-2009 02:50 PM

Thanks IdanB

IdanB 06-12-2009 03:34 PM

v.1.1.4 uploaded & now online.
The mod conflicts (tabbed home) & Cyrillic/Latin possible missing chars support are not fixed yet. See changelog for complete changes made.

Hasann 06-12-2009 04:09 PM

How many queries ? in this version..

IdanB 06-12-2009 04:17 PM

Amount of queries should be the same as previous version(s).
The "profile pic" support is alternate query to the avatar picture query.
All the rest of features added are mere variable / admincp options / php code, that does not require any SQL queries or affect stability.
The new template added is cached, so shouldnt be any problem...


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.01574 seconds
  • Memory Usage 1,837KB
  • 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
  • (2)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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