The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
what is the error?
I add a boton to postbit with this code:
Code:
<if condition="$thread[forumid] == 45"> <a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]"><img src="$stylevar[imgdir_button]/votar2.gif" alt="$vbphrase[votar]" border="0" /></a> </if> Thats wrong? |
#2
|
||||
|
||||
I'd try removing: border="0" /
Doesn't look like you need it as you're making a button and not a table. |
#3
|
|||
|
|||
The error continues.
|
#4
|
||||
|
||||
$post[itrader_total]"
I didn't see this before. remove the " at the end. PHP Code:
|
#5
|
||||
|
||||
Quote:
PHP Code:
|
#6
|
|||
|
|||
Not appers only this:
0 |
#7
|
||||
|
||||
What is it that you are trying to do? Your code suggests you want to add a link that starts with a number - the "itrader_total" and then an image right next to it. If you don't want the number, then remove the $post[itrader_total] part from the code.
|
#8
|
|||
|
|||
I like to add a button in the postbit that it links to itrader`s profile of the user id, and i like that the button appears only in the forum which ID is 45.
|
#9
|
||||
|
||||
Then I think you want to do as my last post suggested and remove the $post[itrader_total] part:
PHP Code:
(You may have to play with the $thread[forumid] part. Sometimes you have to use $threadinfo[forumid] and sometimes you have to use $post[forumid] or $postinfo[forumid]. Sorry I can tell you exactly which one.) |
#10
|
||||
|
||||
Quote:
$post[itrader_total]"> with: $post[itrader_total] |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|