News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Ad Management mod

Started by SMFHacks.com Team, January 30, 2006, 08:41:19 PM

Previous topic - Next topic

chelseaphil

I have been using this mod for a few years and it is great.  But now I am running out of banner space.  Is there anyway that an additional banner can be added alongside the existing ones. arboleas.co.uk/forum to see what I have now.  Any help appreciated. Phil

luuuciano

well, it looks like you have place for two banners in each row... just add some css styles to float them, one left, one rigth

btw... your members do not get annoyed by so many banners? its amazing... you will have more banners than real content
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

fullmoonya

sir vbgamer, im having a problem in displaying ads in the boards. it seems that it does not do anything. in other parts too it doesn't do a thing. i tried to fix it but cant find the root of problem in the board. does it have a problem in the mod that i installed? because i installed the mod named started by column in my forum.
do not mark my topic solve unless it is REALLY SOLVED.
my forum

Visit My Blog:
Google SEO Share

vbgamer45

If you are using a custom theme make sure the mod is installed on that custom theme as well.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

fullmoonya

Quote from: vbgamer45 on January 14, 2012, 10:50:36 PM
If you are using a custom theme make sure the mod is installed on that custom theme as well.
i'm using default theme of smf 2.0.2. some parts are working fine. but the other parts seems to not showing the ads.
do not mark my topic solve unless it is REALLY SOLVED.
my forum

Visit My Blog:
Google SEO Share

chelseaphil

Quote from: luuuciano on January 14, 2012, 11:27:50 AM
well, it looks like you have place for two banners in each row... just add some css styles to float them, one left, one rigth

btw... your members do not get annoyed by so many banners? its amazing... you will have more banners than real content


Not sure how to do that. CSS is not my thing. As to number of banners, yeah there are a few. But when we keep getting local businesses asking to have a banner it is hard to say no. But we have just about reached the limit.

luuuciano

You may try DFP https://www.google.com/dfp/
And think a shared place/s for banner... they will rotate over there, and located on the same positions at your % needed to be, etc... more equality on them then
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

rootuid

Hi,
I get the following. Why is it failing for "Install in Other Themes". I have two themes, core and default.  Thanks.




Install Mod
Please remember to always make regular backups of your sources and database before installing mods, especially beta versions.
Installations actions for "Ad Managment"
Installing this package will perform the following actions:
      Type    Action    Description
   1.    Execute Code    install.php    
*    2.    Execute Modification    ./index.php    Test successful
*    3.    Execute Modification    ./Sources/Admin.php    Test successful
*    4.    Execute Modification    ./Sources/QueryString.php    Test successful
*    5.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test successful
*    6.    Execute Modification    ./Themes/default/Display.template.php    Test successful
*    7.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test successful
*    8.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
   9.    Extract File    ./Sources/Ads.php    
   10.    Extract File    ./Sources/LoadAds.php    
   11.    Extract File    ./Themes/default/Ads.template.php    
   12.    Extract File    ./Themes/default/languages/Ads.english.php    
   13.    Extract File    ./Themes/default/languages/Ads.english-utf8.php    

Install in Other Themes
To use this modification in themes other than the default, the package manager needs to make additional changes to the other themes. If you'd like to install this modification in the other themes, please select these themes below.
      Core Theme
      Execute Modification    ./Themes/core/BoardIndex.template.php    Test failed
      1.    Add Before    ./Themes/core/BoardIndex.template.php    Test successful
      2.    Add After    ./Themes/core/BoardIndex.template.php    Test failed
      Execute Modification    ./Themes/core/Display.template.php    Test failed
      1.    Add After    ./Themes/core/Display.template.php    Test successful
      2.    Replace    ./Themes/core/Display.template.php    Test successful
      3.    Replace    ./Themes/core/Display.template.php    Test failed
      Execute Modification    ./Themes/core/MessageIndex.template.php    Test failed
      1.    Add After    ./Themes/core/MessageIndex.template.php    Test successful
      2.    Replace    ./Themes/core/MessageIndex.template.php    Test failed

vbgamer45

The mod only supports the default theme. For other themes they have to be manually installed on them to work correctly.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

BaghdadGhost

Quote from: BaghdadGhost on December 31, 2011, 05:11:18 PM
my problem is related to ads managements mod installing on custom theme with simple portal. here is the problem.


if you parse the mod the second changes to boardindex.template.php is


<tbody class="divider">
<tr>
<td colspan="4"></td>
</tr>
</tbody>';



add after



echo '<tbody><tr><td colspan="4">';
//Display ads Between cats
if (function_exists("show_category"))
{
$ads = show_category($category['id']);
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
echo ' </td></tr></tbody>';



at the time of installing ads mod I was not able to locate the find, therefore I predicted and compared boardindex custom with default boardindex

attached is my boardindex.template file. please take a look at it and see where the above code should be.

for more info about the problem and its effect to SP please visit

http://www.simplemachines.org/community/index.php?topic=227599.msg3236889#msg3236889


thanks

vb,

I did all changes except this one I need you help with.

thanks

rootuid

Quote from: vbgamer45 on January 15, 2012, 07:09:59 PM
The mod only supports the default theme. For other themes they have to be manually installed on them to work correctly.
Thanks for your reply.
MY Overall forum default: SMF DEFAULT CURVE
I have two other themes installed. If I remove the other themes I shouldn't get this warning right ?

rootuid

I removed the other themes and everything works fine. Thanks.

vbgamer45

Glad you have it working.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

fullmoonya

mine is still not showing ads in some part of my forum. i install again my smf2.0.1 and updated to 2.0.2. i didnt install other theme there. what seems to be the problem? :/
do not mark my topic solve unless it is REALLY SOLVED.
my forum

Visit My Blog:
Google SEO Share

vbgamer45

Default theme?
Do you give each membergroup permission to view ads?
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

fullmoonya

Quote from: vbgamer45 on January 16, 2012, 11:53:07 PM
Default theme?
Do you give each membergroup permission to view ads?

for admin permission is enabled. it shows ads in some parts but in other parts it doesnt display any ads.
do not mark my topic solve unless it is REALLY SOLVED.
my forum

Visit My Blog:
Google SEO Share

vbgamer45

Are you using default theme?
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

fullmoonya

#6558
Quote from: vbgamer45 on January 17, 2012, 12:44:08 AM
Are you using default theme?
yes sir, im using default theme. the only problem is ads are not showing in the boards.

EDIT:

okay sir, forget about my previous problem. i'll just change my question.

how can i set pemission in some specific ads? like i only want regular members can see this ads or only the membergroup i created can see the ads? what codes should i put in that?

EDIT2:

no need for this problem to be solve. i figured out now how. :)
do not mark my topic solve unless it is REALLY SOLVED.
my forum

Visit My Blog:
Google SEO Share

backend

I have a simple non-technical question before I install this mod:

for those that have installed this on their forum, has your Adsense earnings generally gone up?

THANK YOU

Advertisement: