News:

Wondering if this will always be free?  See why free is better.

Main Menu

Ad Management mod

Started by SMFHacks.com Team, January 30, 2006, 08:41:19 PM

Previous topic - Next topic

Edward A Freeman

Quote from: ArkServer on May 21, 2006, 08:52:46 PM
Quote from: Efwis on May 21, 2006, 05:56:48 PM
I need help adding this to the Amber Theme, even when I manually install the files needed to index.template.php on amber it doesn't show.

Does it work on your default theme?

the mod works here like a charm :)
Works fine on my default, but the context of the index.template.php in amber is not the same as the default index.template.php.

hartiberlin

Hi All
I am trying now again to install the mod on my
main site overunity.com
but it is again not working.
PHP Safe mode is already a few days OFF on this site,
so this can not be an issue...

Hmm... how could I manually install this mod, instead using
the package manager ?
In which directory have the files to be placed to execute this mod ?
Maybe also the version 1.5 at mods.simplemachines.org  is corrupted ?

It says parse error always when I try to install via the package manager
and when I install it anyway, it is not installed afterwards but the package manager says:
installation complete....

What about the SET GID and SET UID and Sticky permission flags  in SMARTFTP ? Do I have to set all these additional permission flags for the files too ? For what forum folders ? all Themes and Sources folders and Packages too ?


I am scratching my hair and I have no idea, what else still to try ...
Many thanks.

Regards, Stefan.

hartiberlin

Quote from: winrules on May 12, 2006, 07:05:28 PM
http://www.phpadsnew.com/two/

Could this be used together with the ad mod to change the bannercode in the admin
panel ?
Or how is can this work together with the ad mod  ?

Thanks.

K_4_kelly

hi,

is it possible to make a pop up ads when member just enter to the forum?
also separate ad for different display method?
for example, ad A show on the top of the menu, ad B show on the bottom of the board?

thanks!! :)

tosp2

#404
I have a question in regards to manually adding this mod to a custom theme.

I added this code to my index.template.php file:
if ($modSettings['ad_management_index'] && allowedTo('ad_manageperm'))
echo '<br /><div align="center">',$modSettings['ad_management_content'],'</div>';]]>

Instead of doing every file right off the bat, I just tried to edit one to see what would happen.  But after installing that, I dont see any changes.  What is supposed to show?
With the old 1.0.7 version, I was able to put all my ads in the admin panel and they automatically showed up on the board, but I still dont see anywhere with this theme that Im using where I can input the ads for them to show.  Can you tell me how this is supposed to work?  Thanks!

meadwench

Love the mod! I run Joomla 1.07 with an SMF 1.1RC2 wrapped and bridged using Orstio's Bridge 1.13.

The mod installed easily, and I was able to go into Features and Options, click the 'Ads' button and set it all up, including placing my IFrame code for my PHPAdsNew ads.

I unzipped the mod zip file on my local drive, and opened the install.xml file to see what code needed to be copied into my GreenPortal2 template files, and in about 20 minutes, I was up and running!

Thanks again for a great mod.
Vicky Rowe
Health and Weight Loss Coach
http://www.hcgloss.com
SMF 2.0 RC3, Joomla 1.5.8

madd

Can someone please help with some instructions to get this manually installed on a custom theme?

Bigguy

Look in the .xml file of the mod for all the edits and were to put them.

hartiberlin

It seems my problems with the ad mod were related to my clustered hosted webspace.
Electrohome has helped me to install it now ,
many thanks.

Now another question.

I want to have some ads not like banners but like
skycraper ads like 150 x 600 resolution so in a left or right frame besides the SMF forum...

What would be easiest method to do this ?

I could install additionally Tinyportal or MK Portal,
but this is too much overhead in this moment !

Is there an easy example, how I could integrate SMF into a frameset,
so that this ad mod would still work for normal banners and
in the left frame I could include some "skycraper" ads ?

Or will this feature be included soon in this ad mod ?
Many thanks.

Regards, Stefan.

jerm

i am in the process of coding the new version of my mod, and it will include skyscrapers ads on the left side of the board along with the right side.
if you can wait a week or two i should have it complete

stevencachia

<p align="left"><img src="yourimagehere.gif" /></p>

use this code and the banner will be on the left side

tosp2

Has anyone figured out how to add banner ads in between board categories OR have different ads show up on different pages?  I am using a custom theme and got it configured to show the ads at the top of my forum page and show on each forum page, but I am getting more advertisements than I have room for so I need to start making new places for the ads or have different ones on different pages.  Can anyone advise on how to do this, or if its even possible?  Thanks!

eriktm

Why don't make a rotation?

Naberius

Quote from: electrohome on May 26, 2006, 01:03:06 AM
i am in the process of coding the new version of my mod, and it will include skyscrapers ads on the left side of the board along with the right side.
if you can wait a week or two i should have it complete

Beautiful, Look forward to it.

eriktm

Quote from: AMBA on May 28, 2006, 06:10:01 PM
Quote from: electrohome on May 26, 2006, 01:03:06 AM
i am in the process of coding the new version of my mod, and it will include skyscrapers ads on the left side of the board along with the right side.
if you can wait a week or two i should have it complete

Beautiful, Look forward to it.

Oh, yea...
That will be great. What about possibility to have small affiliate-button-place just under the copyright?

RebelRose

I added this mod when I was using the core theme and it worked great, however, I changed to using the Helios theme and now the ads do not show up?  Is there something special I have to do to make them work now?

SMF 1.1 RC2

Bigguy

You are going to have to edit that theme to work with the ad mod. If you go to the package manager and beside the mod it says "list files" press that link and then look for the install.xml file. You will see all the edits you have to do. The only ones you should have to do is the index.template.php, boardindex.template.php, Display.template.php, MessageIndex.template.php

EDIT: and maybe Modifications.english.php if your theme has it.

RebelRose

Edits ? as in code, hmmm, well ok I will look, but I am not sure I will know what I am looking at, but thank you for your reply.


Bigguy

#418
Here is one edit:

where it says search you look for that line of code in the file named.

Quote<file name="$sourcedir/ModSettings.php">
<operation>
<search position="replace"><![CDATA[
      'layout' => 'ModifyLayoutSettings',]]>
</search>

where it says replace :

Quote<search position="replace"><![CDATA[
      'layout' => 'ModifyLayoutSettings',]]>
</search>

you would replace this:

Quote'layout' => 'ModifyLayoutSettings',

with this:

Quote'layout' => 'ModifyLayoutSettings',
      'ad_management' => 'ModifyAddManagement',



Don`t do this edit as it is done.

RebelRose

ok, I will be happy to try that if you could just answer one small question, where am I adding these changes too?

I am sorry but I am still a tab green at all of this, ok maybe a little more than a tad, but if you can tell me to which file I do this I will do it.

Thank you

Advertisement: