Log in

View Full Version : Link back to higher level (forum) in postbit


stonyarc
11-15-2005, 10:00 PM
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

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

Above add

<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!!
* GrendelKhan{TSU runs to install. ;) :D

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
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
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.

<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
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!

Lea Verou
11-16-2005, 01:05 PM
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.



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. :(

I think he meant to put the img tags inside the phrase (not in the template, via the phrase manager) so that it changes accordingly with each language ;)

eXtremeTim
11-16-2005, 07:07 PM
I think he meant to put the img tags inside the phrase (not in the template, via the phrase manager) so that it changes accordingly with each language ;)

Thank you lol. I was half asleep earlier trying to explain it.

Mastar
11-17-2005, 12:31 PM
I did the edit but I see no change.

I see, I add the site's link in the href" ".
But now the word 'forum' is locate right above the usernames in the posts.

Mastar
11-17-2005, 12:42 PM
How can I make this this as a button located next to the quick reply button... I am a newbie, so please instruct me by steps. Thanks in Advance!

Bad Bunny
01-11-2006, 03:13 AM
$forum[title] in place of the phrase will place the name of the forum, instead of the static word "forum".

Thanks.

stonyarc
04-17-2006, 11:38 AM
Anybody still using this ?:D

GrendelKhan{TSU
04-17-2006, 01:11 PM
Anybody still using this ?:D

I am! :D

its a MUST for Korean users. They are used to having it. :)

though I never really figured out how to get it to use different button for different language (ie: use different button image depending on language selected). :(

me very n00bified. :(

jwashburn
05-01-2006, 06:38 PM
I have this set up but my link is wrong
http://www.mydomain.com/forum/forumdisplay.php?f=

It seems to be dropping the rest of the information. Any ideas?

Danny Diamond
05-01-2006, 08:02 PM
installed thanks.