Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
Navbar At Bottom of Threads Details »»
Navbar At Bottom of Threads
Version: 1.00, by DontWannaName DontWannaName is offline
Developer Last Online: Oct 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 03-10-2009 Last Update: Never Installs: 12
Template Edits
Re-useable Code  
No support by the author.

Hello all,

I thought I would post this quick edit since it seems to work for me. This basically adds the navbar below the post button. I havent tested this a lot and cant guarantee it will work for everyone but its worth a shot.

1. Go to styles and templates > styles manager

On your current theme, go to the drop down menu on the right and scroll down to edit template.

2. On the left side there should be a single column that is a giant scrollbar. Scroll down to Show Thread Template and double click, then SHOWTHREAD should appear and double click that.

3. Now you should be in the editor area. Scroll down about 1/3, you are looking for
Code:
<!-- / controls below postbits -->
Above that should be a </table> tag.

4. After the table tag, add this code:
Code:
<tr>
        <td class="alt1">
            <!-- breadcrumb -->
            <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
            <tr>
                <td>
                    <table cellpadding="0" cellspacing="0" border="0" width="100%">
                    <tr valign="bottom">
                        <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
                    </tr>
                    </table>            
                </td>    
            </tr>
            </table>
            <!-- / breadcrumb -->
        </td>
</tr>
5. Click save and you should now see the navbar below the post reply icon.

If you would like it somewhere else, just play around with moving that code around in SHOWTHREAD. You can add it after post reply too by finding the post reply code and adding it after.

Im no coder so please dont expect much from me as far as support. I couldn't find anything like this exactly, all I saw was navbits that made a new table which were ugly. To see mine please visit my forums at http://topnotchclan.com/forums/index.php and click any of the available threads.

Also, if your navbar gets really long, I cant guarantee that it will look good still but it should just make another line.

Update 3/14/09 - Updated Code with valdet's

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
m7sen

Comments
  #2  
Old 03-11-2009, 03:42 AM
kawe kawe is offline
 
Join Date: Aug 2008
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can u give me a complete tutorial
i dont know what u mean sir
Reply With Quote
  #3  
Old 03-11-2009, 03:44 AM
DontWannaName DontWannaName is offline
 
Join Date: Feb 2009
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go into the admin panel, there is a tab on the left for styles and templates click that then click styles manager, then follow it from there.
Reply With Quote
  #4  
Old 03-11-2009, 04:19 AM
itsheinz itsheinz is offline
 
Join Date: Feb 2009
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

seems interesting^^how to add more links?
Installed,thanks for this...a lot... saves finger^^
Reply With Quote
  #5  
Old 03-11-2009, 04:44 AM
DontWannaName DontWannaName is offline
 
Join Date: Feb 2009
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add more links? You can add a link before like for a portal or to go back to the mainsite by editing more code. Im not quite sure if you want to edit this code or your navbit code though. Demo is my forums link.
Reply With Quote
  #6  
Old 03-11-2009, 07:54 AM
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm afraid your code is broken

<!-- BreadCrumbs -->
<td align="$stylevar[left]">
<div class="bcrumbs">
<td class="smallfont">
<a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><strong>$vboptions[bbtitle] Forum Index</a>$navbits[breadcrumb]</strong> </div>
<!-- / BreadCrumbs -->

You are not closing those two data cells, and you also need to add a separate class "bcrumbs" to your CSS as per your code.





Here is a cleaner looking code


Code:
<tr>
        <td class="alt1">
            <!-- breadcrumb -->
            <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
            <tr>
                <td>
                    <table cellpadding="0" cellspacing="0" border="0" width="100%">
                    <tr valign="bottom">
                        <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
                    </tr>
                    </table>            
                </td>    
            </tr>
            </table>
            <!-- / breadcrumb -->
        </td>
</tr>
Val.
Reply With Quote
  #7  
Old 03-11-2009, 04:02 PM
agitated agitated is offline
 
Join Date: Jan 2005
Location: U.K.
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works on 3.8.1 and is simple to install.
https://vborg.vbsupport.ru/showthread.php?t=125790
Reply With Quote
  #8  
Old 03-11-2009, 05:04 PM
Jasem's Avatar
Jasem Jasem is offline
 
Join Date: Feb 2006
Location: www.menokia.com
Posts: 594
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good work, thank you
Reply With Quote
  #9  
Old 03-11-2009, 07:51 PM
DontWannaName DontWannaName is offline
 
Join Date: Feb 2009
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I will try that, as I said, im no coder but I the code seemed to work fine.

That one adds a table and looks ugly compared to this edit. This adds just the navbits by itself below the post reply button.
Reply With Quote
  #10  
Old 03-11-2009, 08:09 PM
DontWannaName DontWannaName is offline
 
Join Date: Feb 2009
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok so your code seems to add more space between the post reply and the quick reply area whereas mine adds less space. Despite the difference in code such as the forum home link, they are pretty similar. I would want something that takes up the least space though if you know how to do that with your code. Maybe changing valign to top will make it higher?

Here are the 2 compared, different topics but same area.
Attached Images
File Type: jpg mycode.jpg (63.9 KB, 0 views)
File Type: jpg yourcode.jpg (65.7 KB, 0 views)
Reply With Quote
Reply

Thread Tools

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 06:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04291 seconds
  • Memory Usage 2,311KB
  • Queries Executed 24 (?)
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
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete