I tried to get this to work, but when I tried to run the module I got the same problem. I would like to get this to work as a banner ad rotator and tracking tool would be a great tool to have..
The folder "banners" permissions have been set to 777 but still not working
Does anyone have any suggestions on how to get this to work?
Also when I place banners in the banners folder can you use jpg and swf files together?
-
☆ A M B ☆
- 2,213 Posts
Quote from: MichaelHarringtonDesigns at Mar 27, 2010, 10:36 AM
I tried to get this to work, but when I tried to run the module I got the same problem. I would like to get this to work as a banner ad rotator and tracking tool would be a great tool to have..
The folder "banners" permissions have been set to 777 but still not working
Does anyone have any suggestions on how to get this to work?
Also when I place banners in the banners folder can you use jpg and swf files together?
Try using 755 and the files 644, if you server uses phpsuexec then using 777/666 will result in 500 errors and is also a security risk if I recall correctly. Using 755/644 fixes this issue and is more secure.
I Cannot find a way to get the banners to rotate, I know its a problems with the tracking page but I have done exactly what the instructions have said but still no luck...
After a lot of trying i have figured out how it works.
The installation doc is just crap.
Here is what to do:
Upload the folder: bannerads to assets/modules/
Create a new module. Name it "Banner Ads" Description "<strong>0.8 RC</strong> Banner Ads by Ministry CRM".
Past the code from bannerad_mod.php
Create rotator snippet called "bannerrotator" and paste in code from file bannerrotator.php
Create tracker snippet called "bannertracker" and paste in code from file bannertracker.
Create new modx page called bannertracker. Make sure alias is "bannertracker" or you will need to update
the banner rotator snippet to match your alias. (Lines: 21, 36, 51, 66)
Past this in the content: [!bannertracker!]
Place [!bannerrotator? &position=`1`!] in the place where you want to show the banner. Position Id is the number you have created when you uploaded a new banner.
If you want a banner rotation, fill the same position number for all the banners in the set.
Create a folder in your assets directory called "banners" and give that folder appropriate permissions so modx has a spot to put your banners. CHMOD 777
In manager Hit F5 to refresh the module. And start adding banners.