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

Bigguy

Is the ad mod installed or did you place the code manually.

SpelingMistakes

4. Execute Modification
Quote./Themes/default/index.template.php
Test failed

If i saw good, i dont need to worry - I am using some other theme - helios - But i have problem - If i understud you i neeed to modify 4 template files but....

1. When i try to find
Quote<body>';
i cant find it - Why?
I have this 
Quote<body><div><table cellpadding="0"
bla bla bla .......

2. When i try to search for
Quote</td>
I can find lots of them – what specific i search for?


3. I can find
Quotetemplate_menu();
and thats ok

4. I cant find
Quote// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
In my index.template.php

Etc etc - Why all those mistakes?
There is a huge difference between living and being alive!

franklinrony

i place the code manually but i dont know where put the code of index.templete. thanks for the help
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

Bigguy

Those aren't spelling mistakes. Each template or "theme" is coded differently. So, some template authors might not have the exact wording as the mod requires in order for the package to find the code to modify. All package modifications only modify the default template unless the mod author has specified differently.

If you are using a custom theme you will have to manually edit the theme you use in order to get the package to work. The mod should install with no problem on the default theme, however  If it doesn't this is due to package incompatablilty with another mod.

Quote from: SpelingMistakes on February 02, 2007, 09:30:59 PM
4. Execute Modification
Quote./Themes/default/index.template.php
Test failed

If i saw good, i dont need to worry - I am using some other theme - helios - But i have problem - If i understud you i neeed to modify 4 template files but....

1. When i try to find
Quote<body>';
i cant find it - Why?
I have this 
Quote<body><div><table cellpadding="0"
bla bla bla .......

2. When i try to search for
Quote</td>
I can find lots of them – what specific i search for?


3. I can find
Quotetemplate_menu();
and thats ok

4. I cant find
Quote// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
In my index.template.php

Etc etc - Why all those mistakes?


raaja

Its really working fine for me (admin)... i can see the ads whn i log in as admin... but my members and guess cant view the ads... only admin can view the ads??

i wan the ads for public... how to make it???  

Bigguy

A few posts up I mention something about permissions....

SpelingMistakes

That didnt help  - I dont have any other mods installed - except this - - I install it and uninstall it - I cant make it to work - simply becouse i cant finde where to put it
There is a huge difference between living and being alive!

perplexed

hi I gotta problem :(

I was uninstalling my mods so I could upgrade to 1.1.1 from 1.1 rc3 and I uninstalled this mod and now I just have this:

Fatal error: Call to undefined function show_topofpageAds() in /home/mysite/public_html/artsforum/Sources/Load.php(1607) : eval()'d code on line 218

and can't access the forum.

Can you help so I can get back into the forum and continue uninstalling so I can upgrade?

~thanks

Bigguy

Make sure LoadAds.php is in the Sources Directory. If that doesn't help then the edits will have to go back in either the index.template.php or the index.php

perplexed

hi big guy and thanks for your reply

isn't it looking for something in this file:

Fatal error: Call to undefined function show_topofpageAds() in /home/mysite/public_html/artsforum/Sources/Load.php(1607) : eval()'d code on line 218

I thought that's what it meant when it lists that file and line number?

I tried adding loadads.php but it made no differenc.  I can try editing the other templates but I just wanted to make sure that it wasnt something in the load.php that it needs?

Bigguy

No the ad mod doesn't touch loads.php If you put the LoadAds.php back and it still did nothing try putting the edits for the index.template.php back. That should clear it up.


dontbe

Quote from: dontbe on January 27, 2007, 09:06:13 PM
arrg
Im not getting a authorization email from smfads.com forum... so I cant post there! (user findit)

Big guy, can you help? who is in charge at smfmods.com??

Poe

Has anyone gotten this mod working with the SMFone Blue theme?

Bigguy

Jerm is in charge at smfads.com

Quote from: dontbe on February 08, 2007, 04:31:40 PM
Quote from: dontbe on January 27, 2007, 09:06:13 PM
arrg
Im not getting a authorization email from smfads.com forum... so I cant post there! (user findit)

Big guy, can you help? who is in charge at smfmods.com??

logikstudios

Quote from: jerm on February 01, 2006, 06:14:10 PM
Quote from: RBH on February 01, 2006, 12:57:13 AM
any chance this could be made to display certain banners in certain boards or does it do that?
i hadn't thought of doing that. i have a few other things i want to add to this mod. if possible, i will look into that.
Quote from: d3v on February 01, 2006, 04:01:32 AM
adsense?
i assuming your asking if this works for adsense, and yes it does.

Quote from: BadCluster on February 01, 2006, 06:45:00 AM
i upload the mod as a zip file and try to install it,
before that i made everything '777' rights in the package folder and when i try to install it i get this error

"An Error Has Occurred!   
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!


please verify that these files are also set to 777

Sources/ModSettings.php
Themes/default/index.template.php
Themes/default/BoardIndex.template.php
Themes/default/MessageIndex.template.php
Themes/default/Display.template.php
Themes/default/languages/Modifications.english.php

Hi i have just changed all permissions and it still doesn't work. I still get the:

An Error Has Occurred!
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

What am i doing wrong. This also comes up when i try to install any other mods.

Thanks
Come and join the fun!!! http://forums.dmediashop.net [nofollow]

Bigguy

In the Packages area of your admin panel go to options, scroll down and click on:

All files are writable.

Then click change file permissions. Try to install the mod, if you still cant go to cpanel to your "Packages" folder and make sure there is a "temp" directory inside, if not create one and chmodd it to 777.

Antac

I have problem...my SMF version is "SMF 1.1.1"
I have installed trought "Packages" Ad Managment 2.3, and installation was succesful!
In "Configuration" I see "Ad management" but when I put code "google ad sense", my ad isn`t publish! Can u help me?

List files in "ad management"
   1.  install.xml (12375 bytes)
   2. LoadAds.php (8939 bytes)
   3. package-info.xml (1075 bytes)
   4. readme.txt (1759 bytes)
   5. Ads.php (11778 bytes)
   6. Ads.english.php (11679 bytes)
   7. Ads.template.php (25316 bytes)
   8. install.php (2370 bytes)

List files in "Classic YaBB SE Theme (1.1)"
images          
languages       
BoardIndex.template.php
Display.template.php
index.php    
index.template.php    
license.txt    
MessageIndex.template.php    
Post.template.php    
Recent.template.php    
Search.template.php    
style.css    
theme_info.xml
hxxp:www.tribe.hr [nonactive]
www.ckscena.com

Bigguy

If you are using a theme other than the default then you will have to edit the template files manually. The 4 files from your theme that need to be edited are:

MessageIndex.template.php
index.template.php
BoardIndex.template.php
Display.template.php

I have posted the edits over here at:

http://www.smfads.com/forums/index.php?topic=475.0

Antac

Quote from: Bigguy on February 12, 2007, 12:49:46 PM
If you are using a theme other than the default then you will have to edit the template files manually.

I dont understand what do u mean! I use classic Jabb theme!

BTW...why "we" must do so much modifications, why isn`t posible just simple install and use ads?!?
hxxp:www.tribe.hr [nonactive]
www.ckscena.com

Advertisement: