Coinbase

Author Topic: Can't get Ad MAnager installed on my theme - paid install request.  (Read 6963 times)

0 Members and 1 Guest are viewing this topic.

Offline neilwheel

  • Newbie
  • *
  • Posts: 6
    • Email
Hi,

I'm running a 1.1.5 board and would love to get this mod installed. It installed without a hitch, but only on the default skin and I'm using a version of Versatility. I tried the package parser tool, but there's a lot of differences in the theme from what the parser is telling me to change.

Would anyone consider maybe helping me out getting the mod up and running? I can make a  donation to anyone who would help. My site is not a commercial one, but i would like to display ads for the forum's supporters as a way of saying thanks for their help getting the forum off the ground.

TIA,

Neil


Offline djrem

  • Jr. Member
  • **
  • Posts: 26
Re: Can't get Ad MAnager installed on my theme - paid install request.
« Reply #1 on: May 15, 2008, 01:59:50 pm »
What access do you have to the backend of your site?

Do you have FTP details.

I dont mind having a look, just remember that if a file isnt in your theme then it uses the default themes file.

You'll probably only need to edit a few files out of all that hte Package Parser suggests.

Offline neilwheel

  • Newbie
  • *
  • Posts: 6
    • Email
Re: Can't get Ad MAnager installed on my theme - paid install request.
« Reply #2 on: May 16, 2008, 05:50:55 am »
Hi dj,

I've got everything installed OK, the package shows up on my admin panel, so I think it is installed correctly. But when I run it throught the package parser to find out what theme edits to make, the first thing that comes up is this:

Code: [Select]
Find:

[color=red]<body>';[/color]



Add after:

 
//Display ads on the top of the page
if (function_exists("show_topofpageAds"))
{
$ads = show_topofpageAds();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}
 
 



I can't get past this point, because i can't work out where to put the extra code. My chosen theme does not have the '<body>' code sitting on a line of its own.

I have full access to everyhing; ACP and FTP.

Here's my index.template and you can see what I mean.

Offline gumgone

  • Newbie
  • *
  • Posts: 9
    • Hosting - advice and Help
Re: Can't get Ad MAnager installed on my theme - paid install request.
« Reply #3 on: August 08, 2008, 02:11:02 pm »

I have the same issue, can I get some help
"I always click on sponsor links of the visited site"

Please share my love;
Hosting - All the advice and Help you'll need to Start a Web Site

Offline neilwheel

  • Newbie
  • *
  • Posts: 6
    • Email
Re: Can't get Ad MAnager installed on my theme - paid install request.
« Reply #4 on: August 20, 2008, 12:50:34 pm »
I'm still not able to get the Ads mod fully installed.
It seems to be working for me under categories, but I still can't display on the board index, at the top of each page, or at the bottom of the forum. I'm still using v1.1.5 and the Versatility theme, so I'd appreciate any help on offer or hear from anyone who has some experience of installing the mod on my chosen theme.

Please help if you can.

Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: Can't get Ad MAnager installed on my theme - paid install request.
« Reply #5 on: August 20, 2008, 01:20:09 pm »
In your case, do this:

Find:
Code: [Select]
echo '

<body id="page_bg" class="'.$widthstyle.' '.$fontstyle.' header-'.$header_style.' toolbar-'.$toolbar_style.' footer-'.$footer_style.'">

<div id="header">

Replace with:
Code: [Select]
echo '

<body id="page_bg" class="'.$widthstyle.' '.$fontstyle.' header-'.$header_style.' toolbar-'.$toolbar_style.' footer-'.$footer_style.'">';

<the ad code>

echo '<div id="header">';
« Last Edit: August 20, 2008, 01:58:49 pm by ccbtimewiz »

Offline neilwheel

  • Newbie
  • *
  • Posts: 6
    • Email
Re: Can't get Ad MAnager installed on my theme - paid install request.
« Reply #6 on: August 20, 2008, 02:03:56 pm »
In your case, do this:

Find:
Code: [Select]
echo '

<body id="page_bg" class="'.$widthstyle.' '.$fontstyle.' header-'.$header_style.' toolbar-'.$toolbar_style.' footer-'.$footer_style.'">

<div id="header">

Replace with:
Code: [Select]
echo '

<body id="page_bg" class="'.$widthstyle.' '.$fontstyle.' header-'.$header_style.' toolbar-'.$toolbar_style.' footer-'.$footer_style.'">';

<the ad code>

echo '<div id="header">';

