ViewPosts -- View unanswered threads, threads you've started, you're own posts etc.
This modification is in the archives.
This is my first hack ever, I hope everything goes well. I called it ViewPosts.
Latest version: 1.0 What does it do?: It replaces the 'New Posts' button in the navigation bar with a popup menu (for those that have it enabled) containing extra functionality to search for threads or posts with one click of a button. What are these new functions?: - Your Posts -- This will return a list of all of your own posts, call it an ego search. - Unanswered Threads -- This will give you a list of all those threads that have 0 replies. Could be useful for support forums. - Threads you've started -- A list of threads you've created. Made a thread last night and it's all the way at page 6 at a fast moving forum? In that case, this would be really useful. Install Instructions: Installing is easy, it only takes a couple of template modifications and a few new phrases. There's also a file you need to upload in your forum root directory, it's called viewposts.php (attached). Template modifications: In template navbar find the first occurrence of: Code:
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td> Code:
<td id="viewposts" class="vbmenu_control"><a href="#viewposts">$vbphrase[view_posts_nav]</a> <script type="text/javascript"> vbmenu_register("viewposts"); </script></td> Code:
</if> <!-- / NAVBAR POPUP MENUS --> </if> Code:
<!-- view posts menu --> <div class="vbmenu_popup" id="viewposts_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead">$vbphrase[view_posts_nav]</td></tr> <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr> <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&userid=$bbuserinfo[userid]">$vbphrase[your_posts_nav]</a></td></tr> <tr><td class="vbmenu_option"><a href="viewposts.php?$session[sessionurl]do=getunanswered">$vbphrase[unanswered_posts_nav]</a></td></tr> <tr><td class="vbmenu_option"><a href="viewposts.php?$session[sessionurl]do=getownthreads">$vbphrase[own_threads_nav]</a></td></tr> </table> </div> Code:
<if condition="$action == 'getnew'">$vbphrase[new_posts_nav]<else />$vbphrase[posts_from_last_day]</if> Code:
<if condition="$action == 'getnew'"> $vbphrase[new_posts_nav] <else /> <if condition="$action == 'getunanswered'"> $vbphrase[unanswered_posts_nav] <else /> <if condition="$action == 'getownthreads'"> $vbphrase[own_threads_nav] <else /> $vbphrase[posts_from_last_day] </if> </if> </if> your_posts_nav: Your Posts view_posts_nav: View Posts unanswered_posts_nav: Unanswered Threads own_threads_nav: Threads you've started Works like a charm on 3.0.1, I think it'll work on 3.0.0 too but haven't tested this myself. Download This modification is archived and cannot be downloaded. Screenshots
|
Similar Mods
Show Thread Enhancements View threads started in postbit | vBulletin 3.6 Add-ons |
threads I started with new posts in navbar | vBulletin 3.5 Add-ons |
[Re-release v2.2.0] Combined threads started + percent of total posts, plus more | vBulletin 2.x Full Releases |