Advertisement:

Author Topic: Ad Management mod 3.2 Released SMF 2.0.x and SMF 1.1.x Support!  (Read 1388710 times)

Online Kindred

  • The Mean One
  • Project Manager
  • SMF Master
  • *
  • Posts: 41,510
  • Gender: Male
    • wagner999 on Facebook
    • Kindred-999 on GitHub
    • www.linkedin.com/in/wdwagner/ on LinkedIn
    • @Kindred_999 on Twitter
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6720 on: May 08, 2012, 07:46:40 PM »
Not the pages....    In the php source and template files
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support forums.  Thank you.

Offline Realinfo

  • Full Member
  • ***
  • Posts: 617
    • Real Info
Re: Ad Management mod 2.6.3.4 Released SMF RC4 Support!
« Reply #6721 on: May 11, 2012, 10:35:03 PM »
Almost done installing this in custom Theme.

But only one code is left to insert it in index.template.php, I have tried but don't know where this code falls.

Here is the code:
Code: [Select]
';
//Welcome Ads
if (function_exists("show_welcomeAds"))
{
$ads = show_welcomeAds();
if(!empty($ads))
{
echo '<td class="windowbg2">';
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
echo '</td>';
}
unset($ads);
}
echo '






And attached is my index.template.php


Thanks in Advance.



By this way

Code: [Select]
echo '
<input type="hidden" name="hash_passwrd" value="" />
</form>';
}

//Welcome Ads
                     if (function_exists("show_welcomeAds"))
                     {
                        $ads = show_welcomeAds();
                        if(!empty($ads))
                        {
                           echo '<td class="windowbg2">';
                           if($ads['type']==0)
                              echo $ads['content'];
                           else
                              eval($ads['content']);
                           echo '</td>';
                        }
                        unset($ads);
                     }

echo '


I able to get ads in welcome area............. 2.0.2 Default theme thanks.

Offline NikShiP

  • Semi-Newbie
  • *
  • Posts: 12
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6722 on: May 12, 2012, 05:13:49 PM »
I added the ad and my forum width reduced..

What wrong m i doing? :(

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 16,647
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6723 on: May 12, 2012, 05:24:37 PM »
Link?
Community Suite - Take your forum to the next level built for SMF, Gallery,Store,Classfieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Latest Mod:
EzPortal - Portal System for SMF
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline NikShiP

  • Semi-Newbie
  • *
  • Posts: 12
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6724 on: May 12, 2012, 05:34:17 PM »
Link?
I uninstalled the mod..
Revived the forum

www.gizmolord.net [nofollow]

Forum width is set to be 1250 px n it was reduced to 1250-768=482px
768px is the width of the ad.
m trying to integrate google addsense

Please guide me.. :)

Offline SMFHacks.com Team

  • Jr. Member
  • **
  • Posts: 234
    • smfhacks on Facebook
    • @smfhacks on Twitter
    • SMFHacks.com
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6725 on: May 12, 2012, 05:57:22 PM »
Not sure can't see what was wrong since it is no longer running.
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.

http://ForumRankings.net - Get Forum Ranked!
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline Realinfo

  • Full Member
  • ***
  • Posts: 617
    • Real Info
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6726 on: May 12, 2012, 11:30:38 PM »
I need to have ads inside first post, as possible in GoogAd Mod http://custom.simplemachines.org/mods/index.php?mod=2565

But I want to do by this Ad Management mod in 2.0.2 Deafult theme............. as in Ad Management mod I can put ads in some particular boards........... Please help.................

Online NanoSector

  • On Hiatus
  • SMF Super Hero
  • *
  • Posts: 10,093
  • Gender: Male
    • rick2288 on Facebook
    • Yoshi2889 on GitHub
    • Test Server
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6727 on: May 13, 2012, 05:58:45 AM »
Hi Realinfo!

Can you attach your theme's Display.template.php in your next post, please?
My Mods / Mod Builder - A tool to easily create mods / Support team member / Website - Help us test SMF 2.1!
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline Realinfo

  • Full Member
  • ***
  • Posts: 617
    • Real Info
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6728 on: May 13, 2012, 11:01:24 AM »
Hi Realinfo!

Can you attach your theme's Display.template.php in your next post, please?

This is my Display.template.php.........  how you can help?

Offline Khurram Abbasi

  • Jr. Member
  • **
  • Posts: 119
  • Gender: Male
  • My leader > Quaid-e-Azam
    • travel forum
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6729 on: May 16, 2012, 04:25:08 AM »
Quote
Hello,
 
We are contacting you because we noticed that the database 'database_com' is generating large queries. This causes issues with both server performance and the disk space. It is against our Terms of Service due to this we have suspended website and CGI functionality of your account. To revoke the suspension, you need to look into this database and take necessary steps.
 
I have pasted the SMF application is generating queries as show below.
UPDATE smf_ads
UPDATE smf_ads
UPDATE smf_ads
UPDATE smf_log_activity
UPDATE smf_sessions
UPDATE smf_ads
UPDATE smf_ads
UPDATE smf_ads
UPDATE smf_sessions
INSERT INTO smf_log_errors(`id_member`, `log_time`, `ip`, `url`, `message`, `session`, `error_type`, `file`, `line`)
UPDATE smf_topics
UPDATE smf_log_activity
UPDATE smf_ads
UPDATE smf_ads
UPDATE smf_ads
UPDATE smf_sessions
INSERT INTO smf_log_errors(`id_member`, `log_time`, `ip`, `url`, `message`, `session`, `error_type`, `file`, `line`)
INSERT INTO smf_log_errors(`id_member`, `log_time`, `ip`, `url`, `message`, `session`, `error_type`, `file`, `line`)
UPDATE smf_topics
UPDATE smf_log_activity
UPDATE smf_ads
UPDATE smf_ads
UPDATE smf_ads
UPDATE smf_sessions
UPDATE smf_log_activity
UPDATE smf_ads
UPDATE smf_ads
UPDATE smf_ads
UPDATE smf_sessions
UPDATE smf_log_online
INSERT INTO smf_log_errors(`id_member`, `log_time`, `ip`, `url`, `message`, `session`, `error_type`, `file`, `line`)
UPDATE smf_log_activity
UPDATE smf_ads
UPDATE smf_ads
UPDATE smf_ads
UPDATE smf_sessions
 
If you have any further questions, please update the Support Console.
 
Sincerely,
 
Adella Kelly
Support Specialist


i use ipage.com hosting , please tell me what to do with database so that dont suspend my site ,

thanks


Looks like the Ad Management mod is responsible.

Do you have anything in your error log ? Also, do you have the latest version of this mod installed ?

Of course, uninstall the mod and your issue will go away, or maybe post your issue in the mod's topic and see what the author says.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 16,647
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6730 on: May 16, 2012, 11:07:25 AM »
Turn on cachcing and make sure you are not having a lot of errors in the error log for SMF.
Community Suite - Take your forum to the next level built for SMF, Gallery,Store,Classfieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Latest Mod:
EzPortal - Portal System for SMF
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline Khurram Abbasi

  • Jr. Member
  • **
  • Posts: 119
  • Gender: Male
  • My leader > Quaid-e-Azam
    • travel forum
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6731 on: May 17, 2012, 01:08:30 AM »
Quote
Delma Karl: This query is not getting updated in table 'smf_ads' . Hence generates an error log and gets updated in table 'smf_log_errors'. This results filling up heavy records in the table. At present, the table 'smf_log_errors' has more than 4,50000 of records.
Quote
Delma Karl: Also, We can't check your database for errors or anything. The application may be outdated so some spammers may be there, we can't check your entire forum. Hence, you need to contact your developer about the issue.

 
this is i told by ipage support , 

Offline Khurram Abbasi

  • Jr. Member
  • **
  • Posts: 119
  • Gender: Male
  • My leader > Quaid-e-Azam
    • travel forum
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6732 on: May 17, 2012, 01:09:53 AM »
Turn on cachcing and make sure you are not having a lot of errors in the error log for SMF.

and how to do this , how to empty error log automatically


Offline SMFHacks.com Team

  • Jr. Member
  • **
  • Posts: 234
    • smfhacks on Facebook
    • @smfhacks on Twitter
    • SMFHacks.com
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6733 on: May 17, 2012, 01:14:00 AM »
There is a setting to disable error logging under edit features and options i think.
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.

http://ForumRankings.net - Get Forum Ranked!
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline Khurram Abbasi

  • Jr. Member
  • **
  • Posts: 119
  • Gender: Male
  • My leader > Quaid-e-Azam
    • travel forum
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6734 on: May 17, 2012, 03:29:02 AM »
i disable the error log , and now its looks ok to me


admin -> security and moderation -> uncheck enable error logging

Online NanoSector

  • On Hiatus
  • SMF Super Hero
  • *
  • Posts: 10,093
  • Gender: Male
    • rick2288 on Facebook
    • Yoshi2889 on GitHub
    • Test Server
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6735 on: May 21, 2012, 03:29:53 PM »
I don't recommend you to disable your error log though, it may still gain valuable information about your forum's status. Although if you are getting crazy by what is reported better leave it off :P

Also @realinfo: Haven't got time to look into this, sorry, I'll keep this on my to-do list.
My Mods / Mod Builder - A tool to easily create mods / Support team member / Website - Help us test SMF 2.1!
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline dooie

  • Semi-Newbie
  • *
  • Posts: 83
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6736 on: May 21, 2012, 09:34:10 PM »
I have Ad Management Ver. 2.3 installed but the one place I want the ads I can not get working. I want the ads placed in the welcome user area. I am using version 2.0.2 and am running the default theme - Curve.

What do I need to do to get my ads in the Welcome User area?

Cheers.

Offline akbora

  • Sr. Member
  • ****
  • Posts: 930
    • Anında Tepki
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6737 on: May 22, 2012, 03:19:37 PM »
Simpleads mod of Sinan is installed in my forum. Also I want to install this ad management mod. Is it  possible that? Thanks
SMF 2.0.8
Default Theme
Utf8 Turkish
---------------

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 62,736
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6738 on: May 22, 2012, 04:09:49 PM »
Simpleads mod of Sinan is installed in my forum. Also I want to install this ad management mod. Is it  possible that? Thanks

They both do the same job, why would you install both together?
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor

Offline akbora

  • Sr. Member
  • ****
  • Posts: 930
    • Anında Tepki
Re: Ad Management mod 3.0 Released SMF 2.0 Support!
« Reply #6739 on: May 22, 2012, 07:10:08 PM »
Simpleads mod of Sinan is installed in my forum. Also I want to install this ad management mod. Is it  possible that? Thanks

They both do the same job, why would you install both together?
Yes you're right that both have same job but for example ad management accepts php or html, include different areas in forum, but simpleads has expired day and time, (only html) that is job is same but method of application is different
SMF 2.0.8
Default Theme
Utf8 Turkish
---------------