Advertisement:

Author Topic: Ad Management mod  (Read 1919633 times)

Offline houston

  • Jr. Member
  • **
  • Posts: 149
Re: Ad Management mod
« Reply #80 on: February 05, 2006, 11:45:08 PM »
Quote
thats kinda odd, when you installed/uninstalled my mod, did you ever get any errors?

Installed Perfectly. I have not tried to unistall it.
seems pretty wierd.. can you verify something for me..
open up your display.template.php
and make sure this line only appears once
Code: [Select]
if ($modSettings['ad_management_thread'] && allowedTo('ad_manageperm'))
echo '<br /><div align="center">',$modSettings['ad_management_content'],'</div>';

Yup is was inserted twice. Thanks fro pointing me in the right direction.

Cheers 8)

Offline jerm

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,247
Re: Ad Management mod
« Reply #81 on: February 05, 2006, 11:46:50 PM »
Yup is was inserted twice. Thanks fro pointing me in the right direction.

Cheers 8)

np.. thanks for pointing this out. its probably an issue with TP.. so i'll fix that up

Offline ukrob12

  • Semi-Newbie
  • *
  • Posts: 54
Re: Ad Management mod
« Reply #82 on: February 06, 2006, 01:58:50 PM »
Great mod, only problem is it doesn't work with my theme (Saf)

Offline street2k

  • Semi-Newbie
  • *
  • Posts: 29
Re: Ad Management mod
« Reply #83 on: February 06, 2006, 03:25:14 PM »
Great mod, only problem is it doesn't work with my theme (Saf)
.

Same here. what files need to be edited so it will work for my theme.

Offline jeegee

  • Newbie
  • *
  • Posts: 7
Re: Ad Management mod
« Reply #84 on: February 06, 2006, 03:41:37 PM »
ok if you know php/html you could look into the file: install.xml

In that file you can see what parts, lines are changed/edited.
Not a very easy job. But for now I think you shloud do it with.

Untill someone makes a How To....

Ciao,
Johan

Offline jerm

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,247
Re: Ad Management mod
« Reply #85 on: February 06, 2006, 05:08:33 PM »
Great mod, only problem is it doesn't work with my theme (Saf)
.

Same here. what files need to be edited so it will work for my theme.
like suggested, you should look into the install.xml file to get details
but the files you will edit to work with your theme:
index.template.php
Display.template.php
MessageIndex.template.php
BoardIndex.template.php

Offline jerm

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,247
Re: Ad Management mod
« Reply #86 on: February 07, 2006, 12:27:25 AM »
for those wondering where this mod is heading, and a few other things, check out the first post..

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,974
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • What's Ur Beef
Re: Ad Management mod
« Reply #87 on: February 07, 2006, 01:10:06 AM »
I just installed this on a new install of smf Rc2 and got this error.



To solve it I opened a php editor and commented that line out and it works great.

Offline Prasad007

  • SMF Hero
  • ******
  • Posts: 1,557
  • Gender: Male
  • JOOMLA AND SMF FAN!!
Re: Ad Management mod
« Reply #88 on: February 07, 2006, 09:00:05 AM »
why wont this mod work on different themes
my theme is helios_multi
please help!

Offline DeathfireD

  • Semi-Newbie
  • *
  • Posts: 13
Re: Ad Management mod
« Reply #89 on: February 07, 2006, 12:12:51 PM »
Nice mod, Ill test this out when I get home. Btw did you happen to read my mod request last month about the phpbb inline mod? This looks somewhat like it, should be great and easy to get use to!

Offline jerm

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,247
Re: Ad Management mod
« Reply #90 on: February 07, 2006, 10:15:42 PM »
I just installed this on a new install of smf Rc2 and got this error.

To solve it I opened a php editor and commented that line out and it works great.
you sure your using rc2? cause i dont even think that line exists in that area of that file..not even sure if it exsits at all.. but ya, that line should be commented out (my mod doesn't even touch that line.. so its even odder..)

why wont this mod work on different themes
my theme is helios_multi
please help!

it would be difficult for me to have this mod work for all themes. what i can suggest is look in the install.xml file, and look at what it edits, then apply it to your mod. for me to work on a mod that works with 1.0.6 and RC2, then have to make multiple versions to run on different themes would be a lot of work. i could guide you in the right direction though..

Nice mod, Ill test this out when I get home. Btw did you happen to read my mod request last month about the phpbb inline mod? This looks somewhat like it, should be great and easy to get use to!
i had actually not seen that you had requested a mod.. but glad you got your wishes true :)
« Last Edit: February 07, 2006, 10:18:54 PM by electrohome88 »

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,974
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • What's Ur Beef
Re: Ad Management mod
« Reply #91 on: February 07, 2006, 10:20:18 PM »
Yep using smf 1.1 rc2 with the latest Tiny Portal.

Offline jerm

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,247
Re: Ad Management mod
« Reply #92 on: February 08, 2006, 08:14:43 PM »
I released a new version of my mod, but it will only effect those who have tinyportal installed. I came accross a bug that when you install my mod with tinyportal installed, it crashed the forums. You only need to upgrade if you have tinyportal installed. If you dont, you dont need to install it at all, there are no new features in this release

Offline street2k

  • Semi-Newbie
  • *
  • Posts: 29
Re: Ad Management mod
« Reply #93 on: February 08, 2006, 09:16:17 PM »
So your the mutha#@**^&* that's responsible  :). he he

Offline jerm

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,247
Re: Ad Management mod
« Reply #94 on: February 08, 2006, 09:22:41 PM »
sorry.. i had no idea till people started reporting an issue, then i looked into it

Offline DeathfireD

  • Semi-Newbie
  • *
  • Posts: 13
Re: Ad Management mod
« Reply #95 on: February 09, 2006, 06:26:03 PM »
Having a problem. It installed fine, now I added my google adsence code and clicked on a few of the check boxes and hit apply. But I dont see any ads show up. I tryed logging out but still dont see any. Is there something I need to edit in the themes?

Offline jerm

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,247
Re: Ad Management mod
« Reply #96 on: February 09, 2006, 06:29:19 PM »
may i have a link to your site?

Offline JSellnau_TSCC

  • Semi-Newbie
  • *
  • Posts: 16
  • Gender: Male
Re: Ad Management mod
« Reply #97 on: February 09, 2006, 07:37:04 PM »
Having a problem. It installed fine, now I added my google adsence code and clicked on a few of the check boxes and hit apply. But I dont see any ads show up. I tryed logging out but still dont see any. Is there something I need to edit in the themes?

I have the same problem...
http://www.privaterights.com/forum [nofollow]

I need this fixed asap.

I have even tried to hard-code the ads into the theme and they still do not show up.

Offline RC-Drift.com

  • Newbie
  • *
  • Posts: 7
  • Gender: Male
  • R/C Drifter
    • RC-Drift, RC-Drifting, R/C Drift forum
Re: Ad Management mod
« Reply #98 on: February 11, 2006, 05:52:13 PM »
I'm sorry but what code do I put in the code box?  has anyone got an example?
hxxp:rc-drift.com [nonactive]

Offline jerm

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,247
Re: Ad Management mod
« Reply #99 on: February 11, 2006, 05:56:42 PM »
this would be an example

Code: [Select]
<script type="text/javascript"><!--
google_ad_client = "-----";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="7508705510";
google_color_border = "CCCCCC";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "666666";
google_color_text = "333333";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>