Hi, is to be done in the index.template file?

Would I add the code for the banner ad, then uninstall the ad management mod?

Thanks for helping,

Neil

Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: Can't get Ad MAnager installed on my theme - paid install request.
« Reply #7 on: August 20, 2008, 02:09:24 pm »
No need to uninstall the mod-- perform these edits on your index.template.php of your theme.

I've done the edits for you. Either perform the following hacks or download the attached file:

Code: [Select]
if( !$context['joomla_wrapped'] ) {

echo '<body id="page_bg" class="'.$widthstyle.' '.$fontstyle.' header-'.$header_style.' toolbar-'.$toolbar_style.' footer-'.$footer_style.'">';

//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 '
<div id="header">

<div class="wrapper">

Offline gri

  • Full Member
  • ***
  • Posts: 111
  • Space Human
Re: Can't get Ad MAnager installed on my theme - paid install request.
« Reply #8 on: August 21, 2008, 06:25:09 pm »
Quote from: [url=http://www.smfads.com/forums/index.php?topic=1609.msg6551#msg6551]neilwheel in ~Can't get Ad MAnager installed on my theme~[/url]
i would like to display ads for the forum's supporters
as a way of saying thanks for their help getting the forum off the ground.

neilwheel,
you still have not included the link to your forum into your profile.
Hence how will the readers of smfads.com forum will be able to see the ads
in the honour of a Helper ?
And how will the Helpers which are (or will be) banned from smfads.com forum
be able to help you ?

Quote from: [url=http://gri.sunshinehost.net/index.php?topic=2165.msg3089#msg3089]gri in ~Instruction on getting PAY-ME mod installation Help~[/url]
-  Before posting a request
   check that the link to your forum
   is included into your (smfads.com forum) ~Profile ->
    Forum Profile Information -> Website URL~ field.
Instruction on getting Help on PAY-ME (AdManagement) mod installing.
Your GRItoadMIXes

Offline ccbtimewiz

  • Sr. Member
  • ****
  • Posts: 326
    • Dream Portal
Re: Can't get Ad MAnager installed on my theme - paid install request.
« Reply #9 on: August 22, 2008, 09:38:48 am »
Quote from: [url=http://www.smfads.com/forums/index.php?topic=1609.msg6551#msg6551]neilwheel in ~Can't get Ad MAnager installed on my theme~[/url]
i would like to display ads for the forum's supporters
as a way of saying thanks for their help getting the forum off the ground.

neilwheel,
you still have not included the link to your forum into your profile.
Hence how will the readers of smfads.com forum will be able to see the ads
in the honour of a Helper ?
And how will the Helpers which are (or will be) banned from smfads.com forum
be able to help you ?

Quote from: [url=http://gri.sunshinehost.net/index.php?topic=2165.msg3089#msg3089]gri in ~Instruction on getting PAY-ME mod installation Help~[/url]
-  Before posting a request
   check that the link to your forum
   is included into your (smfads.com forum) ~Profile ->
    Forum Profile Information -> Website URL~ field.


.. Erm. S/he doesn't need to do this. From the profile screen--

Quote
This information will be displayed throughout SMF Ads Support Forum. If you aren't comfortable with sharing some information, simply skip it - nothing here is required.

Likewise, we have an advertise board if they'd like to show off their site.

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Can't get Ad MAnager installed on my theme - paid install request.
« Reply #10 on: August 29, 2008, 08:31:20 pm »
This is not in the right board. MOVED.

Offline neilwheel

  • Newbie
  • *
  • Posts: 6
    • Email
Re: Can't get Ad MAnager installed on my theme - paid install request.
« Reply #11 on: August 30, 2008, 11:48:28 am »
No need to uninstall the mod-- perform these edits on your index.template.php of your theme.

I've done the edits for you. Either perform the following hacks or download the attached file:

Code: [Select]
if( !$context['joomla_wrapped'] ) {

echo '<body id="page_bg" class="'.$widthstyle.' '.$fontstyle.' header-'.$header_style.' toolbar-'.$toolbar_style.' footer-'.$footer_style.'">';

//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 '
<div id="header">

<div class="wrapper">


Thanks a million. I've been building the banners to be displayed and once they're all done, I'll update my index.template. This is a similar approach to the one I took when working with IPB.

cheers,


neil
frameforum dot org 

SMF Ads Support Forum

Re: Can't get Ad MAnager installed on my theme - paid install request.
« Reply #11 on: August 30, 2008, 11:48:28 am »
.

 

.