vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Link back to higher level (forum) in postbit (https://vborg.vbsupport.ru/showthread.php?t=100898)

stonyarc 11-15-2005 10:00 PM

Link back to higher level (forum) in postbit
 
Link back to higher level (forum) in postbit

Function

Avoid scrolling up to breadcrumb navigation in order to return to a level higher (forum).

This can be handy on long posts or larger threads.

Requested by

GrendelKhan{TSU

Installation

1. open postbit or postbit legacy template in the style manager.
2. look for

Code:

<div id="postmenu_$post[postid]">
Above add

Code:

<div class="smallfont" align="center"><a href="./forumdisplay.php?f=$forum[forumid]">$vbphrase[forum]</a></div>
3. save template and done

Variants

- You can add a different phrase or a custom image.
- You can modify the location within the postbit as you see fit.

stonyarc 11-15-2005 11:29 PM

Reserved

GrendelKhan{TSU 11-16-2005 06:09 AM

WOOHOO!!

THANK YOU!!
[high]* GrendelKhan{TSU runs to install. ;) :D
[/high]

easy goodness :)

GrendelKhan{TSU 11-16-2005 06:26 AM

ack! sorry to bug on this...

I'm trying to make it an how would I edit to code to use a custom button image....but I have to do so it knows what language to use. (ie different button for each language)

can you give me a hint as to how I might be able to do so (or is that not possible)?

eXtremeTim 11-16-2005 06:33 AM

Use a phrase and then set the image to something else for each language

GrendelKhan{TSU 11-16-2005 07:43 AM

Quote:

Originally Posted by eXtremeTim
Use a phrase and then set the image to something else for each language

yah...made the phrase....but do you mean setting the image to "something else"?

eXtremeTim 11-16-2005 08:23 AM

For each language set the image in the the phrase translation area.

GrendelKhan{TSU 11-16-2005 08:55 AM

Quote:

Originally Posted by eXtremeTim
For each language set the image in the the phrase translation area.

I'm sorry..I guess I'm still quite the n00b.

there is no image in my phrase. :/

I just made a phrase:
$vbphrase[uplevel],

but dont' use it for anything but the alt tag.

Quote:

<a href="./forumdisplay.php?f=$forum[forumid]"><img src="$stylevar[imgdir_misc]/uplevel.gif" alt="$vbphrase[uplevel]" border="0">
</a>
is there a better way I should have done that?

oh and I put it next to the QUICKREPLY button as well. so took out the div tag. or do I need the div tag for some reason? (cause right now its making an annoying little underline after the button image :devious: )

sorry for being n00b. :(

GrendelKhan{TSU 11-16-2005 09:13 AM

Quote:

oh and I put it next to the QUICKREPLY button as well. so took out the div tag. or do I need the div tag for some reason? (cause right now its making an annoying little underline after the button image :devious: )
anyone know why this little line keeps showing up??

I can't get rid of it and its one of the little things that REALLY REALY starts to annoy me. :devious: :devious: :mad: :surprised: :ermm:

see attached

(btw, "LIST" button is what I'm using as my "UP LEVEL" button for this hack)

Snake 11-16-2005 12:56 PM

Thanks!


All times are GMT. The time now is 10:19 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.02977 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete