2010-01-10, 04:51 PM
Pages: 1 2
2010-01-10, 09:43 PM
Use an add manager plugin. It would be the best.
2010-01-11, 11:21 AM
I cant find a free one that works for adbrite ads.
2010-01-11, 08:33 PM
It wouldn't be hard to make it work with Adbrite.
2010-01-11, 08:36 PM
Could you help me find one or mod one?
2010-01-11, 08:41 PM
Go to mods.mybboard.net, and try adbrite, it may already work.
2010-01-12, 12:19 AM
You can use Template Conditionals plugin from Yumi.
http://community.mybboard.net/thread-31860-page-1.html
http://community.mybboard.net/thread-31860-page-1.html
2010-01-12, 01:34 AM
(2010-01-12, 12:19 AM)RateU Wrote: [ -> ]You can use Template Conditionals plugin from Yumi.What tags I have to add to remove the ad for the group?
http://community.mybboard.net/thread-31860-page-1.html
2010-01-12, 04:30 AM
<if $mybb->usergroup['cancp'] != 1>Whatever the ad is</if>
That will block it for admins.
That will block it for admins.
2010-01-12, 04:35 AM
I have installed the mod (http://community.mybboard.net/thread-31860-page-1.html) and add the code you posted (<if $mybb->usergroup['cancp'] != 1>Whatever the ad is</if>) but now my site do not load:
*Didn't work in both templates, custom and default.
Here is the full index.php code:
"Error in encoding content"
*Didn't work in both templates, custom and default.
Here is the full index.php code:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
<if $mybb->usergroup['cancp'] != 9>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tbody>
<tr>
<td class="trow2" align="center">
To remove the ads <a href="http://mysite.com/forum/subscribe.php" target="_blank">click here</a>.
<br />
<img src="http://mysite.com/forum/images/MyAds/vf3.png" />
</td>
</tr>
</tbody>
</table>
</if>
{$importantmsgs}
<!-- ASOI_3_I_T -->
{$forums}
{$boardstats}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong>Forum Status Legend</strong></div>
</td>
</tr>
<tr>
<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}/on.png" alt="{$lang->new_posts}" title="{$lang->new_posts}"/></td>
<td class="trow1" align="center" valign="middle"> <span class="smalltext">{$lang->new_posts}</span></td>
<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}/off.png" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}"/></td>
<td class="trow1" align="center" valign="middle"><span class="smalltext">{$lang->no_new_posts}</span><br /></td>
<td class="trow1" align="center" valign="middle"><img src="{$theme['imgdir']}/offlock.png" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" /></td>
<td class="trow1" align="center" valign="middle"><span class="smalltext">{$lang->forum_locked}</span><br /></td>
</tr>
</table>
<br>
{$footer}
</body>
</html>
Pages: 1 2