The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Alternate Last Post Display Details »» | |||||||||||||||||||||||||||||||||||
Alternate Last Post Display By: Idan B. 1. Description & Usage: Alternate Last Post hack will allow the forum admin to make the "Last Post" column on forum look different (have another/better layout): Hack will make it with user avatar picture & instead of showing post date, it will show "time diff" since the post (for example: 4 Hours, 5 Minutes ago") - See pictures in attachment for better understanding. :up: This Hack can be enabled on both Forum Home & forum Display or Forum Display Only. The hack was develop for request of Theater (request was made here: https://vborg.vbsupport.ru/showthread.php?t=214212 ) I assumed this request might be "handy" to other users of community, so developed it to be a fully working modification. 2. Installation: Please click Mark as Installed. Installation is pretty easy - just download & install:
1. uninstall previous version 2. Download new version xml & install as instructed in previous section. 4. Configuration: Once installed, the "Vbulletin Options" under admincp will have extra section: Section name: "Alternate Last Post Display"
6. TO-DO's LIST (Next Versions):
NOTE: Currently supported format chars for date/time (v1.1.4) are : Date: "j","d", "m", "n", "F", "M", "Y", "y","S" Time: "h", "H", "g", "G", "i", "s", "a", "A". Any other chars will result with Post Time: N/A displayed ! NOTE: i've left v1.1.3 and added in addition the v1.1.4, just in case anyone has problem, he can download old version & rollback. Enjoy hack & dont forget to click Mark as Installed Download Now
Screenshots
Show Your Support
|
Comments |
#142
|
||||
|
||||
The avatars are showing on Forum home but not inside each individual forum. Any ideas? And yes I have it set to yes in the admin cp.
|
#143
|
||||
|
||||
This will be checked as soon as i can.
As mentioned in previous posts, i've been quite busy with other urgent projects, some are still underway. I will do my best to upload fix for it this weekend (14/8/809 night). |
#144
|
||||
|
||||
Quote:
Let me know if not so I can PM you what I found. Also I found another mod for user avatars on threadbit so it shows in all threads and plan to merge it with this one or splice etc. S-MAN |
#145
|
|||
|
|||
Marked as Installed. Very nice addition and improves the look considerably. Thanks IdanB!
One issue: Enable on Forum Display? - Yes/No (default YES) isn't working for me. I can't get it to show on Forum Display probably due to some template mods I've made, Forum Home is fine. Any tip on what to check to try to get it working on Forum Display? Thanks again. |
#146
|
||||
|
||||
Quote:
Few people offered to help use their board as debug platform for this bug, but due to different timezone i had trouble get online same time as other users that offered to help debug this one. If you can pm me everything you fixed & i'll continue work from there. Thanks. Idan. |
#147
|
||||
|
||||
Quote:
S-MAN |
#148
|
|||
|
|||
I store my avatars in a folder and not the database so I believe the problem is just the way the modification is coded. I'm still hoping for a fix soon for the Tabbed Forum Home mod!
|
#149
|
||||
|
||||
Quote:
S-MAN |
#150
|
||||
|
||||
Ok IdanB... in the actual xml I modified this part you'll see what I added...
Code:
// Code written by Idan Bismut (c) 2009 // Copy and/or re-use of this code (or part of it) without author approval in writing is forbidden if ( $vbulletin->options['alt_lp_global_enabled'] == 1) { if ( ( ($vbulletin->options['alt_lp_enable_on_forumhome'] == 1) && (THIS_SCRIPT == 'index') ) || ( ($vbulletin->options['alt_lp_enable_in_forumdisplay'] == 1) && (THIS_SCRIPT == 'forumdisplay') ) || ( ($vbulletin->options['alt_lp_enable_in_forumdisplay'] == 1) && (THIS_SCRIPT == 'tabforumhome') ) ) { Code:
<title>Forum Home - Template Change</title> <hookname>forumhome_start</hookname> <phpcode><![CDATA[// Alternate Last Post Display Modification // ---------------------------------------- // Code written by Idan Bismut (c) 2009 // Copy and/or re-use of this code (or part of it) without author approval in writing is forbidden if ( $vbulletin->options['alt_lp_global_enabled'] == 1) { if ( ($vbulletin->options['alt_lp_enable_on_forumhome'] == 1) && (THIS_SCRIPT == 'index') || ( ($vbulletin->options['alt_lp_enable_on_forumhome'] == 1) && (THIS_SCRIPT == 'tabforumhome') ) ) { // Fixed in v.1.1.4 - now all inside template, so user may update it as they please ! //$vbulletin->templatecache['forumhome_lastpostby'] = "<div align='left'><table width='100%'><tr><td align='left' width='40'>\$vbulletin->options['usefileavatar']</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>"; $vbulletin->templatecache['forumhome_lastpostby'] = $vbulletin->templatecache['forumhome_lastpostby_alternate_view']; //eval('$vbulletin->templatecache[\'forumhome_lastpostby\'] = "' . fetch_template('forumhome_lastpostby_alternate_view') . '";'); // Reload template so the first bit will be updated as well eval('$forum[\'lastpostinfo\'] = "' . fetch_template('forumhome_lastpostby') . '";'); } }]]></phpcode> </plugin> S-MAN Edit: See attached copy of XML that has been modified for my forum w/ this && this_script for Tabbed Forum Home. |
#151
|
||||
|
||||
Michael, you think it's safe for me to use your product for my site? I haven't been following this one too closely as of late, but noticed this post tonight :up:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|