The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
set specific forum have different button
as title....
for example like here the full release forum ahve different buttons like--install button ect..... how to do that?? |
#2
|
||||
|
||||
no-hack solution: Create a new style and apply this style to that forum. In that style design your pages in anyway you like.
But if it's only one button you'll change you may regard considering the "hack solution" which is: put a variable in the template where your button is like $my_button_variable. Then in the .php file where it calls it, put a line to assign the value to that variable like: if ($forumid==X) {$my_button_variable='<img scr.........>';} else {$my_button_variable='<img scr.........>';} (if ($forumid==X) part may change according to the file you apply this code.) |
#3
|
||||
|
||||
Quote:
if i want to do "hack solution" which php file should i edit?? showthread or ?? |
#4
|
||||
|
||||
depends on the location where you want to insert your button. If it's a button like vb.org's INSTALL button which shows up in thread views, yes it's showthread.php that you should edit.
|
#5
|
||||
|
||||
Great!
I was looking for this Satan |
#6
|
||||
|
||||
Quote:
but where should i put this code?? and about the variable how do i replace it in showthread template?? replace <img src={XXXXX}......> to the variable(EX:$my_button_variable) is it right? |
#7
|
||||
|
||||
put before
PHP Code:
|
#8
|
||||
|
||||
Logician i put the code :PS:there have sapce !!
PHP Code:
PHP Code:
PHP Code:
PHP Code:
whats wrong with my code? |
#9
|
||||
|
||||
1- do not use { image folder}, enter full path
2- Replace X with your forumid. |
#10
|
||||
|
||||
Quote:
is it right??i test it on my localhost!! 2.i already replace my forumid!! and Logician the problem still exist!! i think maybe my first step wrong.........so what is the problem? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|