The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I'd like to add this button to my VB installation.
The image is a temporary one, but this button would save me a lot of time. ![]() BB code not working?? I'd just like it to hyperlink back to the top of the page. Thanks. |
#2
|
||||
|
||||
![]()
You need to edit a template
Template: SHOWTHREAD Look for... Code:
<if condition="$show['largereplybutton']"> <td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td> <else /> Replace it with (or add the code in red)... Code:
<if condition="$show['largereplybutton']"> <td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&noquote=1&p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a> <a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a></td> <else /> |
#3
|
||||
|
||||
![]()
You have my eternal gratitude Tiger... Thanks!
Problem, I just used dreamweaver to scan for the selected text, "none found in document? The image will be top.gif My members love it, the forum is never the same twice ![]() I keep fiddling with the CSS and whatnot, want to learn all I can. ![]() |
#4
|
||||
|
||||
![]()
It's not in a PHP file. It's in a template in the database.
Go to your AdminCP > Styles and Templates > Style Name > Edit Templates > SHOWTHREAD |
#5
|
||||
|
||||
![]()
Thats what I tried, I'd never fiddle with the PHP files
![]() I'll look around some more, grab some screen shots of what I'm doing. Appreciate the patience, Be assured though, once I learn, I never have to ask again. Dangerous photographic memory.... |
#6
|
||||
|
||||
![]()
Do you know the style that you're using? Because if you can't find that code it's probably customized a certain way, and they may not be using the same code that I gave you.
|
#7
|
||||
|
||||
![]()
I have modified "default" to suit my needs.
I just replaced the gradient gifs and tweaked the css, otherwise it is default. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|