(2010-03-19, 06:58 AM)Kazuto Wrote: Question: Where in the plugin settings do you get to choose the information that displays on the bar? I tried it myself and it doesn't show the URL - just a slash.
Im going to add the ability to change the info on the bar soon. The URL is in Admin CP -> Configuration -> General Configuraiton -> Board URL
(2010-03-19, 06:58 AM)Kazuto Wrote: Also, in the screenshots above, where do you find the codes and stuff?
There is a file in the documentation folder call templatechanges.txt. Copy and paste all of the code in this file into the UserCP template before {$latest_warnings}. Like it says in the readme
(2010-03-18, 11:27 PM)AJS Wrote: (2010-03-18, 09:19 PM)tommykent1210 Wrote: Added v1.2 released
Could that be made to use a referal link rather the normal link?
Hope you understand what I mean.
So when people click on the image on a site it gives them your referral? Here, place this into the template instead of the templatechanges.txt code:
<table border="0" cellspacing="0" cellpadding="0" class="tborder2">
<tr>
<td class="thead" colspan="{$colspan}">
<div class="theadleft"></div>
<div class="theadright"></div>
<div class="theadmain"><strong>Userbar URL:</strong></div>
</td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1" width="40%"><strong>Here is your Userbar:</strong></td>
<td class="trow1" width="60%"><img src="{$mybb->settings['bburl']}/userbar.php?uid={$mybb->user['uid']}"</a></td>
</tr>
<tr>
<td class="trow1" width="40%"><strong>BBCODE:
<br></br>
This can be used on forums/bulletin boards (If it doesnt work try the HTML code below)</strong></td>
<td class="trow1" width="60%"><textarea name="bbcode" cols="60" rows="3" readonly="readonly" id="bbcode">[URL={$mybb->settings['bburl']}/index.php?referrer={$mybb->user['uid']}][IMG]{$mybb->settings['bburl']}/userbar.php?uid={$mybb->user['uid']}[/IMG][/URL]</textarea></td>
</tr>
<tr>
<td class="trow1" width="40%"><strong>HTML:
<br></br>
This can be used on websites that allow html (If it doesnt work try the BBCODE code above)</strong></td>
<td class="trow1" width="60%"><textarea name="bbcode" cols="60" rows="3" readonly="readonly" id="html"><a href="{$mybb->settings['bburl']}/index.php?referrer={$mybb->user['uid']}"><img src="{$mybb->settings['bburl']}/userbar.php?uid={$mybb->user['uid']}"/></a></textarea></td>
</tr>
</table>