News:

Version 3.5 has been released. Visit https://custom.simplemachines.org/mods/index.php?mod=255 to get the most up to date version.

Main Menu
Coinbase

Edits for ad_mod_rc2_v2 for themes other than default

Started by bigguy, June 20, 2006, 08:26:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zarrion101

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


zarrion101

Kind Regards,
                   Zarrion Walker - www.zarrionwalker.co.uk

bigguy

Your more than welcome. I am glad it works for you. Was that an unmodified version of that template file. ???

zarrion101

Quote from: bigguy on October 27, 2006, 04:43:46 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

BlueJayWay

#155
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:

bigguy

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

DoA

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?

WarBirD

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


botcee

Hey buddy i tried to edit as much as i could but im having some problems..please tellme what im doing wrong

bigguy

@ 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. ???

Rastarr

Quote from: Rastarr on October 24, 2006, 06:52:15 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


Rastarr

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.