Back to vBulletin 3.5 Add-ons

Last Shout on Header
Mod Version: 1.2, by Renmiri

This modification is in the archives.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 3
Released: 04 Aug 2006 Last Update: 12 Nov 2006 Downloads: 15
Not Supported Uses Plugins Template Edits  

I put a shoutbox on most of my pages, at the bottom of the page. Users complained it was hard to see if there were any new shouts so I hacked up this lil' plugin to display it

1 - Import my plugin thelastshout_v11.xml (no bbcode parsing) or thelastshout_v12.xml (bbcodes parsed)

2 - On Header template
Find
Code:
<!-- content table -->
$spacer_open
BELOW that, add this code
Code:
<table align="center" width="100%"><tr>
<td align="right" class="smallfont"><a href='vbshout.php?{$session['sessionurl_q']}do=archive'>Last Shout by: $GLOBALS[thelastshout]</a></td>
</tr></table>
3 - You can add $thelastshout to any other templates where you want the last shout to show but you must install this mod first.
PS: You might have problems with empty values on $thelastshout. If that happens just edit my plugin and change the "hook" from "global_start" to "parse_templates"

PS: This was done http://sinsdawn.ffproject.net/index.php with the latest vBShout for flatfile, but it should work with the regular vBShout.

PS: Parsing bbcodes might mess up your forum layout, as smilies and images will make the one line entry on header higher. If you use that version (thelastshout_v12.xml) I recommend installing it on navbar not on header template.

Download

This modification is archived and cannot be downloaded.

Screenshots

   


vblts.ru supports vBulletin®, 2022-2025