Quote:
Originally Posted by odeezie
|
ok, i can't help with the first one because i don't have it (other than you'll have to transfer any template edits required for the usercp_shell template to the usercp_shell_icons template instead.
for the favorite smiles, take this icon attached, and upload it to the same folder as the rest of your cp icons (images/misc/usercp_icons/)
in your usercp_shell_icons template, find this text
Code:
<if condition="$show['profilepiclink']">
<tr><td class="$navclass[profilepic]" nowrap="nowrap">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20">
<img border="0" src="$stylevar[imgdir_misc]/usercp_icons/picture_edit.png" width="16" height="16"></td>
<td><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td>
</tr>
</table>
</td></tr>
</if>
after it, add this -
Code:
<!-- favorite smilies -->
<if condition="$vbulletin->options['favsmiliesactive'] AND ($permissions['favsmiliepermissions'] & $vbulletin->bf_ugp_favsmiliepermissions['canusefavsmilies'])">
<tr><td class="$navclass[customize]" nowrap="nowrap">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"><img border="0" src="$stylevar[imgdir_misc]/usercp_icons/favoritesmilies.gif" width="16" height="16"></td> <td><a class="smallfont" href="misc.php?$session[sessionurl]do=editfavsmilies">$vbphrase[edit_favorite_smilies]
</a></td>
</tr>
</table>
</td></tr>
</if>
<!-- / favorite smilies -->
if you have the fine template modification system hack installed, you may use the xml from my edits to do this automagically!
and on the question for using this with princeton's hack, no, you can't, but you CAN continue to use the dropdown cp menu with the product disabled as long as you keep the template edits that call the script for the dropdown in your navbar.
hope that helps!