News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Ad Management mod

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

Previous topic - Next topic

dennisfreeworld

Quote from: dennisfreeworld on June 12, 2009, 04:46:21 PM
i have a problem installing the ad management mod.I have try and try.
It dont not show any error but I find where it suppose to me ..so what do i do next.
Please this is my forum  hxxp:nigeriaonlinecommunity.com/ [nonactive]

Plz need help


plz help  meeeee

MaXiForum.cz


Bigguy

Some templates aren't going to have the mentioned code in them. This is the time were you need to experiment and compare your template files to the default template files to find out where things should go. It's not really that hard. There is a program out that makes file comparing very easy. It's called Winmerge.

Kat9119

#3883
Quote from: Bigguy on June 13, 2009, 09:44:39 AM
Some templates aren't going to have the mentioned code in them. This is the time were you need to experiment and compare your template files to the default template files to find out where things should go. It's not really that hard. There is a program out that makes file comparing very easy. It's called Winmerge.

I assume that was towards me. I downloaded, and tried that out for index.template.php looked like simple edits. Added the different code.

I still get this error:

QuoteTemplate Parse Error!
There was a problem loading the /Themes/CampBlood/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.
--------------------------------------------------------------------------------


Parse error: syntax error, unexpected '<' in .../Themes/CampBlood/index.template.php on line 188

179:       $ads = show_topofpageAds();   
180:       if(!empty($ads))
181:          if($ads['type']==0)
182:             echo $ads['content'];
183:          else
184:             eval($ads['content']);   
185:       unset($ads);
186:    }
187:
188: <table width="822" height="643" border="0" align="center" cellpadding="0" cellspacing="0" table id="mytable2">189:   <tr>
190:     <td height="643" scope="col"><table width="100%" height="643" border="0" cellpadding="0" cellspacing="0" bordercolor="4B0007" table id="mytable1">
191:       <tr>
192:         <td height="92" colspan="2" bgcolor="#000000" scope="col"><img src="Themes/CampBlood/images/banner2.jpg" width="818" height="90"></td>

It seems like its complaining about the <table width part, but I cannot see why. It works fine before any edits.

I also compared the default theme file and my custom theme file, and the only changes were small theme changes that can't be changed without messing up my theme.

any suggestions?

dzinerfusion

k got that to work, now I got a question how to add to the ''show ad like post'' in the poster left a profile image , all of those icons etc, to make it look like a post? :)

ciuly

I posted here a while ago with a problem I got it helped thanks to kimmies directions, anyone having the same problam can read more here: http://www.simplemachines.org/community/index.php?topic=135761.msg2109710#msg2109710
running SMF 1.1.9

Bigguy

@ Kat9119: On line 186 after the } try adding a ;

Kat9119

#3887
Quote from: Bigguy on June 14, 2009, 06:51:23 PM
@ Kat9119: On line 186 after the } try adding a ;

Ok, tried that out, and got this error:

QuoteTemplate Parse Error!
There was a problem loading the /Themes/CampBlood/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.
--------------------------------------------------------------------------------


Parse error: syntax error, unexpected '<' in .../Themes/CampBlood/index.template.php on line 188

179:       $ads = show_topofpageAds();   
180:       if(!empty($ads))
181:          if($ads['type']==0)
182:             echo $ads['content'];
183:          else
184:             eval($ads['content']);   
185:       unset($ads);
186:    };
187:
188: <table width="822" height="643" border="0" align="center" cellpadding="0" cellspacing="0" table id="mytable2">189:   <tr>
190:     <td height="643" scope="col"><table width="100%" height="643" border="0" cellpadding="0" cellspacing="0" bordercolor="4B0007" table id="mytable1">
191:       <tr>
192:         <td height="92" colspan="2" bgcolor="#000000" scope="col"><img src="Themes/CampBlood/images/banner2.jpg" width="818" height="90"></td>

I uninstalled it for now. Going to upgrade, and then I'll reinstall it and try the edits again or just manually enter coding information somewhere.

dzinerfusion

What i mean is like when I make a post on this forum I can see my whole info, like an image of web (globe) MSN ( msn pic) etc. I want to add that to the left side of my ad unit for the after first post settings.

glennk

Hi there, Im currently trying to install on 2rc1-1. I hope I have the right zip file ?? - ad_mod_v2-3-5_SMF_v2-0RC1-1.zip

If this is the right file then I get the following errors. Could you please advise on what to do.



