User Control Panel Navigation > Icon, Link & Profile Hack
What does this one do?
Actually three things!
a) Replaces the '>'-text from the top navigation with an '>'-icon
b) This will make the words: 'User Control Panel' from the top navigation clickable
c) Displays which users control panel is viewed and made the username clickable (result = profile of that user)
Why did you make this?
Why not
Everytime I changed my profile, I wanted to see the result. I had to load the memberlist up again and search my username in it and click on it. Now when I saved my profile, I get swooped back to the Control Panel's home where I can directly click on it for result.
The Code
Walkthrough:
Uhm, when I click the other links in the Control Panel, the new icon doesn't show up! What is wrong?
This template hack is only for the 'My vB Home' -section!
version?
Tested with vBulletin 2.2.x and works like a charme.
The result
This is how it looks now, on my web site
What does this one do?
Actually three things!
a) Replaces the '>'-text from the top navigation with an '>'-icon
b) This will make the words: 'User Control Panel' from the top navigation clickable
c) Displays which users control panel is viewed and made the username clickable (result = profile of that user)
Why did you make this?
Why not
Everytime I changed my profile, I wanted to see the result. I had to load the memberlist up again and search my username in it and click on it. Now when I saved my profile, I get swooped back to the Control Panel's home where I can directly click on it for result.
The Code
Walkthrough:
- Goto the Admin Control Panel and login as an administrator
- From the left menu, browse down to the "Template"-section and select 'Modify'
- Click on 'Expand' and browse down to the "User Control Panel Templates" and click 'Expand' again
- Click on 'edit' from "usercp"
- Find:
Code:<!-- breadcrumb --> <table cellpadding="2" cellspacing="0" border="0" width="{[i][/i]contenttablewidth}" {[i][/i]tableinvisibleextra} align="center"> <tr> <td><img src="{[i][/i]imagesfolder}/vb_bullet.gif" align="middle" alt="vBulletin"> <normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> > User Control Panel For $bbuserinfo[username]</b></normalfont></td> <td align="right">$forumjump</td> </tr> </table> <!-- /breadcrumb -->
- And replace that with:
Code:<!-- breadcrumb --> <table cellpadding="2" cellspacing="0" border="0" width="{[i][/i]contenttablewidth}" {[i][/i]tableinvisibleextra} align="center"> <tr><td> <img src="{[i][/i]imagesfolder}/vb_bullet.gif" align="middle" alt="$bbtitle"> <normalfont><b> <a href="index.php?s=$session[sessionhash]">$bbtitle</a> <img src="images/nav.gif" align="middle"> <a href="usercp.php?s=$session[sessionhash]"> User Control Panel</a> &[i][/i]nbsp;&[i][/i]nbsp;&[i][/i]nbsp;&[i][/i]nbsp;&[i][/i]nbsp; User: <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$bbuserinfo[userid]"> $bbuserinfo[username]</a></b></normalfont></td> <td align="right">$forumjump</td></tr></table> <!-- /breadcrumb -->
- Click on 'Save' and go see if it worked!
Uhm, when I click the other links in the Control Panel, the new icon doesn't show up! What is wrong?
This template hack is only for the 'My vB Home' -section!
version?
Tested with vBulletin 2.2.x and works like a charme.
The result
This is how it looks now, on my web site
Comment