Ad Management mod

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

Previous topic - Next topic

OnlineFunCorner

#5640
Lets Suppose I Am Admin Of My Forum
And
I Get Google Adsense And Put In My Forum
--
As You Know Their Are Two Common Ads As CPC (Cost Per Click) & CPM (Cost Per Mille/Impression)
I Have No Permission To Click On My Ads
I Have Also No Permission Of Excessive Pages Or Ads Impressions
--
As An Admin If I Hide Ads For My Self I Will Not See Ads And No Chance Of Accidental Clicks
Also If I Hide Ads For Other MemberGruops Like Global Moderators In Permissions They Also Will Not Have A Chance Of Accidental Clicks
--
But Besides Clicks Their Is Another Term Called Impressions Relative To CPM
As By Hiding Ads I Will Prevent From Accidental Clicks
But
Can I Also I Prevent From Excessive Impressions
As If In Normal Conditions When Ads Are Displayed To Me If I Daily Make 500+ Page Views (Google Can Ban Account To Invalid Impressions)
But
What If I Disable Ads For Admin/My Self & I Daily Make 500+ Page Views
Is That Count In Invalid Or Excessive Impressions (Will Google Count This Invalid Impressions)
But Actually Ads Are Disable For Me.
-
In Short
What Is The Objective/Purpose Or Benefit Of Hiding Ads For Admin?
What Is The Objective/Purpose Or Benefit Of Hiding Ads For Other MemberGroups?
Is That Save Admin From Invalid Click & Impressions By Himself.
--
Please Also Describe These

- Disable all ads if you are an admin
- Disable all ads on a global scale

What Are The Needs Of Them And Their Use?
--
Please Read All And Reply In Detail
Please

Kindred

please stop multiple posting. If you have an addition to your previous message and there has been no response, the use the MODIFY button and add your additional comments into the existing post.
Сл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."

OnlineFunCorner

Quote from: Kindred on September 02, 2010, 10:38:37 AM
please stop multiple posting. If you have an addition to your previous message and there has been no response, the use the MODIFY button and add your additional comments into the existing post.
Sorry
Thanks For Mentioning
I Will Take Care Of It Next Time!

AZMazda3

Ok previously the Ad Manager was working fine, thought it would be good to update it to the latest version from 2.3 something to 2.6.3.2 so I uninstalled the older version. (Probably a bad idea, I can reload the backed up forum but I'd reather not) Uninstalled fine. Went to install 2.6.3.2 and now got a ton of "test failed" messages. Now what? Manual edits?

Type Action Description
1. Execute Code install.php 
2. Execute Modification ./index.php Test successful
  1. Add After ./index.php Test successful
  2. Add After ./index.php Test successful
  3. Add After ./index.php Test successful

3. Execute Modification ./Sources/Admin.php Test successful
  1. Add After ./Sources/Admin.php Test successful
  2. Add After ./Sources/Admin.php Test successful

4. Execute Modification ./Themes/default/index.template.php Test failed
  1. Replace ./Themes/default/index.template.php Test successful
  2. Add After ./Themes/default/index.template.php Test failed
  3. Add After ./Themes/default/index.template.php Test successful
  4. Add After ./Themes/default/index.template.php Test failed
  5. Add Before ./Themes/default/index.template.php Test failed

5. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
  1. Add Before ./Themes/default/BoardIndex.template.php Test successful
  2. Add After ./Themes/default/BoardIndex.template.php Test failed

6. Execute Modification ./Themes/default/Display.template.php Test failed
  1. Add After ./Themes/default/Display.template.php Test successful
  2. Replace ./Themes/default/Display.template.php Test successful
  3. Replace ./Themes/default/Display.template.php Test failed

7. Execute Modification ./Themes/default/MessageIndex.template.php Test failed
  1. Add After ./Themes/default/MessageIndex.template.php Test successful
  2. Add After ./Themes/default/MessageIndex.template.php Test failed

8. Execute Modification ./Sources/ManagePermissions.php Test successful
  1. Add After ./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. 
   Classic YaBB SE Theme 
   Execute Modification ./Themes/classic/index.template.php Test failed
  1. Replace ./Themes/classic/index.template.php Test successful
  2. Add After ./Themes/classic/index.template.php Test failed
  3. Add After ./Themes/classic/index.template.php Test successful
  4. Add After ./Themes/classic/index.template.php Test failed
  5. Add Before ./Themes/classic/index.template.php Test failed

   Execute Modification ./Themes/classic/BoardIndex.template.php Test failed
  1. Add Before ./Themes/classic/BoardIndex.template.php Test failed
  2. Add After ./Themes/classic/BoardIndex.template.php Test failed

   Execute Modification ./Themes/classic/Display.template.php Test failed
  1. Add After ./Themes/classic/Display.template.php Test failed
  2. Replace ./Themes/classic/Display.template.php Test failed
  3. Replace ./Themes/classic/Display.template.php Test failed

   Execute Modification ./Themes/classic/MessageIndex.template.php Test failed
  1. Add After ./Themes/classic/MessageIndex.template.php Test successful
  2. Add After ./Themes/classic/MessageIndex.template.php Test failed

   Babylon Theme 
   Execute Modification ./Themes/babylon/index.template.php Test failed
  1. Replace ./Themes/babylon/index.template.php Test successful
  2. Add After ./Themes/babylon/index.template.php Test failed
  3. Add After ./Themes/babylon/index.template.php Test successful
  4. Add After ./Themes/babylon/index.template.php Test failed
  5. Add Before ./Themes/babylon/index.template.php Test failed

   Execute Modification ./Themes/babylon/BoardIndex.template.php Test failed
  1. Add Before ./Themes/babylon/BoardIndex.template.php Test failed
  2. Add After ./Themes/babylon/BoardIndex.template.php Test failed

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

   Execute Modification ./Themes/babylon/MessageIndex.template.php Test failed
  1. Add After ./Themes/babylon/MessageIndex.template.php Test successful
  2. Add After ./Themes/babylon/MessageIndex.template.php Test failed

   Deep Red v1.3 
   Execute Modification ./Themes/Deep_Red_2009_v1-3/index.template.php Test failed
  1. Replace ./Themes/Deep_Red_2009_v1-3/index.template.php Test successful
  2. Add After ./Themes/Deep_Red_2009_v1-3/index.template.php Test failed
  3. Add After ./Themes/Deep_Red_2009_v1-3/index.template.php Test successful
  4. Add After ./Themes/Deep_Red_2009_v1-3/index.template.php Test failed
  5. Add Before ./Themes/Deep_Red_2009_v1-3/index.template.php Test failed

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

   Night Blue 
   Execute Modification ./Themes/nightblue20/index.template.php Test failed
  1. Replace ./Themes/nightblue20/index.template.php Test successful
  2. Add After ./Themes/nightblue20/index.template.php Test failed
  3. Add After ./Themes/nightblue20/index.template.php Test successful
  4. Add After ./Themes/nightblue20/index.template.php Test failed
  5. Add Before ./Themes/nightblue20/index.template.php Test failed

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

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

   Mavi Dus 
   Execute Modification ./Themes/mavidus/index.template.php Test failed
  1. Replace ./Themes/mavidus/index.template.php Test successful
  2. Add After ./Themes/mavidus/index.template.php Test failed
  3. Add After ./Themes/mavidus/index.template.php Test failed
  4. Add After ./Themes/mavidus/index.template.php Test failed
  5. Add Before ./Themes/mavidus/index.template.php Test failed

   Execute Modification ./Themes/mavidus/BoardIndex.template.php Test failed
  1. Add Before ./Themes/mavidus/BoardIndex.template.php Test failed
  2. Add After ./Themes/mavidus/BoardIndex.template.php Test failed

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

   Execute Modification ./Themes/mavidus/MessageIndex.template.php Test failed
  1. Add After ./Themes/mavidus/MessageIndex.template.php Test successful
  2. Add After ./Themes/mavidus/MessageIndex.template.php Test failed

   MegaPolis 
   Execute Modification ./Themes/MegaPolis/index.template.php Test failed
  1. Replace ./Themes/MegaPolis/index.template.php Test successful
  2. Add After ./Themes/MegaPolis/index.template.php Test failed
  3. Add After ./Themes/MegaPolis/index.template.php Test failed
  4. Add After ./Themes/MegaPolis/index.template.php Test failed
  5. Add Before ./Themes/MegaPolis/index.template.php Test failed

   Execute Modification ./Themes/MegaPolis/BoardIndex.template.php Test failed
  1. Add Before ./Themes/MegaPolis/BoardIndex.template.php Test failed
  2. Add After ./Themes/MegaPolis/BoardIndex.template.php Test failed

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

   Adorfa Multi Color 
   Execute Modification ./Themes/AdorfaMC114/index.template.php Test failed
  1. Replace ./Themes/AdorfaMC114/index.template.php Test successful
  2. Add After ./Themes/AdorfaMC114/index.template.php Test failed
  3. Add After ./Themes/AdorfaMC114/index.template.php Test successful
  4. Add After ./Themes/AdorfaMC114/index.template.php Test failed
  5. Add Before ./Themes/AdorfaMC114/index.template.php Test failed

   Execute Modification ./Themes/AdorfaMC114/BoardIndex.template.php Test failed
  1. Add Before ./Themes/AdorfaMC114/BoardIndex.template.php Test failed
  2. Add After ./Themes/AdorfaMC114/BoardIndex.template.php Test failed

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

   bisdakworld_silver 
   Execute Modification ./Themes/bisdakworld_silver/index.template.php Test failed
  1. Replace ./Themes/bisdakworld_silver/index.template.php Test successful
  2. Add After ./Themes/bisdakworld_silver/index.template.php Test failed
  3. Add After ./Themes/bisdakworld_silver/index.template.php Test successful
  4. Add After ./Themes/bisdakworld_silver/index.template.php Test failed
  5. Add Before ./Themes/bisdakworld_silver/index.template.php Test failed

   Nice_silver 
   Execute Modification ./Themes/nice_silver/index.template.php Test failed
  1. Replace ./Themes/nice_silver/index.template.php Test successful
  2. Add After ./Themes/nice_silver/index.template.php Test failed
  3. Add After ./Themes/nice_silver/index.template.php Test successful
  4. Add After ./Themes/nice_silver/index.template.php Test failed
  5. Add Before ./Themes/nice_silver/index.template.php Test failed

   Execute Modification ./Themes/nice_silver/BoardIndex.template.php Test failed
  1. Add Before ./Themes/nice_silver/BoardIndex.template.php Test failed
  2. Add After ./Themes/nice_silver/BoardIndex.template.php Test failed




vbgamer45

Are you using all those themes? If not just add the code for the spots that fail on package manager install.
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

vbgamer45

Just uncheck Enable Ads under Admin -> Permissions then modify each group and remove the ads permission for admins/mods


Or you can add an entry in the host file if you are scared about accidental clicks but really if you are not clicking once a day or something you are fine.
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

OnlineFunCorner

You Are Not Getting My Point
I already Disable ads for myself as Admin
I Can not see ads myself
---
Question is am I safe from invalid clicks               And Invalid Impressions Now After Disable Ads For Myself

Kindred

???

ummm... if you can not see the ad, and can not click on it...  doesn't that pretty much mean that you are not getting invalid clicks or impressions?

Your posting style is VERY confusing. I assume that English is not your primary language?
Сл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."

OnlineFunCorner

Thanks
Next Time I Will Not Confuse Anyone!

AZMazda3

Quote from: vbgamer45 on September 02, 2010, 11:24:23 PM
Are you using all those themes? If not just add the code for the spots that fail on package manager install.

No only using 3 themes really by we recently disabled that feature for members as we have been updating the site and pushed them back to the default theme. So my next question is sould I be able to copy the file from an archive and upload it?

vbgamer45

You mean copy files from a backup yeah that should work but just be warned if you had other mods installed on those files they will be overwritten.
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

ontime

#5651
 Hi when i add this mod it creates double   adds.

Kindred

first, why did you include the quote of the mod description and changelog? ???

second, did you even bother to search? Your questions has been answered at least a dozen times.


third, it means exactly what you think it means... you installed the mod twice. You will have to manually remove the duplicated code.
Сл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."

maihannijat

#5653
Hi

I tried alot to manually install this in my custom theme but not able to add code in index.template.php

I have attached my index.template.php


How to Add This code After <body> Tag
//Display ads on the top of the page
if (function_exists("show_topofpageAds"))
{
$ads = show_topofpageAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}


Here is my Body Tag code:
<body>

   <div id="wrapper">
  <div id="header">
<div id="head-l">
<div id="head-r">
  <div id="userarea">';
if ($context['user']['is_logged'])
{
echo '<b>', $txt['hello_member'], ' ', $context['user']['name'], '</b><br />';


AZMazda3

Quote from: vbgamer45 on September 02, 2010, 11:24:23 PM
Are you using all those themes? If not just add the code for the spots that fail on package manager install.

Ok did that, but now package manager will not allow me to install it or show me the status. It's blank and I have no way to proceed.

xpubstargamingx

Looking for someone that would install this Mod for me today. I can send you my Index Template and some $$$ on PayPal. I really need this added by today since I have an advertising campaign with Facebook, Myspace, and Google starting this evening. I am expecting a lot of traffic. Please PM me if you would like to help.

vbgamer45

Sure for $15 I can install it on any custom theme. Either send me the themes files themselves or an ftp account would work.
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

xpubstargamingx

Quote from: vbgamer45 on September 07, 2010, 11:14:52 AM
Sure for $15 I can install it on any custom theme. Either send me the themes files themselves or an ftp account would work.

Send me a message when you get on today. I won't have access to Messenger, but I would really like to have this Ad Mod to my forums today. I am starting an advertising campaign with Facebook, Myspace and Google. So I am expecting a lot of traffic this evening and this week while these campaigns are running. 

vbgamer45

Got your pm on megaupload says "The file you are trying to access is temporarily unavailable." so you can't download it.
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

Biology Forums

Hey,

I'm using the classic theme in SMF version 1.1.11. I cannot find a resource that tells me how to manually put the skyscraper adsense code (long vertical) on the right-side of every page on the forum (I am guessing it is the index.template). I have ad management mod installed and working, but not quite. Does anyone know how to configure the classis theme coding manually to have this vertical ad on the right side (or left)?

http://www.biology-forums.com [nofollow]

Advertisement: