The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Currently using vBulletin 3.8.6 and I wish to replace the default gif buttons with text. Buttons like New Thread, Edit, Quote, Post Reply and so on. I am new to vBulletin but familiar with html and php. If you could just tell me the best procedure for doing this I can figure it out.
|
#2
|
|||
|
|||
![]()
I think you should just have to edit the corresponding templates. To find out what template something is in, you can turn on the "Add template Names in HTML Comments" option (In the admin control panel, go to vBulletin options -> general settings). Then you can view the HTML source of your page and look at the comments. Sometimes it's annoying because lots of templates are nested and going backwards you find "end of template" "begin template" "end of template" "begin template" etc lots of times, in that case it might be easier to scroll to the top and see what the "top level" template is and check that one first.
To edit a template, go to Styles and Templates -> Style Manager then pick "Edit Templates" from the dropdown next to the style you want to edit, then choose the template from the drop-down. The list is organized hierarchically so you may have to search around. Or you can use the "Search in Templates" function with "Search Titles Only" to find one quickly (of course you can also use "Search Titles Only = no" to search the contents of the templates). If you haven't seen it already, the manual is at http://www.vbulletin.com/docs/html/ (make sure to choose your version from the drop-down because it defauts to a 4.0 version). ETA: So that I don't mislead anyone in the future - you can change from images to text by editing the template for everything except "multiquote" - see this thread: https://vborg.vbsupport.ru/showthread.php?t=224978 |
#3
|
||||
|
||||
![]()
They are all text already, so I'm not sure what you mean. The only ones that have an image with them are the Edit/Quote ones in the thread, and those images are just in the CSS (look in the page source, find image name (edit_40b.png) and search in templates for it). So, just change the CSS to not include the images. But, I don't know what you mean about the New Thread and Reply to Thread buttons - those are already just text.
|
#4
|
|||
|
|||
![]()
He mentions New Thread, Edit, Quote, and Post Reply which are all images, at least in the style I'm using.
For example, a section of the SHOWTHREAD template is: Code:
<!-- controls below postbits --> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:$stylevar[margin_3px_fix]px"> <tr valign="top"> <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 /> <td class="smallfont"> </td> </if> and the part in red is the "Post Reply" button. (Unless I'm missing something). |
#5
|
||||
|
||||
![]()
Argh. Can I use the excuse of having answered this without coffee yet? I was thinking vB4, not vB3. Need.... more.... coffee.....
|
#6
|
|||
|
|||
![]()
Yeah, that's a good excuse.
![]() |
#7
|
||||
|
||||
![]()
Oh, and to the OP.... look in the Similar Threads for what you want.
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|