The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Change collapse/expand buttons to text
Hi,
although the title speaks for itself, I'll just elaborate my "problem" here. Back in the vB2 days, I could replace the button which was supposed to expand or collapse a category with text such as 'Collapse' and 'Expand'. However, I'm using the newest vB3.5.3 version and I can't seem to make it work with text. Does anyone here know how to replace the buttons with text and make it work at the same time? Thanks in advance, - Cle. |
#2
|
|||
|
|||
So there's no solution for this one?
|
#3
|
|||
|
|||
*bump*
|
#4
|
|||
|
|||
Still waiting..
|
#5
|
|||
|
|||
Ditto
|
#6
|
||||
|
||||
couldnt you just change the graphic and put text in it o.O
|
#7
|
||||
|
||||
You could, but it wouldn't change to reflect the category's status of either being collapsed or expanded. I'm trying to figure this out too, though.
|
#8
|
||||
|
||||
This will not make the text change when it is collapsed or expanded. I'm still working on that. For now, you could just use something like Collapse/Expand.
Alright, in the style you want it to appear in, you'll need to do a couple simple searches. There is no real simple way of doing this, but I'd imagine a hack would be pretty easy to create. Anyways, go to Styles & Templates -> Search in Templates, and search for: Code:
$stylevar[imgdir_button]/collapse_thead$vbcollapse Code:
<img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /> Now, the next section of editing is no tougher, but it will require substantially more time. Like before, go to Styles & Templates -> Search in Templates, but this time search for: Code:
$stylevar[imgdir_button]/collapse_tcat$vbcollapse Code:
<img id="collapseimg_editannc_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_editannc_options].gif" alt="" border="0" /> Hope this helps. |
#9
|
||||
|
||||
Yeah that's basically what I did, just said Show/Hide.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|