MyBB Community Forums

Full Version: Second Reply ad in post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Version: 1.0
MyBB Version: 1.4.x
Author: Dvdxseo
Screenshot: http://i45.tinypic.com/2myulc5.png & http://i49.tinypic.com/4qr702.png
Descrizione: This plugin will be the second post of each thread, to show an ad or text you want. You can also choose what groups you want to see the ad or text.
Demo: //
Instructions: Upload the "inc" folder to your forum root folder
Changelog: 21/02/2010 First release.
21/3/2010 Removed the limit of the star's number, Avatar and groupimage won't appear as broken if the setting is empty

WARNING: If you are using the classic postbit, make sure that the var {$post['sec_ads_post']} is at the end of the template "postbit_classic"

Hope you'll like this Toungue
thank you
i like this plugin
nice plugin,thanks.
excellent plugin, thanks! Wink
Thank you! Smile
Hey, thanks the Plugin is nice, but i am having a bit problem with the group image, the group image appear as broken(not loaded) in browser, i know why it is happening,i have checked the settings in general configuration, the group image box is blank, it want it that way only

i dont want to load avatar and group image, but if the avatar and group image textbox in general config page is left blank then the image appear as broken(not loaded)

do you have any solution for this, please help thanks in advance
(2010-03-20, 08:19 AM)netjockey Wrote: [ -> ]i dont want to load avatar and group image, but if the avatar and group image textbox in general config page is left blank then the image appear as broken(not loaded)

do you have any solution for this, please help thanks in advance

uninstall the plugins.
edit manually file inc/plugins/sap.php
remove this line

{$adsgroupimage}
{$adsavatar}

It will permanently remove the avatar and group image.
Your Bot GroupImage and Bot Avatar setting will ignored.
I completely remove this code Smile
<img src="{$theme['imgdir']}/buddy_online.gif">
<tr>
	<td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
	<td class="{$altbg}" style="vertical-align: middle;">
	</td>
</tr>
(2010-03-20, 08:19 AM)netjockey Wrote: [ -> ]Hey, thanks the Plugin is nice, but i am having a bit problem with the group image, the group image appear as broken(not loaded) in browser, i know why it is happening,i have checked the settings in general configuration, the group image box is blank, it want it that way only

i dont want to load avatar and group image, but if the avatar and group image textbox in general config page is left blank then the image appear as broken(not loaded)

do you have any solution for this, please help thanks in advance
Thank you I've released a new version that fixes this problem, thank you!
thanks a lots, you seem to be really fast, good work
1.8x?
Pages: 1 2