Coinbase

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

0 Members and 1 Guest are viewing this topic.

Offline rav33n

  • Newbie
  • *
  • Posts: 5
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #270 on: March 15, 2007, 07:07:36 pm »

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #271 on: March 16, 2007, 09:51:39 am »
Rename the index.template.php file to index.template1.php and see what happens.

Offline maldo

  • Newbie
  • *
  • Posts: 2
    • Email
Re: Edits for ad_mod_rc2_v2 for Remorse Lite Theme
« Reply #272 on: April 08, 2007, 12:46:30 pm »
Hello there,

Can any one help me to edit the theme files to work with ad management for the Remorse Lite Theme , I made a search in the forum and I don't think anyone has the edited files for that theme.

I tried to edit using the instructions above but a few of the codes to find and edit are missing in this theme, very confused, please help.

I am attaching the files.

Any help is very much appreciated.

Offline rhommel

  • Newbie
  • *
  • Posts: 1
    • Email
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #273 on: April 09, 2007, 10:01:33 am »
Havent yet, I tried to add in myself but the coding for rocket themes versatility 2 is totally different with the default themes, therefore i duno how to manual install into the coding part especially for index.template.php. Could you give me some hints how to add in to the themes.

Thanks and regards,
Hongster

I also have this theme ( rockettheme's Versatility 2 template) I am also having a difficulty with this mod. Can you help us out? Thanks!

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #274 on: April 09, 2007, 08:37:06 pm »
Are these files un-edited. ???

Offline vlad230

  • Newbie
  • *
  • Posts: 2
    • Email
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #275 on: April 15, 2007, 06:12:20 am »
I can't find this line:
Quote
</td></tr>';
   }
I have looked at the file like 4 times and I can't see that line.....:(
I'm using the smfone_green template
Pls help
www.auto4tuning.com - Tuning videos & photos

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #276 on: April 16, 2007, 06:35:01 pm »
Try searching for just part of the line. Or are you looking for it manually. ???

Offline vlad230

  • Newbie
  • *
  • Posts: 2
    • Email
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #277 on: April 17, 2007, 12:35:54 pm »
Try searching for just part of the line. Or are you looking for it manually. ???
Yeah... I was looking for it manually  :o
Used the find tool from dreamweaver but the closest thing that it finds is:
Code: [Select]
// Show the post itself, finally!
echo '
</td>
</tr></table>

<div class="post"', $message['can_modify'] ? ' id="msg_' . $message['id'] . '"' : '', '>', $message['body'], '</div>', $message['can_modify'] ? '
<img src="' . $settings['images_url'] . '/icons/modify_inline.gif" alt="" align="right" id="modify_button_' . $message['id'] . '" style="cursor: pointer;" onclick="modify_msg(\'' . $message['id'] . '\', \'' . $context['session_id'] . '\')" />' : '' , '
</td>
</tr>';

// Now for the attachments, signature, ip logged, etc...

No "}"  ???
strange....
www.auto4tuning.com - Tuning videos & photos

Offline Flama

  • Newbie
  • *
  • Posts: 1
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #278 on: April 21, 2007, 09:48:03 pm »
Hi all!
First i want to say thanks for this nice mod! ;)

What i have
SMF 1.1.2
Versatility2 from Rockettheme

What is working
Display ads on board index
Display ads on message index
Display ads on the post page
Display ads after the last post

Not working
Display ads on every page right below the menu
Display ads on the bottom of the page
Display ads on every page as a tower on the right side
Display ads on every page as a tower on the left side

I've succesfully modified BoardIndex.template.php, Display.template.php, MessageIndex.template.php

The issue is with index.template.php
No matter where i put the code, the ad's simply refuses to show me. :idiot:

I know that only one simple step is needed to make this mod fully working with Versatility2 theme, but (yet) cannot figure it out what is wrong.  :-\

I've attached modified BoardIndex.template.php, Display.template.php, MessageIndex.template.php(moded.zip) and unmodified index.template.php + screenshot of a partially working mod.

Maybe Ads.template.php need some modifications too?
I would be very happy if somebody can put me in the right direction! ;)

Versatility2 users united!  ;D
« Last Edit: April 21, 2007, 11:10:38 pm by Flama »

Offline ange1us

  • Newbie
  • *
  • Posts: 1
    • Email
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #279 on: April 21, 2007, 10:21:18 pm »
Hi all!
First i want to say thanks for this nice mod! ;)

What i have
SMF 1.1.2
Versatility2 from Rockettheme

What is working
Display ads on board index
Display ads on message index
Display ads on the post page

Not working
Display ads on every page right below the menu
Display ads on the bottom of the page
Display ads on every page as a tower on the right side
Display ads on every page as a tower on the left side

I've succesfully modified BoardIndex.template.php, Display.template.php, MessageIndex.template.php

The issue is with index.template.php
No matter where i put the code, the ad's simply refuses to show me. :idiot:

I know that only one simple step is needed to make this mod fully working with Versatility2 theme, but (yet) cannot figure it out what is wrong.  :-\

I've attached modified BoardIndex.template.php, Display.template.php, MessageIndex.template.php(moded.zip) and unmodified index.template.php + screenshot of a partially working mod.

Maybe Ads.template.php need some modifications too?
I would be very happy if somebody can put me in the right direction! ;)

Versatility2 users united!  ;D


Holy GOD !!!!

IT WORKS

MANY THANKS  ;D ;D ;D

Offline liberte

  • Newbie
  • *
  • Posts: 9
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #280 on: May 06, 2007, 06:51:01 am »
Hi
for newbies

The logic is very simple
If you are not sure where to put related ad code in your SMF Theme,
just open your default theme

look at the place of the ad

then open your favorite theme
try to find similar place at your favorite theme, for instance insert
a word like "hhhhhhhhhhhhhhhhh" into your codes
if you feel ok with the place that "hhhhhhhhhhhhhhhhh" is seen
then replace the ad code there.

Just trial and error, nothing to lose.

Offline mehalaktas

  • Newbie
  • *
  • Posts: 1
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #281 on: May 07, 2007, 05:00:28 am »
Hi everybody
I have problem with my ad mannegment mod. I add the problem's picture.
« Last Edit: May 09, 2007, 09:39:50 am by mehalaktas »

Offline most_wanted

  • Newbie
  • *
  • Posts: 3
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #282 on: May 13, 2007, 04:00:43 am »
using lightning01 theme and getting this error
Code: [Select]
Parse error: parse error, unexpected $ in .../Themes/lightning01/Display.template.php on line 755

746: </td>
747: </tr>
748: </table>';
749: }
750: if ($context['show_spellchecking'])
751: echo '
752:  <form action="', $scripturl, '?action=spellcheck" method="post" accept-charset="', $context['character_set'], '" name="spell_form" id="spell_form" target="spellWindow"><input type="hidden" name="spellstring" value="" /></form>';
753: }
754:

755: ?>

756:
757:

Display.template.php attached
« Last Edit: May 13, 2007, 04:07:07 am by most_wanted »

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #283 on: May 25, 2007, 02:29:59 pm »
Is 755 the end of the file. ???

Offline most_wanted

  • Newbie
  • *
  • Posts: 3
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #284 on: May 25, 2007, 03:30:36 pm »
yes it is....

SMF Ads Support Forum

Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #284 on: May 25, 2007, 03:30:36 pm »
.