News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Ad Management mod

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

Previous topic - Next topic

hartiberlin

Now I wanted to deinstall the 1.5 ad mod version and try the older one, but during
deinstallation in the package manager it says this:


Uninstall Actions
Uninstall Actions "Ad Managment":
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification - Modification parse error

I had this option disabled when I did the install:
"Create Backup versions of replaced files with a tilda (~) on the end of their names"

Must this option be enabled or disabled to be able to uninstall ?

Also I have reset all Files in all folders to 777 permission and the uninstall also does not work....
Hmm......does this mod work at all ?

BFTUK

Quote from: electrohome on May 11, 2006, 01:55:52 AM
Quote from: bjraines on May 07, 2006, 09:45:21 PM
any chance of adding adsense revenue sharing?
no, that can't and wont be included for certain reasons i can't mention

I realise your not going to tell us but i'm intrigued as to why you can't tell us why this would'nt be included.

This would be a great mod and benefit to the software.
www.countycricketclubs.co.uk [nofollow]
www.buyingfirsttime.co.uk

hartiberlin

One can´t deinstall it:
The package manager says:

Uninstall Actions
Uninstall Actions "Ad Managment":
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/ModSettings.php Test failed
2. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
3. Execute Modification ./Themes/default/languages/Help.english.php Test failed
4. Execute Modification ./Themes/default/index.template.php Test failed
5. Execute Modification ./Themes/default/BoardIndex.template.php Test failed
6. Execute Modification ./Themes/default/Display.template.php Test failed
7. Execute Modification ./Themes/default/MessageIndex.template.php Test failed
8. Execute Modification ./Sources/ManagePermissions.php Test failed


hartiberlin

#383
Well,maybe it is there, but I can not see it ??

Now something like this shows up,
looks like the clickable surfaces overlap...
but I can´t klick onto this:




P.S: I run my IE 6.01 browser in 1400x1050 screen resolution, but have also changed it
to 1024x768, same error and also via firefox, same error...

What must be the link to the admin section of the ad mod ?

Please tell me the right URL , like:

http://www.overunity.com/index.php?action=featuresettings;sa=basic;sesc=fggdfgdfgdfgdfgdfgdfgdf

hartiberlin

Hi All,
Electrohome was so nice and had a look at my problems and here are some
premiliary answers:

He wrote:

"I may have found the problem
I uploaded a file (phpinfo.php) in the root directory of your forum. It gives a little information about php.
Your host is currently running in safe mode. You will have to request that they turn that off. You can't install any mods when php is running in safe mode.
You can also try this out:
http://www.simplemachines.org/community/index.php?topic=28393.0
That might help out as well.

electrohome
Support Specialist
Sophist Member

--------------------------------------------------------------------------------
>Quote from: hartiberlin on Today at 05:25:55 PM
>Hi Electrohome,
>can I turn Safe mode ON again,
>after I had installed the scripts ?


no,  safe mode is being scrapped anyway in php6. It isn't needed if your scripts are made to be secure. (which smf is secure)

~Electrohome




Garry

Where do you get this " phpadsnew  "

winrules



winrules
SMF Developer
               
My Mods
Please do not PM me for support.


Garry

<HTML>
Im looking for some simple code to display an image from some where

can anybody help me as I do not know HTML coding




<HEAD>
<TITLE>This is a test</TITLE>
</HEAD>
<BODY>

<B><FONT SIZE=6><P>This is a test</P>

<P>img http://i45.photobucket.com/albums/f97/GarryLawton/shortlife.jpg WIDTH=320 HEIGHT=240></img></P></B></FONT></BODY>
</HTML>


codyheit

Hi Everyone

I have been trying to install this mod on the classic theme for the last few hours and would like to know if anybody has already changed all the coding in the documents so that it will work on the classic theme.

If so I would really appreciate if it could be emailed to me.

[email protected]

zole

Quote from: electrohome on May 11, 2006, 11:01:59 PM
Quote from: evilopinions on May 11, 2006, 10:07:52 PM
Guests cannot see the ads only registered members can ! Help !
Admin > permissions
modify the guest permissions
Enable ads
make sure that permission is checked

i tried to do that but still not work, can you help me...?!
i mean everybody still can see the ADS....


Vinspire

Can anyone show me the screenshot of this mods ? plz  :'( :'( :'(

Edward A Freeman

is there any possibility of allowing this to use PHP as well as HTML and Javascript?

Ic an't find any Javascripts that will work in this mod, and if I can avoid it I would prefer not to mess with the main softwares' PHP code to hard code the ads in.

I'm on 1.0.7 using the Techhead theme, I will worry about modifying the necessary files in TechHead if we can get PHP included in the cod etha tcan be used.

Edward A Freeman

Quote from: Vinspire on May 19, 2006, 12:34:17 PM
Can anyone show me the screenshot of this mods ? plz  :'( :'( :'(

here is a shot of the ACP in 1.0.7 sorry don't have one of the actual ads working yet.

http://iabusinessprojects.com/forums/trademarks/modshot.png

Naberius

Quote from: Efwis on May 19, 2006, 09:42:56 PM
is there any possibility of allowing this to use PHP as well as HTML and Javascript?

Ic an't find any Javascripts that will work in this mod, and if I can avoid it I would prefer not to mess with the main softwares' PHP code to hard code the ads in.

I'm on 1.0.7 using the Techhead theme, I will worry about modifying the necessary files in TechHead if we can get PHP included in the cod etha tcan be used.

I have a java script, works very well.
paste it all into the ad box. all you need to change are the images an urls
<script language="JavaScript">
<!-- Begin hiding script from older browsers

// Replace the images inside the double-quotes to your own images
// You may have any number of images
adImages = new Array("image1","image2","image3")

// Replace the quotes to inside the double-quotes to your own quotes
// You may have any number of quotes but they must equal the number of images that rotate
quote = new Array("This is Image 1","This is Image 2","This is Image 3")

// Replace the quotes to inside the double-quotes to your links
adURL = new Array ("url1","url2","url2")


thisAd = 0
imgCt = adImages.length
quoteCt = quote.length

function rotate() {
  if (document.images) {
    if (document.cycle.complete) {
  thisAd++
  if (thisAd == imgCt && thisAd == quoteCt) {
    thisAd = 0
  }
  document.cycle.src = adImages[thisAd];
      window.defaultStatus = quote[thisAd];
}
// This sets the interval to which the images and quotes are rotated. 1000 equals 1 second
setTimeout("rotate()", 3500)
  }
}


function rotateLink() { window.parent.location.href = "http://" + adURL[thisAd] }


// End hiding script from older browsers -->
</script>
<body onLoad="rotate()">

<!-- Add an anchor tag to the image to call the rotateLink function of the script for links -->

<p align="center"><img src="image1" width="300" height="150" border="0" name="cycle"></p>

Edward A Freeman

Thanks it's working, but they aren't clickable links like they are supposed to be, any ideas on how to fix this?

Naberius

Hmm thats odd they are on mine when I tested. Dunno lemme look into it.

Edward A Freeman

take your time, I will be upgrading my boards to 1.1rc2 in about 2 hours, But if I could have them up and in place when I re-open the boards that would be great, if not no big loss at this time.

KasumiSH

The mod installed fine, but for some reason, after I placed the code for the ad banner and saved it, it zero byte'd the theme files for showing the boards, topic, etc.

Weird thing is, I reuploaded them, and saved again, and it works fine.

Just wanted to let you know in case it was a bug or something (I am using RC2, btw, and the version I d/l'ed was the newest for your mod).

Edward A Freeman

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.

ArkServer

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 :)

Advertisement: