News:

Wondering if this will always be free?  See why free is better.

Main Menu

Ad Management mod

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

Previous topic - Next topic

vbgamer45

Can't think of anything else sorry.
Community Suite for SMF - Take your forum to the next level built for 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

dipsy

do you know where it is written enable ads and disable ads in DB on smf1? that you may have in the database can edit it?
obvious that the adjustment to the DB of the old installation?

vbgamer45

All settings for ad management would be in in the smf_settings table in the database.
Community Suite for SMF - Take your forum to the next level built for 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

dipsy

No settings.
find the permissions that restrict ads these groups. I do not know which tables in the db it regulates. Idea?

vbgamer45

Would be in the smf_permissions table but that table is an odd one.
Community Suite for SMF - Take your forum to the next level built for 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

dipsy

In smf_permissions all groups have add_deny=1 ...   it's default..
I do not have any more ideas  :(

LexusFTW

I was having trouble with adsense not counting my page views.  I uninstalled (with errors) ad management and reinstalled.  The problem with adsense is fixed but there are two "SMFAds for Free Forums" advertisements on the bottom of my forums tulsastreetcars.com

I can't find the .php to remove one of them.

Also, on another note, I can't get ads to show up after posts but I'm not really worried about it.  I just want to clean up the bottom of the forum for now. Any help?

kat

I don't think you're "allowed" to remove those ads, mate.

I believe the mod author runs the free forums, too.  :-\

LexusFTW

Quote from: K@ on April 24, 2012, 03:41:48 PM
I don't think you're "allowed" to remove those ads, mate.

I believe the mod author runs the free forums, too.  :-\

I don't want to remove both.  I would like to remove one :)

kat

Ah. I suspect you'll find a double line in index.template.php, then.

Possibly. ;)

NanoSector

Or Subs.php in theme_copyright()... ;)
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

kat


LexusFTW

I feel like a dunce.  I've checked index.template.php in my theme folder and the line isn't there.  I found subs.php in the sources folder.  I can't find the line anywhere...

kat

Looking at the parser, it might be in /Sources/QueryString.php


// SMF ADS
$buffer = preg_replace('~(, Simple Machines LLC</a>)~', ', Simple Machines LLC</a><br /><span class="smalltext"><a href="http://www.smfads.com" target="_blank">SMFAds</a> for <a href="http://www.createaforum.com" title="Forum Hosting">Free Forums</a></span>', $buffer);
$buffer = preg_replace('~(class="new_win">Simple Machines</a>)~', 'class="new_win">Simple Machines</a><br /><span class="smalltext"><a href="http://www.smfads.com" target="_blank">SMFAds</a> for <a href="http://www.createaforum.com" title="Forum Hosting">Free Forums</a></span>', $buffer);

// End SMF ADS


Kindred

per the license of the mod, you can not remove either one of those... (yes, he actually has two links that he adds, it's not a double install)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

LexusFTW

Quote from: K@ on April 24, 2012, 04:38:42 PM
Looking at the parser, it might be in /Sources/QueryString.php


// SMF ADS
$buffer = preg_replace('~(, Simple Machines LLC</a>)~', ', Simple Machines LLC</a><br /><span class="smalltext"><a href="http://www.smfads.com" target="_blank">SMFAds</a> for <a href="http://www.createaforum.com" title="Forum Hosting">Free Forums</a></span>', $buffer);
$buffer = preg_replace('~(class="new_win">Simple Machines</a>)~', 'class="new_win">Simple Machines</a><br /><span class="smalltext"><a href="http://www.smfads.com" target="_blank">SMFAds</a> for <a href="http://www.createaforum.com" title="Forum Hosting">Free Forums</a></span>', $buffer);

// End SMF ADS


That was it!! THANKS!!

LexusFTW

Quote from: Kindred on April 24, 2012, 04:42:11 PM
per the license of the mod, you can not remove either one of those... (yes, he actually has two links that he adds, it's not a double install)

There was only one this morning before I uninstalled and reinstalled.

jaisi

#6697
i wann to install this mod but i'am getting this Error in my costum theme New Look

New Look

http://******/index.php?/topic,68.msg12686.html
: Unknown column 'b.thank_you_post_enable' in 'field list'
File: /home/nepalmas/public_html/Sources/Load.php
Line: 642
: Unknown column 'b.thank_you_post_enable' in 'field list'

File: /home/nepalmas/public_html/Sources/Load.php
Line: 642

/home/*****/public_html/Themes/New_Look_2-0/MessageIndex.template.php (main sub template - eval?)


       Execute Modification   ./Themes/New_Look_2-0/BoardIndex.template.php   Test failed
      1.   Add Before   ./Themes/New_Look_2-0/BoardIndex.template.php   Test successful
      2.   Add After   ./Themes/New_Look_2-0/BoardIndex.template.php   Test failed

       Execute Modification   ./Themes/New_Look_2-0/Display.template.php   Test failed
      1.   Add After   ./Themes/New_Look_2-0/Display.template.php   Test successful
      2.   Replace   ./Themes/New_Look_2-0/Display.template.php   Test successful
      3.   Replace   ./Themes/New_Look_2-0/Display.template.php   Test failed

       Execute Modification   ./Themes/New_Look_2-0/MessageIndex.template.php   Test failed
      1.   Add After   ./Themes/New_Look_2-0/MessageIndex.template.php   Test successful
      2.   Replace   ./Themes/New_Look_2-0/MessageIndex.template.php   Test failed


my Forum Version is 2.0

Kindred

1- it looks like some sort of thankyou mod was only partially installed, thus causing the errors.
2- eval statements do no good. Turn off eval and then you're know the actual location of the error.
3- http://wiki.simplemachines.org/smf/Error_in_mod_installation (read the manual?)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

jaisi

how to turn  off Eval ??  can guide me ??

Advertisement: