PeelAway 3

Modules, Add-ons and custom code that's more than just a quick hack or Mod.
Post Reply
SamX
Posts: 14
Joined: Thu Jul 09, 2009 11:26 pm

PeelAway 3

Post by SamX »

I was view on ISC Forum this hack but i cant install, i made it works with PeelAway 3 very simple.

Image

You have 4 ways to put on your site:
  • bottomleft
    bottomright
    topleft
    topright
1. Download the file:

Code: Select all

http://rapidshare.com/files/255418062/Peel3scripts_by_SamX.zip
Other files:

Code: Select all

http://rapidshare.com/files/255428244/notext.zip
http://rapidshare.com/files/255428085/animatedbackgrounds.zip
http://rapidshare.com/files/255428946/SimplePeel.zip
http://rapidshare.com/files/255429295/smallcorners.zip
http://rapidshare.com/files/255430676/Peelads_JPGS.zip
2. Choose where you want to put your peel.
Example: Top Right

3. Create a New Directory yoursite.com/peel/

4. Upload the files on the topright folder
  • uncover.swf
    cover.swf
    images folder
5. Open and edit peel.js
We need to configure some
On lines 18 - 21 change the image path

Code: Select all

smallimg[0]= 'images/covers3.jpg';
smallimg[1]= 'images/covers3.jpg'; 
smallimg[2]= 'images/covers3.jpg';
smallimg[3]= 'images/covers3.jpg';

Code: Select all

Change images/covers3.jpg to 
http://www.yoursite.com/peel/images/covers3.jpg or your_ad.jpg
On lines 30 - 33 change the image path

Code: Select all

bigimg[0] = "images/big.gif";
bigimg[1] = "images/big.gif";
bigimg[2] = "images/big.gif";
bigimg[3] = "images/big.gif";

Code: Select all

Change images/big.gif to
http://www.yoursite.com/peel/images/big.gif or your_big_ad.jpg
On lines 36 - 39 change the url destiny

Code: Select all

urlval[0] = "http://www.google.com";
urlval[1] = "http://www.google.com";
urlval[2] = "http://www.google.com";
urlval[3] = "http://www.google.com";

Code: Select all

Change http://www.google.com to
http://www.yoursite.com/promo.html (url to click add)
You can change other configurations you can check it when you edit.

Once finish upload peel.js on yoursite.com/javascript/

6. Open templates/your_template/Panels/HTMLHead.html
Add after </head>

Code: Select all

	<script type="text/javascript" src="http://www.yoursite.com/javascript/peel.js"></script>
Also can add some text editing the line 23

Code: Select all

var scrolltxtsmall = "YOUR SMALL PROMO";
And line 43

Code: Select all

var scrolltxtbig = "YOUR BIG TEXT PROMO";
Note: If you dont want to add random promo peel ads just delete lines 19 - 21

Code: Select all

smallimg[1]= 'images/covers3.jpg'; 
smallimg[2]= 'images/covers3.jpg';
smallimg[3]= 'images/covers3.jpg';
Delete lines 31 - 33

Code: Select all

bigimg[1] = "images/big.gif";
bigimg[2] = "images/big.gif";
bigimg[3] = "images/big.gif";
Delete lines 37 39

Code: Select all

urlval[1] = "http://www.google.com";
urlval[2] = "http://www.google.com";
urlval[3] = "http://www.google.com";
Enjoy !!!
ISC 6.1.1 Multi-Vendor Edition
Post Reply