Coinbase

Author Topic: Edits for ad_mod_rc2_v2 for themes other than default  (Read 161979 times)

0 Members and 1 Guest are viewing this topic.

Offline Cholo

  • Jr. Member
  • **
  • Posts: 35
    • The Tarheel Forum
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #60 on: August 15, 2006, 07:56:32 pm »
I believe so.  All I know right now is:

-My ads are up and working for the most part
-I can't display ads in the "login bar"(I think that's what it's called) as in other themes
-When I put ads under the menu bar, they go over to the left, even with <center> tags.
-I have a google image only ad that is set to display on the bottom of all pages. It displays on the bottom of every page except the home page.  ???
 
Other than those problems, everything else having to do with the ads seems to be working just fine.

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #61 on: August 15, 2006, 10:53:10 pm »
Do you have a link to the forum so I can see. ???
« Last Edit: August 15, 2006, 11:28:04 pm by bigguy »

Offline Cholo

  • Jr. Member
  • **
  • Posts: 35
    • The Tarheel Forum
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #62 on: August 15, 2006, 10:55:30 pm »
  Oh yes, here you go... www.tarheelforum.com

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #63 on: August 15, 2006, 11:32:14 pm »
If you look here:

http://www.easyc.info/forum/index.php

That is were I had to put the edits so I could get it to show up even close to the "Login bar". To center the ads try this code:

Code: [Select]
<div align="center">ADCODE</div>
As for why they show on all pages at the bottom other than the index, I`m not sure maybe Jerm can answer that.

Offline Cholo

  • Jr. Member
  • **
  • Posts: 35
    • The Tarheel Forum
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #64 on: August 15, 2006, 11:51:09 pm »
 Thanks bigguy. I'm not expecting you have the answer to every one of my questions, but I figured I'd ask. I'll ask Jerm about the no show ad on the bottom. I'll try a few things more too.  And sorry for all the dumb questions, but where exactly would I put that alignment code? Thanks for all your help.

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #65 on: August 16, 2006, 12:19:19 am »
Put that code around the google ad code that you placed in the ad management mod. That should do it.

Offline Cholo

  • Jr. Member
  • **
  • Posts: 35
    • The Tarheel Forum
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #66 on: August 16, 2006, 02:54:25 pm »
 Thanks! That did it.  :)  And where should I post that question for Jerm? or should I pm him directly?
« Last Edit: August 16, 2006, 02:56:15 pm by Cholo »

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #67 on: August 16, 2006, 03:27:06 pm »
No post somewhere on the forums here. maybe here:

http://www.smfads.com/forums/index.php?board=1.0

Offline hygron

  • Jr. Member
  • **
  • Posts: 17
    • global moderator/owner
    • Email
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #68 on: August 21, 2006, 03:29:55 am »
Hey bigguy, I was reffered to you from a member at tinyportal, because I fot a failure message for index.template.php (the rest were successful) after attempting to apply ad manager to my smf1.0.7/tiny portal/techhead theme

I realize the edits you listed were for 1.1...so, can you help me?  Or, please refer me to the correct edits for 1.0.7/tp/techhead?  thanks, Hygron
Live a greener healthier intentionally self-substantial lifestyle, and leave a smaller footprint on dear "Mother Earth"

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #69 on: August 21, 2006, 10:02:24 am »
I posted an answer to your other post, I think that answers this to.

Offline skelm

  • Newbie
  • *
  • Posts: 6
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #70 on: August 26, 2006, 10:46:37 am »
I am using pn-pn theme and get Template Parse Error! when i do the first edit on index.template.php, I tried doing all the edits. Same failure - then I tied doing just the first edit and it give me the below errors.


Template Parse Error!
There was a problem loading the /Themes/pnpn11rc3/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: parse error, unexpected T_STRING, expecting ',' or ';' in .../Themes/pnpn11rc3/index.template.php on line 209

200:
201:          current_header = mode;
202:       }
203:    // ]]></script>
204: </head>
205: <body>
206: //Display ads on the top of the page
207:    $ads = show_topofpageAds();   
208:    if(!empty($ads))

209:       if($ads['type']==0)

210:          echo $ads['content'];
211:       else
212:          eval($ads['content']);   
213:    unset($ads);

Offline DawnsWebDesigns

  • Newbie
  • *
  • Posts: 7
    • Dawn's Web Designs
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #71 on: August 28, 2006, 06:48:35 pm »
I've looked & looked & looked for the right </td> to put your coding before or after.  I simply can't find it.  Actually I've round a few/don't know which to choose from.  I also tried downloading the one you fixed for someone else to copy what you did there.  I can't find a </td> with anything next to it to copy.  My text editing program has line numbers.  Can you tell me which one this </td> might be found?

I just got RC3.  The arcade & donations mods are so touchy you must install them first.  But now I can't install this ad mod through the package manager.  I tried to do it manually...& got an error code about the code missing a (') or a (;) or something like that.  But I already told you about it on the SMF board.  It totally crashed my board & I simply started over/built another one.  I won't do it again.

Maybe I'll just wait 'til I find one I can upload through the package manager.  :-\ 

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #72 on: August 28, 2006, 07:11:10 pm »
Do you have this code in the Index.template.php file ??? If so add the next edit after it:

Code: [Select]
</form>';
}

echo '
';

Offline skelm

  • Newbie
  • *
  • Posts: 6
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #73 on: August 29, 2006, 02:54:34 pm »
I am using pn-pn theme and get Template Parse Error! when i do the first edit on index.template.php, I tried doing all the edits. Same failure - then I tied doing just the first edit and it give me the below errors.


Template Parse Error!
There was a problem loading the /Themes/pnpn11rc3/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: parse error, unexpected T_STRING, expecting ',' or ';' in .../Themes/pnpn11rc3/index.template.php on line 209

200:
201:          current_header = mode;
202:       }
203:    // ]]></script>
204: </head>
205: <body>
206: //Display ads on the top of the page
207:    $ads = show_topofpageAds();   
208:    if(!empty($ads))

209:       if($ads['type']==0)

210:          echo $ads['content'];
211:       else
212:          eval($ads['content']);   
213:    unset($ads);


Bump - any help?

Thanks

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #74 on: August 29, 2006, 03:37:11 pm »
@ skelm: Completely sorry about that. Try this out, Remember to rename it:

SMF Ads Support Forum

Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #74 on: August 29, 2006, 03:37:11 pm »
.

 

.