1.     Execute Code     install.php     
*    2.    Execute Modification    ./index.php    Test successful
      1.    Add After    ./index.php    Test successful
      2.    Add After    ./index.php    Test successful
      3.    Add After    ./index.php    Test successful
*    3.    Execute Modification    ./Sources/Admin.php    Test successful
      1.    Add After    ./Sources/Admin.php    Test successful
      2.    Add After    ./Sources/Admin.php    Test successful
*    4.    Execute Modification    ./Themes/default/index.template.php    Test successful
      1.    Add After    ./Themes/default/index.template.php    Test successful
      2.    Replace    ./Themes/default/index.template.php    Test successful
      3.    Replace    ./Themes/default/index.template.php    Test successful
      4.    Add After    ./Themes/default/index.template.php    Test successful
      5.    Add After    ./Themes/default/index.template.php    Test successful
      6.    Add Before    ./Themes/default/index.template.php    Test successful
*    5.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test successful
      1.    Add Before    ./Themes/default/BoardIndex.template.php    Test successful
      2.    Add After    ./Themes/default/BoardIndex.template.php    Test successful
*    6.    Execute Modification    ./Themes/default/Display.template.php    Test successful
      1.    Add After    ./Themes/default/Display.template.php    Test successful
      2.    Replace    ./Themes/default/Display.template.php    Test successful
      3.    Replace    ./Themes/default/Display.template.php    Test successful
*    7.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test failed
      1.    Add After    ./Themes/default/MessageIndex.template.php    Test failed
      2.    Add After    ./Themes/default/MessageIndex.template.php    Test successful

*    8.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
      1.    Add After    ./Sources/ManagePermissions.php    Test successful
   9.    Extract File    ./Sources/Ads.php    
   10.    Extract File    ./Sources/LoadAds.php    
   11.    Extract File    ./Themes/default/Ads.template.php    
   12.    Extract File    ./Themes/default/languages/Ads.english.php    
   13.    Extract File    ./Themes/default/languages/Ads.english-utf8.php


I have the following packages already installed

1.     Global Headers Footers     2.0     [ Uninstall ]
2.    Yet Another Global Announcements Mod    1.1.7.2    [ Uninstall ]
3.    Read Sticky Topics    1.0.0    [ Uninstall ]
4.    Users Online Today    1.5.4    [ Uninstall ]
5.    Aeva ~ Auto-Embed Video & Audio    6.9.99

duder673

Anyone have any success with Google Adsense?

I am getting around 15,000 pageviews a day on my forums but I haven't earned a cent.

Any pointers?

KirkhamsEbooks

Where are you placing your ads? may I see your forum?

Rick

japan_6

Hi,
Can anyone help me with Ad Management Mod?
I have problem with my language, I am using Macedonian UTF-8 on my forum and when I set my language (Macedonian) I didn't see the Ad Manager in the Admin Panel.

Can anyone tell me how to translate to Macedonian UTF-8 language ?

GravuTrad

use the Manual Install Instructions for SMF  menu in the download part of the mod, and report all concerns languages files into your language file. In this you'll can translate too in you language if you're able to, or at less have it in english.
On a toujours besoin d'un plus petit que soi! (Petit!Petit!)


Think about Search function before posting.
Pensez à la fonction Recherche avant de poster.

DELHI_BOY

I want to install this mod in smf 1.1.9 with ReDARK theme. What r the steps to follow?

Mynamehere

Hi,
am having a few problems:

1) I am unable to run my OpenX channel code in the forums, but  I do not understand why

2) When running google AdSense, it ONLY appears when someone is logged in.

Bigguy

1.) Not sure about this one.

2.) Check permissions.

Anncp

I'm trying to make the manual edits for my theme and I'm having a hard time finding where to make changes in certain areas.

For example, one change is to find </td> in ./Themes/default/index.template.php and replace it with something else.

There are TONS of </td> in the template.php file. Which one do I replace?

I had the same problem with several others too. The thing I'm supposed to find and replace is either not there or there are MANY of them and I haven't got a clue which to choose. Showing some of the before or after code for these common ones would be really helpful.

Just saying "find </td>" is like saying "find a strand of black fur on that black dog." Ok, but which one?

Thank you for any help!

Mynamehere

Quote from: Bigguy on June 23, 2009, 03:45:54 PM
1.) Not sure about this one.

2.) Check permissions.

1. Pity, anyone else perhaps?
2. Where?

Thanks for your time

Bigguy


Advertisement: