PDA

View Full Version : best way to add options in the usercp


Coders Shack
12-28-2007, 02:13 AM
anyone? if you add custom fields i don't think you can link that to the product. Am i overlooking something?

Lynne
12-28-2007, 02:35 AM
I don't fully understand your question - what do you mean by "I don't think you can link that to the product?"

Coders Shack
12-28-2007, 02:37 AM
I don't fully understand your question - what do you mean by "I don't think you can link that to the product?"
in the install.
like phrases do.

I don't like to directly use SQL but it seems like its impossible to do it without using it.

Opserty
12-28-2007, 09:41 AM
EDIT: Actually you can just edit the template (USERCP_SHELL)

OR if you don't want to edit templates, then add a Plugin that uses the usercp_complete with the following PHP code:

$template_hook['usercp_navbar_bottom'] =
'<tr>
<td class="altX" nowrap="nowrap"><a class="smallfont" href="YOUR URL">YOUR LINK</a></td>
</tr>';

(You need to change altX to either alt1 or alt2 which ever matches)