Ad Management mod

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

Previous topic - Next topic

MultiformeIngegno

Quote from: Bigguy on May 29, 2009, 12:47:00 PM
Pretty much the same thing isn't it. ??? Code changes to SMF files in different versions makes this check a must.
And... an online check?
The author can provide an updated list of compatible-versions... when installing the package goes online and checks if it's compatible!

If not (or it can't access to the site) it will prompt an advice.. or something... :)
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

Bigguy

I'm not saying its a bad idea. If you would like to post it in the general support board instead of a mod help thread then I am sure someone will be with you shortly. :)

MultiformeIngegno

You're right, sorry! :P

But... now I've a support request for you... ;)
Why in my forum (I've Ad management mod installed) when users aren't logged the login box in welcome area is grey?


...when logged it's "normal".... this happens with every browser (i've tried with ie 7/8, firefox, chrome...)
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

Bigguy

I would have to go through the mod but maybe there is a .css change in it somewhere.

MultiformeIngegno

Quote from: Bigguy on May 30, 2009, 08:55:41 AM
I would have to go through the mod but maybe there is a .css change in it somewhere.
If you want I can post the css files here...
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

TomW

I manually installed this mod in RC1, and get this error when trying to save an ad:

Unknown column 'CATEGORY' in 'field list'
File: /Users/Tom/Sites/TheGarage2/Sources/Ads.php
Line: 315

Please help.


Bigguy

Did you run the install.php after manually installing it. If not then database changes have not been made.

Bigguy

@ lorenzone92: Come to think of it, I'm not sure there are .css changes in this mod. ???

TomW

Quote from: Bigguy on May 30, 2009, 04:16:08 PM
Did you run the install.php after manually installing it. If not then database changes have not been made.

Yes, but there is an error in the syntax, so I ran the create table scripts & added values to the *settings table.  I ignored the section to add columns for an upgrade, but did not notice that CATEGORY is missing from the initial create table script.  After I added that column, it is working.  Thanks for pointing me in the right direction.

However - the create table script for *_ads table should be corrected in install.php...

Bigguy

Thanks for pointing that out. I will point the mod author to your post.

MultiformeIngegno

Quote from: Bigguy on May 30, 2009, 04:16:54 PM
@ lorenzone92: Come to think of it, I'm not sure there are .css changes in this mod. ???
Mmmh... so... what could it be...?
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

Bigguy

I'm not sure, I think this has been a bit of a problem for awhile. Although not serious it is annoying.

krick

Quote from: Bigguy on May 28, 2009, 07:06:47 PM
You would have to edit the .xml file to make it compatible with 1.1.9 Then repack the mod and try installing it.

I just did a clean 1.1.9 install yesterday and then installed Ad Management and it installed perfectly with no errors.  If you are seeing errors during the install and you're on a unix based server, then the problem is likely file/folder ownership issues.  If you have a control panel like Plesk, go in and make sure that all source files that are modified by Ad Management have the same ownership and permissions as the rest of the SMF files.

fx991

MY ADS ARE NOT SHOWING TO GUESTS.

I am using SMF 2.0 RC1-1

MultiformeIngegno

Quote from: Bigguy on May 30, 2009, 07:36:33 PM
I'm not sure, I think this has been a bit of a problem for awhile. Although not serious it is annoying.
I've tried to uninstall it (deleting also the db tables) and reinstall... but... nothing... :(
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

jossanaijr

Quote from: fx991 on May 31, 2009, 12:14:36 PM
MY ADS ARE NOT SHOWING TO GUESTS.

I am using SMF 2.0 RC1-1
Check permission to show to guests.

MultiformeIngegno

Quote from: lorenzone92 on May 30, 2009, 08:35:12 AM
Why in my forum (I've Ad management mod installed) when users aren't logged the login box in welcome area is grey?


...when logged it's "normal".... this happens with every browser (i've tried with ie 7/8, firefox, chrome...)
Here's the code in my index.template.php...


if (!empty($modSettings['enableOpenID']))
echo'
<br />
<input type="text" name="openid_url" id="openid_url" size="25" class="openid_login" />';

echo '
<input type="hidden" name="hash_passwrd" value="" />
</form>';
}

echo '
</div>';
echo '<div class="windowbg2 clearfix" align="right">';
//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']);
}
unset($ads);
}
echo '</div>';
echo '

</div>


please... help me... :)
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

terroja

Nothing shows up under my configure menu, regardless of whether I use the default theme or a custom one. I've gotten no error message at all. It looks to be installed properly.

MultiformeIngegno

If you don't know what's the problem.. can you tell me how can I MANUALLY add ads in the welcome user area (SMF 2.0rc1-1)? Thanks!! :)
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

Kat9119

#3839
I'm curious. I know you can disable ads for members, but can  you disable SOME ads for members?

For example, I want guests to see all ads (on top of pages and in posts), and I want users to only see the ads on the top of the pages.

Also, ads will not work on board index. Its okay by me, but I'm thinking I should fix it so it works. I'm assuming that boardindex and index didn't get updated for my custom theme (which is the default theme) and I went to do edits...only there are no instructions for 1.1.8???

Advertisement: