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

houston

Quote from: electrohome88 on February 05, 2006, 11:38:10 PM
Quote from: houston on February 05, 2006, 11:34:21 PM
Quotethats 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

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)

jerm

Quote from: houston on February 05, 2006, 11:45:08 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

ukrob12

Great mod, only problem is it doesn't work with my theme (Saf)

street2k

Quote from: ukrob12 on February 06, 2006, 01:58:50 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.

jeegee

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

jerm

Quote from: street2k on February 06, 2006, 03:25:14 PM
Quote from: ukrob12 on February 06, 2006, 01:58:50 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

jerm

for those wondering where this mod is heading, and a few other things, check out the first post..

Bigguy

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.

Prasad007

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

DeathfireD

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!

jerm

#90
Quote from: Bigguy 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.
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..)

Quote from: Prasad007 on February 07, 2006, 09:00:05 AM
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..

Quote from: DeathfireD 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!
i had actually not seen that you had requested a mod.. but glad you got your wishes true :)

Bigguy

Yep using smf 1.1 rc2 with the latest Tiny Portal.

jerm

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

street2k

So your the mutha#@**^&* that's responsible  :). he he

jerm

sorry.. i had no idea till people started reporting an issue, then i looked into it

DeathfireD

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?

jerm

may i have a link to your site?

JSellnau_TSCC

Quote from: DeathfireD 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?

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.

RC-Drift.com

I'm sorry but what code do I put in the code box?  has anyone got an example?
hxxp:rc-drift.com [nonactive]

jerm

this would be an example


<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>


Advertisement: