2010-03-19, 08:31 PM
2010-03-19, 08:32 PM
I think he means the top part with the URL doesn't take up enough space like other types. I think.
2010-03-19, 08:35 PM
Can you post a screenshot of your User CP so I can see what you mean
2010-03-19, 11:42 PM
2010-03-20, 08:11 AM
Version 1.3 released. Template changes automatic
2010-03-20, 09:24 AM
(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.
You could change
cellspacing="0" cellpadding="0"
to...cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}"
...so it matches the theme more accurately. 2010-03-20, 12:11 PM
Is there a giude to upgrading in the updated versions?
2010-03-20, 06:42 PM
No, ill write one.
EDIT: Added to first post
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
EDIT: Added to first post
(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.
You could changeto...cellspacing="0" cellpadding="0"
...so it matches the theme more accurately.cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}"
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
2010-03-20, 07:57 PM
Ooh, I'm liking this one. Fixed the "Userbar URL" thing on my board.
2010-03-20, 08:18 PM
(2010-03-20, 07:57 PM)Kazuto Wrote: [ -> ]Ooh, I'm liking this one. Fixed the "Userbar URL" thing on my board.
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)