News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Ad Management mod

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

Previous topic - Next topic

shanksta13

#2880
Okay, I uploaded and installed the mod successfully, but the ad link isn't showing up under the configuration tab in the admin panel.  Any suggestions?

I'm running SMF v 1.1.5.

ccbtimewiz

Quote from: shanksta13 on August 02, 2008, 08:40:15 PM
Okay, I uploaded and installed the mod successfully, but the ad link isn't showing up under the configuration tab in the admin panel.  Any suggestions?

I'm running SMF v 1.1.5.

Is your forum set to English and not utf8-english?

Admin > Server Settings

chinkara

i wanna to know that wher i upload that files.

i m new and i dunno that.

shanksta13

Quote from: ccbtimewiz on August 02, 2008, 09:21:55 PM
Quote from: shanksta13 on August 02, 2008, 08:40:15 PM
Okay, I uploaded and installed the mod successfully, but the ad link isn't showing up under the configuration tab in the admin panel.  Any suggestions?

I'm running SMF v 1.1.5.

Is your forum set to English and not utf8-english?

Admin > Server Settings

Yeah I ran across that in another thread right after I posted that.  Thanks.  I've got my whole forum set up and configured now, made the switch last night.

dannytg

I have installed Ad Management mod on Babylon theme and it works OK, but...

When I paste Google Adsense code into Content box of Ad Management (v2.3) and click add button,
nothing happens...

After few minutes the browser displays error: Connection closed by remote server... (and new Ad is not saved).

If I put a code to show any image from somewhere - there is no problem.

Any ideas?

Kylezz

see it works:




   Sorry about the pic. But still no more adds.
Why do i post alot? I am not a leecher.

hairul

hi, super newbie
im also already install this mod on default theme
but seem the're no admin panel for this mod like nothing install.

actually, what i need b4 install this mod? Im using 1.1.5 smf

babjusi

Quote from: hairul on August 05, 2008, 12:53:53 PM
hi, super newbie
im also already install this mod on default theme
but seem the're no admin panel for this mod like nothing install.

actually, what i need b4 install this mod? Im using 1.1.5 smf

See that the default language of your forum is set to English and not english-utf8 or some other language.

littlewitchy

Hello! :)
I also have a problem with the ad management mod, installed on Smf 1.5. I've managed to installed it, all CHMOD properly set, also modified the php files for the core version, my English is English, not utf-8 and I've read the forum thread.  :)
I just want to know how can run the quieries in the phpmyadmin because I get quieries errors when I run them and I'm coping them from the instruction manual.   ??? No link in the configuration menu also :(((
Thank you very much in advance!!!

babjusi

Quote from: littlewitchy on August 05, 2008, 05:51:18 PM
Hello! :)
I also have a problem with the ad management mod, installed on Smf 1.5. I've managed to installed it, all CHMOD properly set, also modified the php files for the core version, my English is English, not utf-8 and I've read the forum thread.  :)
I just want to know how can run the quieries in the phpmyadmin because I get quieries errors when I run them and I'm coping them from the instruction manual.   ??? No link in the configuration menu also :(((
Thank you very much in advance!!!

You can run the queries at the "SQL" box

Adish - (F.L.A.M.E.R)

Hello,

Only the code which didnt find was    template_menu();

but found lots of    template_menu()

Hence added the code after one of them which I felt was right.

After doing so, i got this error. And hence i restored the older file. Anything that I had to do to solve this error ?

Template Parse Error!
There was a problem loading the /Themes/dn/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
syntax error, unexpected ';', expecting '{'

littlewitchy

Quote from: babjusi on August 05, 2008, 05:55:41 PM
You can run the queries at the "SQL" box
Hi:)
I'm running the queries in there but it returns only with error messages. The first to quieries are for creating two tables. I have those two tables, but I can't execute the other quieries because of the returning errors. What should I do?
Thanks!:)

Farmacija

i have problem with using this mod ...

http://www.simplemachines.org/community/index.php?topic=246185.0

when i disable ads, forum works fine, but when i activate ads on top of page, user info box disapear ...

