Coinbase

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

0 Members and 1 Guest are viewing this topic.

Offline zarrion101

  • Newbie
  • *
  • Posts: 7
  • Pets Devine Admin
    • Pets Devine
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #150 on: October 27, 2006, 09:49:12 am »
I'm finding it difficult to add the code in my indextemplate.php file with the template Dilbermc powered by 1.1 RC3. I've attached the indextemplate.php. I wonder if someone could pu the code in for me. Thank you.
Kind Regards,
                   Zarrion Walker - www.zarrionwalker.co.uk

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #151 on: October 27, 2006, 03:08:14 pm »
Try this:

Offline zarrion101

  • Newbie
  • *
  • Posts: 7
  • Pets Devine Admin
    • Pets Devine
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #152 on: October 27, 2006, 03:42:09 pm »
Try this:

THANK YOU, THANK YOU! It works. :D
Kind Regards,
                   Zarrion Walker - www.zarrionwalker.co.uk

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #153 on: October 27, 2006, 03:43:46 pm »
Your more than welcome. I am glad it works for you. Was that an unmodified version of that template file. ???

Offline zarrion101

  • Newbie
  • *
  • Posts: 7
  • Pets Devine Admin
    • Pets Devine
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #154 on: October 27, 2006, 04:04:36 pm »
Your more than welcome. I am glad it works for you. Was that an unmodified version of that template file. ???

Yes I think so.  ::)
Kind Regards,
                   Zarrion Walker - www.zarrionwalker.co.uk

Offline BlueJayWay

  • Newbie
  • *
  • Posts: 4
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #155 on: October 27, 2006, 10:29:59 pm »
I am using a slightly modified Babylon theme. I managed to get it all edited and the adds a the top display but no where else

http://www.bluejayway.ca/forum/index.php

nm
Getting a parse error when trying to access posts.

Parse error: syntax error, unexpected $end in .../Themes/bjw2/Display.template.php on line 785

776:    if ($context['calendar_post'])
777:       $moderationButtons[] = '<a href="' . $scripturl . '?action=post;calendar;msg=' . $context['topic_first_message'] . ';topic=' . $context['current_topic'] . '.0;sesc=' . $context['session_id'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/linktocal.gif" alt="' . $txt['calendar37'] . '" border="0" />' : $txt['calendar37']) . '</a>';
778:
779:    if ($context['can_remove_post'] && !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1)
780:       $moderationButtons[] = $settings['use_image_buttons'] ? '<input type="image" name="submit" id="quickmodSubmit" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/delete_selected.gif" alt="' . $txt['quickmod_delete_selected'] . '" />' : '<a href="javascript:document.forms.quickModForm.submit();" id="quickmodSubmit">' . $txt['quickmod_delete_selected'] . '</a>';
781:
782:    return implode($context['menu_separator'], $moderationButtons);
783: }
784:

785: ?>

786:
787:
« Last Edit: October 27, 2006, 10:33:15 pm by BlueJayWay »

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #156 on: October 28, 2006, 02:59:29 am »
@ zarrion101: Ok, I will post that file for others to use.

@ 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. ;)

Offline DoA

  • Jr. Member
  • **
  • Posts: 25
    • Acapella MP3
    • Email
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #157 on: October 28, 2006, 04:00:41 am »
Using helios_multi theme -->

Fatal error: Call to undefined function: show_threadads() in /home/lazyrec/public_html/testforum/Sources/Load.php(1702) : eval()'d code on line 7


Any help please?

Offline WarBirD

  • Newbie
  • *
  • Posts: 1
    • Email
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #158 on: October 29, 2006, 07:04:29 am »
I would like some help with making the AD Mod visible in the following themes.

http://www.tinyportal.net/smf/index.php?action=tpmod;dl=item357 (WoW RC3 and TPv9.5beta )
http://www.tinyportal.net/smf/index.php?action=tpmod;dl=item416 (Guild Wars RC3 and TP )
http://www.tinyportal.net/smf/index.php?topic=9908.0 (BF2142)
http://www.tinyportal.net/smf/index.php?action=tpmod;dl=item354 (Day of Defeat)

I am not good with code and all that stuff, anyone might tell me if the integration of the AD mod into Custom Themes has changed since the Solution on the 1st Page of that thread, i mean from RC2 to RC3. I might get it to work with doing the same things what is wrote there but I need to know if there is no difference between doing that for RC2 and RC3.

Thx

WarBirD

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #159 on: October 29, 2006, 07:11:55 pm »
That would be a lot of work.

Offline botcee

  • Newbie
  • *
  • Posts: 8
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #160 on: October 31, 2006, 10:06:25 am »
Hey buddy i tried to edit as much as i could but im having some problems..please tellme what im doing wrong

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #161 on: October 31, 2006, 10:54:59 pm »
@ WarBirD: I didn't say i couldn't do it. ;)

@ botcee: have you edited this file or is it a un-modified version of your template. ???

Offline Rastarr

  • Jr. Member
  • **
  • Posts: 10
    • Email
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #162 on: November 01, 2006, 05:53:52 am »
Hi All,

This looks like a great mod for getting Adsense into SMF. I like a lot of other people am having a tough time with my theme - SMF Live Forum Messanger.
I was wondering whether you might be really helpful and have a look at the alterations of it for me please? I had a go myself and ended up with theme errors staring me in the face  :'(

Cheers and thanks heaps for any help you can lend


Hey Guys,

I guess you've prolly got a pile of themes begging for your attention. I'd certainly like to see the SMF Live Forum one that I posted about a while ago to be worked on to get the Ads mod working.

It's a great mod from what I've seen on other forums and I'd certainly appreciate your help in getting it to work on my forum also.

Cheers
Rastarr

Offline bigguy

  • Support
  • Elite Member
  • *
  • Posts: 1518
    • SMF Helper
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #163 on: November 01, 2006, 09:06:15 am »
Is it in this board by any chance:

http://www.smfads.com/forums/index.php?topic=163.0

Offline Rastarr

  • Jr. Member
  • **
  • Posts: 10
    • Email
Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #164 on: November 01, 2006, 09:19:48 am »
Hey bigguy,

I've looked at that one and unfortunately it isn't there.
I posted the 4 required files on Oct 24th in Reply post #137 on page 10 of this thread. If you aren't able to locate them, I can certainly attach them here once more.

Your help would be greatly appreciated.

SMF Ads Support Forum

Re: Edits for ad_mod_rc2_v2 for themes other than default
« Reply #164 on: November 01, 2006, 09:19:48 am »
.

 

.