Quote:
Originally Posted by Smiry Kin's
need to make your self a little clear'er as to what your requesting.. why would you want to edit profile pic/profile etc?..
to edit profile you would have to edit memberinfo template..
|
I think he was asking about adding links to edit profile pic, etc., however they are already in there, so I am a bit confused:
However, if you have certain links you want to add in there, you can add them easily.
Go to your
Admin Control Panel -> Styles & Templates -> Edit Templates -> and click on the
<< >> button to expand your view of all of the templates. Highlight "
GTPM_USERCP_SHELL" and click on the "
Customize" button, and you will see the code in there.
Princeton has divided up all of the areas of the menu so you can easily find where the links and options are located. For example, if you want to add a new link in the "Miscellaneous" section, you would look for
<!--misc--> in that template. All of the code in between the
<!--misc--> and
<!--/misc--> are the links that are listed. If you want to add a link, make sure it goes between other <tr> and </tr> (and be sure to avoid the <if> and </if> also.
For example, if you wanted to add a link for some reason between "Group Membership" and "Buddy/Ignore List" you would look for this code:
Quote:
<if condition="$show['publicgroups']">
<tr>
<td class="$navclass[usergroups]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editusergroups">$vbphrase[group_memberships]</a></td>
</tr>
</if>
<tr>
<td class="$navclass[buddylist]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editlist">$vbphrase[buddy_ignore_lists]</a></td>
</tr>
|
and change it to this:
Quote:
<if condition="$show['publicgroups']">
<tr>
<td class="$navclass[usergroups]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editusergroups">$vbphrase[group_memberships]</a></td>
</tr>
</if>
<tr>
<td nowrap="nowrap"><a class="smallfont" href="ADD_YOUR_LINK_IN_HERE">LINK TEXT HERE</a></td>
</tr>
<tr>
<td class="$navclass[buddylist]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editlist">$vbphrase[buddy_ignore_lists]</a></td>
</tr>
|
(note - new code is highlited in red - put your link in place of
ADD_YOUR_LINK_IN_HERE and your link text in place of
LINK TEXT HERE)
Just look at the code that is listed, and you will figure it out. It's all fairly logical if you just read it, and follow the examples that are given in the template itself.