Coinbase

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

0 Members and 1 Guest are viewing this topic.

Offline botcee

  • Newbie
  • *
  • Posts: 8
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #180 on: November 10, 2006, 07:28:58 am »
Hey bigguy, really appreciate for your doing this for us.I have added the codes in all the places except index.template.php.Im attaching the untouched version, could you please modify it and give it to me?Thanks a lot

Offline botcee

  • Newbie
  • *
  • Posts: 8
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #181 on: November 11, 2006, 02:34:14 pm »
big man, please reply! :(

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #182 on: November 12, 2006, 03:52:44 pm »
@ botcee: um What theme is this. It is completely different then anything I have seen. I don't think I can edit this.

Offline Rastarr

  • Jr. Member
  • **
  • Posts: 10
    • Email
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #183 on: November 12, 2006, 07:49:52 pm »
@ Rastarr: No I mean rename the display.template.php file in your theme to display.template1.php

This way SMF will read off of the default theme for that template file and the edits should already be there.

OK, I understand. I've done this however all the formatting is now wrong, per the attached example.
Have you been unable to properly insert the ad mod code into this theme?

Offline BlueJayWay

  • Newbie
  • *
  • Posts: 4
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #184 on: November 13, 2006, 12:51:43 am »
@ BlueJayWay: Is this your error or did you get this solved. ??? If you didn't you can send me your template files and i will see what I can do. ;)

The error I got after editing.
The files are attached, thank you.


Offline botcee

  • Newbie
  • *
  • Posts: 8
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #185 on: November 13, 2006, 12:52:33 am »
Im using rockethemes smf_fire

Offline mutya

  • Newbie
  • *
  • Posts: 7
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #186 on: November 13, 2006, 03:33:47 am »
hello bigguy,
still have the same problem with the parse error  :(
can you pls. help? see the error below:
thank you!

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/dilbermc/index.template.php on line 260

251:                echo $ads['content'];
252:             else
253:                eval($ads['content']);
254:             echo '</td>';
255:          }
256:          unset($ads);
257:    echo '
258:
259:    echo '

260:                <td valign="middle" height="30" style="padding-top:0px; padding-bottom:0px; padding-right:20px" class="middletext" align="right">

261:             <form action="', $scripturl, '?action=search2" method="post" style="margin: 0px;">
262:                <a href="', $scripturl, '?action=search;advanced"><img src="'.$settings['images_url'].'/filter.gif" align="middle" style="margin: 0px;" alt="" /></a>
263:                <input type="text" name="search" value="" style="width: 190px;" />
264:                <input type="submit" name="submit" value="', $txt[182], '" s

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #187 on: November 13, 2006, 09:17:03 pm »
Try taking out the extra echo on line 259. I don't think 2 are need there. See if that helps. That looks wrong to me to echo statements in the same place.

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #188 on: November 13, 2006, 09:20:40 pm »
@ BlueJayWay: Try this, backup first:

Offline mutya

  • Newbie
  • *
  • Posts: 7
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #189 on: November 14, 2006, 11:02:17 pm »
Try taking out the extra echo on line 259. I don't think 2 are need there. See if that helps. That looks wrong to me to echo statements in the same place.
it worked! you're the guy, bigguy! tnx!  :)

Offline Nikitostik

  • Newbie
  • *
  • Posts: 2
    • Email
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #190 on: November 15, 2006, 09:09:54 am »
Hi all! I have a problem to, if i edit some sing in index.themplate.php i see only errors and my board donīt open
maybe you (bigguy) can look it. Theme is Ih-oh  and SMF 1.0.9

Thanks in Advice!
« Last Edit: November 15, 2006, 09:22:43 am by Nikitostik »

Offline angie1791

  • Newbie
  • *
  • Posts: 1
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #191 on: November 15, 2006, 12:30:00 pm »
Just want to say THANKS bigguy!  Your modifications work great! I am using Ig-Oh theme (1.1 RC3) and was able to get it working with no further modifications.

You're awesome!   ;)

Ange

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #192 on: November 15, 2006, 03:30:13 pm »
@ Nikitostik: try this.

@ angie1791: You are more than welcome.


Offline Nikitostik

  • Newbie
  • *
  • Posts: 2
    • Email
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #193 on: November 16, 2006, 07:42:14 am »
Thanks but the same, board show me folloing error: Template Parse Error!
There was a problem loading the /Themes/igoh10xb/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.
----------------------------
i canīt edit nothing, if i edit somesing, board shows me errors

Offline axlarry

  • Newbie
  • *
  • Posts: 9
    • Forum Sains
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #194 on: November 17, 2006, 02:05:38 pm »
bigguy, thanks for this mods and the tips. I have done all the editing, except for the index.template.php as I can't find any code that I have to edited  :'( As I said on another thread, I'm using RC3 and orange-lt2 theme. Would you pls look into the file?

Thanks bigguy :)
I'm using SMF on my Science Forum :D

SMF Ads Support Forum

Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #194 on: November 17, 2006, 02:05:38 pm »
.

 

.