i don't know where is a problem and i didn't change anything ... (except some smaller changes ...)
www.farmaceuti.com
www.farmaceuti.com/tekstovi

ccbtimewiz

Quote from: Farmacija on August 06, 2008, 09:18:32 AM
i have problem with using this mod ...

http://www.simplemachines.org/community/index.php?topic=246185.0

when i disable ads, forum works fine, but when i activate ads on top of page, user info box disapear ...

i don't know where is a problem and i didn't change anything ... (except some smaller changes ...)

What theme are you using? What mods do you have installed? What PHP version is your server running? What SMF version are you running? Are you using Apache?

Farmacija

#2894
default theme.
mods list are in attach
Apache version   2.0.63
PHP version   5.2.5
MySQL version   4.1.22-standard
smf 1.1.5

i didn't install any mods recently ...

it just start to happens and i realise that when i disable all ads which i put on site by ad management mod, everything is fine ...  :o
www.farmaceuti.com
www.farmaceuti.com/tekstovi

TheDisturbedOne

Quote from: chinkara on August 03, 2008, 02:58:42 PM
i wanna to know that wher i upload that files.

i m new and i dunno that.
Upload the .zip file to the packages manager.

Adish - (F.L.A.M.E.R)

I have done all the theme edits but as the parser didnt show the correct place where i had to put the codes, i have added them acording to a bit of understanding. I am sure about that, that some of the codes arn't placed right.

the code which i had to add after:-
template_menu();

which was:-

//Below the menu ads
if (function_exists("show_indexAds") && function_exists("show_towerleftAds") && function_exists("show_towerrightAds"))
{
$ads = show_indexAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);

//Tower left Ads
$ads = show_towerleftAds();
if(!empty($ads))
echo '<table><tr><td valign="top">', $ads['type']==0 ? $ads['content'] : eval($ads['content']) ,'</td><td width="100%" valign="top">';

unset($ads);
//Tower Right Ads
$ads = show_towerrightAds();
if(!empty($ads))
echo '<table><tr><td width="100%" valign="top">';
unset($ads);
}



Isnt added, as the code which i had to find wasnt present in my theme(Dark Night).

Kindly check them and please do the needful. I have been trying out hard to make this mod work properly.

Attached files of theme (Dark Night):-
Index.template.php
BoardIndex.template.php

Please Help me out.

Thank you.

ronychris

I need your help,please  :(
I tried anything...
So,i have installed correctly the ad management,i have set the permissions,the language is English (only this language i have in my theme),i use Extreme 2 theme,i made an ad with correct html and i check the option to be displayed at any page below the menu and i am sure for 1 thing: Ad is displayed correctly only if i set up the forum to Default Core Theme. Please,someone could tell me what goes wrong or i'm going to burn my P/C?

ccbtimewiz

Quote from: ronychris on August 07, 2008, 10:33:34 PM
I need your help,please  :(
I tried anything...
So,i have installed correctly the ad management,i have set the permissions,the language is English (only this language i have in my theme),i use Extreme 2 theme,i made an ad with correct html and i check the option to be displayed at any page below the menu and i am sure for 1 thing: Ad is displayed correctly only if i set up the forum to Default Core Theme. Please,someone could tell me what goes wrong or i'm going to burn my P/C?

Did you make the appropriate edits in your theme's template files?

ronychris

Quote from: ccbtimewiz on August 07, 2008, 10:58:33 PM
Quote from: ronychris on August 07, 2008, 10:33:34 PM
I need your help,please  :(
I tried anything...
So,i have installed correctly the ad management,i have set the permissions,the language is English (only this language i have in my theme),i use Extreme 2 theme,i made an ad with correct html and i check the option to be displayed at any page below the menu and i am sure for 1 thing: Ad is displayed correctly only if i set up the forum to Default Core Theme. Please,someone could tell me what goes wrong or i'm going to burn my P/C?

Did you make the appropriate edits in your theme's template files?

I suppose here is my fault... No,i didn't make any change to template files so i guess that it won't work. If it's possible guide me what exactly to do because i'm not an expert but i know lot of things. Maybe i have to go to a specific place in theme's template using css editor and change something? Am i right?

Advertisement: