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

petb

#5940
Just because it is Server based and not Client, i am wondering too.
I am with your Mind, but i have tested it on another PC with FF and got the same Problem.

FF doesnt show the AD under the childboards but IE works fine.
The Function doesnt Return the Adcode.

Maybe the Handling of the Adcode before it will be delivered by show_underchildren() could be affected by an Browsergate ?


vbgamer45

I would view the source of the page on each browser maybe the code is shown but hidden depending on the browser
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

petb

#5942
Now found something,
maybe it has to do with the Handling in ShowAds() ?
Maybe because i am a Adminstrator.
If i am logged out,
the FF also shows the Ads under the Childboards.

In the Settings i have "Disable ads for admins" not marked.

Logged in as Admin i can see all Adds, but not the ADs on Pages with Child boards. (I believe... all ads are not shown on this page if being an Admin)
......
Yes, verified, it depends on being Admin.

In LoadAds.php in the function showAds($type)

//Did we find any ads?
if(!empty($displayAds) || !empty($displayBoardAds))

both Conditions are false if logged in as Admin.
So there will be no Ad Displayd for Admin....but only in under_children

m1993

It this works on Smf RC4?

Spoogs

the title does say RC4 support

m1993

It doest show the ads on the home page only between posts.
How do i make them to show the banners on the home page?
Im using the Smf RC4

vbgamer45

Are you using a custom theme if so you need to make the edits to the 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

m1993

Quote from: vbgamer45 on January 29, 2011, 11:43:04 AM
Are you using a custom theme if so you need to make the edits to the theme as well.
Yes, im using a theme called Day Relax
What should i do?

vbgamer45

Get the manual install instructions either from the mod site or a package parser and use that information for the theme edits to install on your custom 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

m1993

Quote from: vbgamer45 on January 29, 2011, 12:01:37 PM
Get the manual install instructions either from the mod site or a package parser and use that information for the theme edits to install on your custom theme.
Here? http://www.smfads.com/forums/index.php?topic=1930.0#post_ref8
It is the same if im using the Smf 2.0 RC4?

vbgamer45

No its different
Upload package to http://resourcez.biz/PackageParser/
And do theme edits.
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

gareth78

#5951
Hi

I have your mod and love it. My main problem is I want to display a Leaderboard on every page in the top centre, which is simple, except for on one specific board.

I can of course tell make it display on all boards, apart from that one, by adding the board numbers, except, I also have an Arcade and want the banners running through that, which I'd presume would no longer have ads.

If you can help it would be appreciated!

Thanks

Edit: Also, how can I prevent ads in the admin area of the ad manager without checking, "Disable Ads for Admins" please? (I'd like to see my ads, but don't want to get in trouble with google for displaying them where the spiders can't go!)

vbgamer45

Those two requests would require custom code to either check to ingore that specific board and to disable admins in action=admin
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

priceform

Hi

It works great except it doubles up on the banners. It may be easier if you have a look here hxxp:www.priceform.com/forum/index.php. You will see 2 banners when I only want 1.

Any ideas?

Thanks  ;D

gareth78

Quote from: vbgamer45 on February 04, 2011, 11:04:22 AM
Those two requests would require custom code to either check to ingore that specific board and to disable admins in action=admin

Thanks for your reply, I appreciate it. It's certainly more than I expected! I'll chuck a donation your way. (I would buy Pro, but as I use my own ad server, it'd be complete overkill and place unnecessary load on the forum.)

Out of curiosity, if you don't mind answering, what happens if I have Ads set up to "Display ads on every page right below the menu" and then add another ad just for the boards off limit from Google? How does the Ad Management mod decide, which to display please?

I've tried it and the ad with the specific board seems to win out everytime, can you confirm this will always be the case, as in does specifying a board win out over a sitewide placement?

Thanks (I'm sure I could have said that in quite a few less words and it's probably been asked elsewhere. :) )

m1993

Quote from: vbgamer45 on January 29, 2011, 12:17:54 PM
No its different
Upload package to http://resourcez.biz/PackageParser/
And do theme edits.
When i upload the package it appears this
Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 523: parser error : Opening and ending tag mismatch: search line 507 and add in /home/gmtaws/public_html/resourcez/PackageParser/index.php on line 450

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ]]></add> in /home/gmtaws/public_html/resourcez/PackageParser/index.php on line 450

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/gmtaws/public_html/resourcez/PackageParser/index.php on line 450

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/gmtaws/public_html/resourcez/PackageParser/index.php:450 Stack trace: #0 /home/gmtaws/public_html/resourcez/PackageParser/index.php(450): SimpleXMLElement->__construct('<modification x...') #1 /home/gmtaws/public_html/resourcez/PackageParser/index.php(419): parseModificationXML('/tmp/installrc4...', Object(SimpleXMLElement), 'theme') #2 /home/gmtaws/public_html/resourcez/PackageParser/index.php(94): parsePackageInfoXML('/tmp/package-in...', 'install', 'theme') #3 /home/gmtaws/public_html/resourcez/PackageParser/index.php(779): parseArchive() #4 {main} thrown in /home/gmtaws/public_html/resourcez/PackageParser/index.php on line 450

DEEPSNUYB

I am using a clean install of RC4 and SMF4iPhone.  SMF4iPhone stopped working after I installed this mod. Can you check their coding and make you mod compatible?  I'm not asking for ads to show under the iPhone theme.  Just need the iPhone theme working.

vbgamer45

New update for SMF 2.0.x

Version 3.0 Feb 6, 2011
+New version released for SMF 2.0.x uses template layers for index.template.php edits instead should help getting ad management working on custom themes easier!
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

N3RVE

Awesome! Installed on my client's custom theme with one click. Great work ;)

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

vbgamer45

Yeah hopefully reduces support time and should work with most custom themes since they all are mostly just index.template.php edits.
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

Advertisement: