Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-11-2011, 04:23 AM
Easy5s.net Easy5s.net is offline
 
Join Date: Jun 2011
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to display the prefix on the navbar

How to display the prefix on the navbar
Like vborg, how to choose the navbar can sort and display by prefix. With default it is not.

Example:


thank's
Attached Images
File Type: png vborg_nav.png (16.1 KB, 0 views)
Reply With Quote
  #2  
Old 06-12-2011, 03:45 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cannot see the picture here from work but do you mean the tabs at the top?, you could right click and view source or use the mod found here at vb.org called easy tbas in forum home i think, if you hover the tabs you will see the url in your browser status bar to a designated forum which then houses sub forums, all these little mods and tricks can be forund here at .org
Reply With Quote
  #3  
Old 06-13-2011, 06:16 AM
Easy5s.net Easy5s.net is offline
 
Join Date: Jun 2011
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have updated the picture, I mean when filtering by prefixid thread, it still works as normal but does not appear in the navbar prefixid
Reply With Quote
  #4  
Old 06-13-2011, 06:27 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats not the prefix, thats the current forum or thread that you are viewing, it's a native part of vb.
Reply With Quote
  #5  
Old 06-13-2011, 08:15 AM
Easy5s.net Easy5s.net is offline
 
Join Date: Jun 2011
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can view video
Code:
http://www.youtube.com/watch?v=1CLks0lkJZo
Reply With Quote
  #6  
Old 06-13-2011, 08:36 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When on that page simply right click>view source and you probably want this
HTML Code:
<form action="forumdisplay.php" method="get">
 <input type="hidden" name="s" value="" />
	<input type="hidden" name="securitytoken" value="058acee317d1ba55f3aff2a3234b7112c0b0f465" />
 <input type="hidden" name="f" value="245" />
 <input type="hidden" name="page" value="1" />
 <input type="hidden" name="pp" value="25" />
 <table class="tborder" cellpadding="4" cellspacing="1" border="0" width="100%" align="center" style="border-bottom-width:0px"> 
  <tr>
   <td class="tcat"><span class="smallfont">
    Showing 1 to 25 of 1170
    </span></td>
  </tr>
  <tr>
   <td class="alt1" align="center">
     	<select name="threadprefix">
		<option value="">All Prefixes</option>
		<option value="">--------------------</option>
		<option value="Mini Mods" >Mini Mods</option>
		<option value="Add-On Releases" >Add-On Releases</option>
		<option value="End-User Options" >End-User Options</option>
		<option value="Forum Home Enhancements" >Forum Home Enhancements</option>
		<option value="Forum Display Enhancements" >Forum Display Enhancements</option>
		<option value="Show Thread Enhancements" >Show Thread Enhancements</option>
		<option value="Profile Enhancements" >Profile Enhancements</option>
		<option value="Private Messages Enhancements" >Private Messages Enhancements</option>
		<option value="Social Group and Album Enhancements" >Social Group and Album Enhancements</option>
		<option value="Calendar Enhancements" >Calendar Enhancements</option>
		<option value="Administrative and Maintenance Tools" >Administrative and Maintenance Tools</option>
		<option value="Major Additions" >Major Additions</option>
		<option value="Miscellaneous Hacks" >Miscellaneous Hacks</option>
		<option value="Moderators Functions" >Moderators Functions</option>
		<option value="New Posting Features" >New Posting Features</option>
		<option value="Integration with vBulletin" >Integration with vBulletin</option>
		<option value="Board Optimization" >Board Optimization</option>
		<option value="Chat Modifications" >Chat Modifications</option>
		<option value="Statistics Modifications" >Statistics Modifications</option>
		<option value="Portal Software" >Portal Software</option>
		<option value="BB Code Enhancements" >BB Code Enhancements</option>
		<option value="vBulletin Blog" >vBulletin Blog</option>
		<option value="vBulletin CMS Grid" >vBulletin CMS Grid</option>
		<option value="vBulletin CMS Widgets" >vBulletin CMS Widgets</option>
		<option value="vBulletin Forum Sideblocks" >vBulletin Forum Sideblocks</option>
		<option value="vBulletin Sphinx" >vBulletin Sphinx</option>
		<option value="vBulletin Project Tools" >vBulletin Project Tools</option>
	</select> 
    <select name="sort">
     <optgroup label="Sorted By">
     <option value="title" >Thread Title</option>
     <option value="lastpost" selected="selected">Last Post Time</option>
     <option value="dateline" >Thread Start Time</option>
     <option value="replycount" >Number of Replies</option>
     <option value="views" >Number of Views</option>
     <option value="postusername" >Developer</option>
     
      <option value="voteavg" >Thread Rating</option>
     
     </optgroup>
    </select>
    <select name="order">
     <optgroup label="Sort Order">
     <option value="asc" >Ascending</option>
     <option value="desc" selected="selected">Descending</option>
     </optgroup>
    </select>
    <select name="daysprune">
     <optgroup label="From The">
     <option value="1" >Last Day</option>
     <option value="2" >Last 2 Days</option>
     <option value="7" >Last Week</option>
     <option value="10" >Last 10 Days</option>
     <option value="14" >Last 2 Weeks</option>
     <option value="30" >Last Month</option>
     <option value="45" >Last 45 Days</option>
     <option value="60" >Last 2 Months</option>
     <option value="75" >Last 75 Days</option>
     <option value="100" >Last 100 Days</option>
     <option value="365" >Last Year</option>
     <option value="-1" selected="selected">Beginning</option>
     </optgroup>
    </select>
    <input type="submit" class="button" value="Show Mods" />
   </td>
  </tr>
 </table>
</form>
Reply With Quote
  #7  
Old 06-13-2011, 10:08 AM
Easy5s.net Easy5s.net is offline
 
Join Date: Jun 2011
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, you do not understand what I was going, when selecting the prefix and click "show mod" prefix his name shall be selected and displayed on the navbar. Carefully you can see the video again I have to mouse over

(the prefix, then I created in admincp)
Attached Images
File Type: png vborg_nav.png (24.2 KB, 0 views)
File Type: png vBulletin 3.8 Add-ons - vBulletin.org Forum_1307963716662.png (52.0 KB, 0 views)
Reply With Quote
  #8  
Old 06-13-2011, 10:57 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right i see what you mean, well i haven't tried to replicate it but it's done by this portion of code (you can find the code using the method i said above)
HTML Code:
<!-- breadcrumb -->
<form action="search.php" method="post">
  <input type="hidden" name="do" value="process" />
  <input type="hidden" name="showposts" value="0" />
  <input type="hidden" name="childforums" value="1" />
  <input type="hidden" name="s" value="" />
	<input type="hidden" name="securitytoken" value="058acee317d1ba55f3aff2a3234b7112c0b0f465" />
  <table class="navheader" cellpadding="10" cellspacing="0" border="0" width="100%" align="center">
    <tr>
	<td width="100%">
		
			<table cellpadding="0" cellspacing="0" border="0">
			<tr valign="bottom">
				<td align="left"><a href="#" onclick="history.back(1); return false;"><img src="images/misc/navbits_start.gif" alt="Go Back" border="0" /></a></td>
				<td>&nbsp;</td>
				<td align="left" width="100%"><span class="navbar"><a href="index.php" accesskey="1">vBulletin.org Forum</a></span> 
	<span class="navbar">/ <a href="forumdisplay.php?f=198">vBulletin Modifications</a></span>

	<span class="navbar">/ <a href="forumdisplay.php?f=244">vBulletin 4.x Modifications</a></span>

	<span class="navbar">/ <a href="forumdisplay.php?f=245">vBulletin 4.x Add-ons</a></span>
</td>
			</tr>
			<tr>
				<td class="navbar" align="left" style="font-size:10pt; padding-top:1px" colspan="3"><a href="/forum/forumdisplay.php?s=&amp;securitytoken=058acee317d1ba55f3aff2a3234b7112c0b0f465&amp;f=245&amp;page=1&amp;pp=25&amp;threadprefix=Add-On+Releases&amp;sort=lastpost&amp;order=desc&amp;daysprune=-1"><img class="inlineimg" src="images/misc/navbits_finallink_ltr.gif" alt="Reload this Page" border="0" /></a> <h2>
	Add-On Releases
</h2></td>
			</tr>
			</table>			
			
      </td>
      <td align="left" valign="middle">
        <div style="white-space:nowrap">
          
          <input type="text" class="bginput" name="query" size="15" /> <select name="forumchoice[]">
            <option value="-1" selected="selected">All Forums</option>
            <option value="198">All Mods</option>
            <option value="244">4.x Mods</option>
            <option value="234">3.8 Mods</option>
            <option value="227">3.7 Mods</option>
            <option value="191">3.6 Mods</option>
            <option value="109">3.5 Mods</option>
            <option value="184">Articles</option>
            <option value="212">Styles</option>
            <option value="213">Graphics</option>
          </select> <select name="titleonly">
		<option value="0" selected="selected">All Posts</option>
		<option value="1" >Titles Only</option>
	</select> <input name="search" value="Search" type="submit" class="bginput" />
           <a href="search.php" accesskey="4" rel="nofollow" id="navbar_search" class=""><img src="images/cstyle/menu_open.gif" alt="" title="Advanced Search" width="10" height="5" border="0" class="inlineimg" /></a>
            <script type="text/javascript"> vbmenu_register("navbar_search",1); </script>
            
          
        </div>
        
      </td>
    </tr>
  </table>
</form>
<!-- / breadcrumb -->
As you can see it shows the security token but that doesn't help you, you'll need to work that bit out for yourself based on how your site works for the navbar.
Reply With Quote
  #9  
Old 06-13-2011, 11:17 AM
Easy5s.net Easy5s.net is offline
 
Join Date: Jun 2011
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry I do not know how to present it so that you understand, but this is not just html and paste it in the navbar for each click sort by prefix, it will prefix the name of their choice on the navbar.

sorry, my bad english
Reply With Quote
  #10  
Old 06-13-2011, 12:21 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you tell me, do you already have the ability to to select your items by prefix?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:05 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.10650 seconds
  • Memory Usage 2,324KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete