The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Hi!
I want (like here) the avatar link in my User CP I added: <td bgcolor="$cpnav[3]"><smallfont><b><a href="member.php?s=$session[sessionhash]action=editavatar">Avatar</a></b></smallfont></td> in template: usercpnav but this doesn´t work! What do I have forget?? And when I continue the bgcolor="$cpnav[3]"> nr [3] then the last one [8] has not the right bgcolore anymore! Greetings StarBuG |
#2
|
||||
|
||||
Bump
|
#3
|
||||
|
||||
Common Folks!
Plz help me! That can´t be so hard to code! Greetings StarbuG |
#4
|
|||
|
|||
If you really added
<td bgcolor="$cpnav[3]"><smallfont><b><a href="member.php?s=$session[sessionhash]action=editavatar">Avatar</a></b></smallfont></td> then I think you're missing an &... It should be <td bgcolor="$cpnav[3]"><smallfont><b><a href="member.php?s=$session[sessionhash]&action=editavatar">Avatar</a></b></smallfont></td> Also the bgcolor doesn't work correctly here... When you click on "Avatar", "Options" is marked instead. Make sure to change all the numbers after the place you insert the new option to get the correct results. |
#5
|
||||
|
||||
OK! The Link works now! Argg I was stubid! hehe
But the color is still wrong and you are right options is marked! Here is the whole template (in german sorry!) PHP Code:
I added a screenshot! Greetings StarBuG |
#6
|
|||
|
|||
You also have to change the settings for $cpnav in the php files. I have attached a file with all the occourences of $cpnav to make your life easier.
|
#7
|
||||
|
||||
OK the colour problem is gone but it´s still options selected if I click on Avatar!
I have added in all files: $cpnav[8]="{secondaltcolor}"; Any suggestions? Greetings StarBuG |
#8
|
||||
|
||||
Bump!
Greetings StarBuG |
#9
|
||||
|
||||
<td bgcolor="$cpnav[3]"><smallfont><b><a href="member.php?s=$session[sessionhash]action=editavatar">Avatar</a></b></smallfont></td>
I also noticed you didnt add a & after the sessionhash, im not very sure but dont u have to add it? |
#10
|
||||
|
||||
The Link is not the Problem anymore! But if I select AVATAR then Options is marked!!
Greetings StarBuG |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|