MyBB Community Forums

Full Version: Forum Userbar Plugin v3.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
What do you mean?
I think he means the top part with the URL doesn't take up enough space like other types. I think.
Can you post a screenshot of your User CP so I can see what you mean Smile
Nice....
[Image: userbar.php?uid=1]
Version 1.3 released. Template changes automatic Smile
(2010-03-19, 07:27 AM)tommykent1210 Wrote: [ -> ]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>

Many thanks. Smile

You could change
cellspacing="0" cellpadding="0"
to...
cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}"
...so it matches the theme more accurately. Smile
Is there a giude to upgrading in the updated versions?
No, ill write one. Smile

EDIT: Added to first post Big Grin
(2010-03-20, 09:24 AM)AJS Wrote: [ -> ]
(2010-03-19, 07:27 AM)tommykent1210 Wrote: [ -> ]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>

Many thanks. Smile

You could change
cellspacing="0" cellpadding="0"
to...
cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}"
...so it matches the theme more accurately. Smile

The referral option is next to be added in 1.4

The tmeplate changes have been updated (1.3 r1 released)
Referral link choice added, Released v1.4
Ooh, I'm liking this one. Fixed the "Userbar URL" thing on my board. Big Grin
(2010-03-20, 07:57 PM)Kazuto Wrote: [ -> ]Ooh, I'm liking this one. Fixed the "Userbar URL" thing on my board. Big Grin

Good, Im trying to add as many features as possible. What do you guys want next?
ok, v1.4 r1 released
(fixed a minor template bug)
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15