Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2009, 05:14 AM
Gerald_D Gerald_D is offline
 
Join Date: Apr 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Can a Navbar be placed at bottom of thread?

Hi All

This is the bottom of the thread:

Attachment 102199

How can the Tags box be replaced with this part of the upper navbar:

Attachment 102201

Thanks

Gerald
Reply With Quote
  #2  
Old 07-19-2009, 06:02 AM
mme42 mme42 is offline
 
Join Date: Feb 2009
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To move the entire navbar (which would include the breadcrumb and login parts) you could just change the position of "$navbar" in the "showthread" template.

But to only move the navbar buttons part of it that you displayed in the pic, you'd have to do it a bit differently such as grabbing that part of code from the navbar template and placing it where you want it. Then you'd have to replace $navbar (again in the showthread template) with the code for the breadcrumb and login part of the navbar template so that it still shows at the top (but without showing the navbar buttons part twice).

That would be one way at least. I'm not sure if I'd want it laid out like that though. But, that's up to you.
Reply With Quote
  #3  
Old 07-19-2009, 08:57 AM
Gerald_D Gerald_D is offline
 
Join Date: Apr 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did not mean that the navbar be moved - I only want that part copied.
Reply With Quote
  #4  
Old 07-19-2009, 10:10 AM
mme42 mme42 is offline
 
Join Date: Feb 2009
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want the navbar buttons to display at the top and the bottom, but only want the breadcrumb and login parts to display at the top then you could go into the navbar template and grab the code just for the navbar buttons and copy it to the bottom of the showthread template where you want it.

And, just forget the part I mentioned about replacing $navbar in the 'showthread' with the breadcrumb and login part. The top navbar/breadcrumb/login would then display as normal, but you'd have the buttons on the bottom as well.

You'd be looking for the part in the navbar template from:

Code:
<!-- / nav buttons bar -->

to:

Code:
<!-- / PAGENAV POPUP -->
</if>

And, you'd want to paste that into the 'showthread' template wherever you'd like the bar to display. I find it helpful to keep an unedited copy of the template along with a working copy so you can just paste them in really quick while testing.
Reply With Quote
  #5  
Old 07-19-2009, 03:14 PM
Gerald_D Gerald_D is offline
 
Join Date: Apr 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mme42 View Post
. . . you'd want to paste that into the 'showthread' template wherever you'd like the bar to display. . . . .
Could you help me with this bit too please? My first attempt had no effect. . . .

<!-- / social bookmarking links -->
</if>
INSERTED HERE in SHOWTHREAD
<if condition="$show['tag_box']">
<!-- thread tags -->
Reply With Quote
  #6  
Old 07-19-2009, 04:58 PM
James Birkett James Birkett is offline
 
Join Date: Jun 2009
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That looks good to me. That should appear above the tags bar.
Reply With Quote
  #7  
Old 07-19-2009, 05:07 PM
Gerald_D Gerald_D is offline
 
Join Date: Apr 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As, I said, I tried that, but nothing appeared on the page.
Reply With Quote
  #8  
Old 07-19-2009, 09:45 PM
James Birkett James Birkett is offline
 
Join Date: Jun 2009
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

May I ask what code it is you pasted?
Reply With Quote
  #9  
Old 07-19-2009, 09:50 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you want to display the navbar at the bottom of the page globally, as in on all the pages? or just on the showthread page?

either way it would be very easy to do, if you could post your navbar template code here in the [code] tags, and if it is just on the showthread page you want it to show, could you also post your showthread template in the [code] tags
Reply With Quote
  #10  
Old 07-20-2009, 01:44 AM
Gerald_D Gerald_D is offline
 
Join Date: Apr 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used the code from navbar, as per post #4 above:

<!-- / nav buttons bar -->
.
.
.
.
.

<!-- / PAGENAV POPUP -->
</if>

--------------- Added [DATE]1248067959[/DATE] at [TIME]1248067959[/TIME] ---------------

Fixed it.

Needed the bit from:

<!-- nav buttons bar -->

to:


<!-- / nav buttons bar -->
Reply With Quote
Reply


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 11:50 AM.


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.04548 seconds
  • Memory Usage 2,268KB
  • Queries Executed 14 (?)
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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete