PDA

View Full Version : Show Thread Enhancements - Show Navbar (breadcrumbs) & Active Users together at bottom of thread


Lynne
01-30-2009, 10:00 PM
A simple mod to show a small navbits box and the Currently Active Users together in one box on the showthread page.

Version History:
1.0 2009-01-31: initial release by Lynne at vbulletin.org


INSTALLATION INSTRUCTIONS

1. Edit the template "SHOWTHREAD" and remove the following lines:

<if condition="$show['activeusers']">
<!-- currently active users -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
</tr>
</table>
<!-- end currently active users -->
</if> Save the template.

2. Go to your Admin CP > Plugins & Products > Manager Products > Add/Import Product > Upload the xml file lynne_navbar_users.xml

3. Stating the obvious, but you must have vboptions > Thread Display Options (showthread) > Show Users Browsing Threads set to something other than No in order to see the list of Currently Active Users Viewing This Thread
https://vborg.vbsupport.ru/external/2009/01/2.png


If the option "Automatically put box below last post" is set to Yes, the navbar_users box will be put bellow the last post (below the Moderation box). If you wish to put the box elsewhere, then set this option to No and edit the SHOWTHREAD template to add $navbar_users where you wish it to be. For instance, if you want it to be below the Tags, add it here:

$navbar_bottom
$ad_location[ad_showthread_beforeqr]https://vborg.vbsupport.ru/external/2009/01/3.png

UNINSTALL INSTRUCTIONS

To uninstall the product, simply select Uninstall next to the product in Admin CP > Plugins & Products > Manager Products. Then, add the above lines back into the SHOWTHREAD template right above the following template_hook:

$template_hook[showthread_after_activeusers]If that template hook doesn't exist, simply go to Edit the SHOWTHREAD template, click on View History > Compare and copy/paste the code from there back into the SHOWTHREAD template.

DontWannaName
03-10-2009, 08:21 PM
Ok, I installed this but it gets rid of my forum style image for the bar :( www.topnotchclan.com/forums and you can view any of the threads, there should be that bar where the navbar is. Im looking for something like this http://forums.alliedmods.net/, their showthread does a nice navbar on the bottom.

Lynne
03-10-2009, 08:47 PM
There are different mods like this that do similar things. Just search for "breadcrumbs".

DontWannaName
03-11-2009, 03:14 AM
I released my own edit that worked for me. I dont know much about vbulletin but im pretty sure it could help other people.

https://vborg.vbsupport.ru/showthread.php?t=207976