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

Get Pumped Saltwater

no I dont use the Core Theme

Just a Custom Theme.. My designer set up for me..

BaghdadGhost

Quote from: Get Pumped Saltwater on January 03, 2012, 06:16:25 PM
no I dont use the Core Theme

Just a Custom Theme.. My designer set up for me..

since you dont use it then ignore the errors and dont click the box for core. you also want to ask your designer to modify the theme for you

the files to modify are

BoardIndex.template.php

Display.template.php

MessageIndex.template.php

if you dont find any of these dont worry as the custom theme is using the default theme files.



humbleworld

Hi Vbgamer45, I installed this MOD in another forum site of mine. I place the ad every after the first post. Now I would like the title of the forum removed from the ad. I chose that the ad would look like a post itself. But I just want the title of the forum disappear so that what it appears is just the Ad.

Please, how shall I edit it?

shruggin

I have Ad Management v. 2.3 on SMF 2.0.2. I have one ad and the settings are set for HTML and to show up on every page. Everything seems fine until you try and reply to a post topic. Then it seems that the link extends down the page (way past the actual ad image) so if you click on the page anywhere around the post reply box, you are taken to the link that is for the ad. Any ideas on how to make it stop doing this?


Kindred

sounds like you have a problem in the ad code that you inserted....   check that all of your link tags are closed.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

shruggin

Exactly it! Thanks for the reminder to look for the simple solution. I thought I had them all but when I looked again I found that one was missing.

BaghdadGhost

Quote from: BaghdadGhost on December 31, 2011, 05:11:18 PM
my problem is related to ads managements mod installing on custom theme with simple portal. here is the problem.


if you parse the mod the second changes to boardindex.template.php is


<tbody class="divider">
<tr>
<td colspan="4"></td>
</tr>
</tbody>';



add after



echo '<tbody><tr><td colspan="4">';
//Display ads Between cats
if (function_exists("show_category"))
{
$ads = show_category($category['id']);
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
echo ' </td></tr></tbody>';



at the time of installing ads mod I was not able to locate the find, therefore I predicted and compared boardindex custom with default boardindex

attached is my boardindex.template file. please take a look at it and see where the above code should be.

for more info about the problem and its effect to SP please visit

http://www.simplemachines.org/community/index.php?topic=227599.msg3236889#msg3236889


thanks

can someone help me with my problem please.


thanks

Get Pumped Saltwater

Mod is installed... But every ad HTML that I put in the "Contents Box" will not show on the forum... Anywhere.. I click add and go to the forum to find it and nothing... Doesn't even look like I did anything.. No extra spaces or nothing..

Trying to put this on or near my footer..

<html>
<head>
<title>Tapatalk-Button-Small</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (Tapatalk-Button-Small.gif) -->
<img src="Tapatalk-Button-Small.gif" width="150" height="50" alt="">
<!-- End ImageReady Slices -->
</body>
</html>

Supposed to look like this:


Custom Theme
2.0.1 SMF

Suggestions Please..

Thanks, Lance

vbgamer45

Just put <img src="Tapatalk-Button-Small.gif" width="150" height="50" alt="">
And then use an absolute path to the gif file.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

sadaam

Quote<tbody class="divider">
            <tr>
               <td colspan="4"></td>
            </tr>
         </tbody>';

frm where ti find this code at    ./Themes/core/BoardIndex.template.php

plz discribe..it is a very big problem and a new challenge 4 smf 2.0.2 users...in    ./Themes/core/BoardIndex.template.php file....

:'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'(
Me feel proude to use SMF!!

Get Pumped Saltwater

Quote from: vbgamer45 on January 07, 2012, 07:19:50 PM
Just put <img src="Tapatalk-Button-Small.gif" width="150" height="50" alt="">
And then use an absolute path to the gif file.

But, why wont my code work?

I have more ad's to put up, but there all in code.. So whats up with the mod?

Does anyone have an html code for me to test this mod.. I haven't seen any of my ads work with this mod.. Its pretty useless so far.

Get Pumped Saltwater

I got it to work...

<!-- TapaTalk Icon-->
<div align="center">
        <a href="http://www.tapatalk.com" target="_blank"><img src="http://s.reefcentral.com/forums/images/logo/Tapatalk-Button-Small.png"></a></p>
                <div class="smallfont">

                        TapaTalk Enabled</p>
                </div>
</div>
<!-- End TapaTalk Icon -->


vbgamer45

Glad you got it working.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Get Pumped Saltwater

Quote from: vbgamer45 on January 08, 2012, 12:54:06 PM
Glad you got it working.

I got that one working because I just copyed the location on the forum I got it from...

Im trying to add my own ad and still no joy..

<img src="http://www.getpumpedsaltwater.com/forum/Themes/2011/images/tbrc_393x60-1.gif" border="0">

Not working..

Get Pumped Saltwater

ok.. so what do I need todo to make this pic work?


Gadget Boy

#6535
i have some problem with the forum and so i uninstalled this mod and deleted the files "Sources", "Packages" and "Themes" and re-uploaded and now its showing me the prob "An Error Has Occurred! Unable to load the 'Ads' template." whenever i open the forum and cant go to admin panel or anywhere
My forum- http://forum.symbian-developers.net/

please help me, i dont wanna loose everything :(
For Mobile, Pc related discussions and softwares
Visit--
http://forum.mobilegearz.com/

BaghdadGhost

I think you did many unnecessary changes. sounds like a lot of changes. your comment is not clear. try to explain from the beginning what happen step by step starting from when the forum was working fine and you decided to install the mod.


Gadget Boy

the forum showed error saying that "load.php" had some problem, then i reuploaded "load.php" and it was working fine and then i uninstalled all the mods that i have installed and all the themes, at this time the forum was working fine until then i thought to reupload the forum files and so i deleted the files "Sources", "Packages" and "Themes" and re-uploaded them and now its showing me the prob "An Error Has Occurred! Unable to load the 'Ads' template."

i hope i have explained well :)
For Mobile, Pc related discussions and softwares
Visit--
http://forum.mobilegearz.com/

Kindred

If you want to remove all mods, then re-upload the files from the large upgrade package and turn OFF custom themes (or remove the edits made to custom themes)

If you just want to remove ONE mod, then you should either run the uninstall or manually remove the code changes.
What you did is almost guaranteed to screw things up.

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Gadget Boy

For Mobile, Pc related discussions and softwares
Visit--
http://forum.mobilegearz.com/

Advertisement: