Quote:
Originally Posted by axi
yes that is the one!!
i'd appreciate it if you or someone can make me a code so the popup shows up in quicklinks instead of a seperate link popup in nav
|
That shouldn't be too much of a problem axi.
Login to your vBulletin Admin CP, click on the Style Manager and click Edit Templates on whichever style you want to edit. As always, with any template you are going to edit (if customized in any way either by you or a skin designer), save it in advance. Go to the template where your User CP is listed (for most, it's under Navigation/Breadcrumb Templates, then navbar) and from there look for a line like:
Code:
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
A line like this below should follow it.
Code:
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
I am on vB 3.64 with a lot of customizations, so that might not be exact, but looking for that phrase and checking to see if the link structure in the code is what is displayed for your quick links will give you an idea if you are are at the right place. And from there, below the top code, add this (or wherever you think it's best suited):
Code:
<tr><td class="thead">$vboptions[zointsprofile_title]</td></tr>
<tr><td class="vbmenu_option">
<a href="$vboptions[zointsprofile_zurl]?id=$bbuserinfo[userid]&g=home">$vbphrase[zointsprofile_my_homepage]</a>
</td></tr>
<tr><td class="vbmenu_option">
<a href="$vboptions[zointsprofile_zurl]?id=$bbuserinfo[userid]">$vbphrase[zointsprofile_my_profile]</a>
</td></tr>
<tr><td class="vbmenu_option">
<a href="$vboptions[zointsprofile_zurl]?id=$bbuserinfo[userid]&g=contacts">$vbphrase[zointsprofile_my_network]</a>
</td></tr>
<tr><td class="vbmenu_option">
<a href="$vboptions[zointsprofile_zurl]search.php">$vbphrase[search]</a>
</td></tr>
If this works for you, you likely do not want to have it appear elsewhere on the navbar. So again from your vBulletin Admin CP, go to vBulletin Options, Zoints Profile Options, and set Automatic Template Edits to NO. This means you will have to look at the readme file that comes with the vB product for Zoints Local to add back in what you need (such as postbit link.)
I hope this helps you out, again, make sure to save in advance so you can revert without worry. If you have troubles, open up a ticket at network.zoints.com with a temporary admin account with style permissions and I should be able to get it done (like I mentioned, it's hard to know all the style differences when listing code like this.)
- Reid