Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
jasvanth
New Member
New Member


Joined: Jun 11, 2006
Posts: 3

PostPosted: Sat Jun 10, 2006 10:14 pm Reply with quote

All right, i found this really cool thing Very Happy

first off go see what its like on my website Only registered users can see links on this board! Get registered or login!

K here is the guide

first off this works through a block.

create block-clicksor.php

and put the following code in

Code:
<?php 

if (eregi("block-emgage.php", $_SERVER['PHP_SELF']))
   {
    header("Location: index.php");
    die();
   }

$content = '
<!-- Clicksor.com Advertising Code Begin -->
   <scr~ipt type=\'text/javascript\'>
<!--
      clicksor_layer_border_color = \'#B4D0DC\';
      clicksor_layer_ad_bg = \'#ECF8FF\';
      clicksor_layer_ad_link_color = \'#0000CC\';
      clicksor_layer_ad_text_color = \'#000000\';
      clicksor_text_link_bg = \'\';
      clicksor_text_link_color = \'#000FFF\';

      clicksor_enable_text_link = true;

      clicksor_banner_border = \'#B4D0DC\';
      clicksor_banner_ad_bg = \'#ECF8FF\';
      clicksor_banner_link_color = \'#0000CC\';
      clicksor_banner_text_color = \'#000000\';
      clicksor_banner_image_banner = true;
      clicksor_enable_pop = true;
      clicksor_frequencyCap = 0.1;
//-->
</scr~ipt>
<scr~ipt type=\'text/javascript\' src=\'http://www.clicksor.com/showAd.php?pid=******&sid=*****&adtype=1&float=1\'></scr~ipt>
   ';
?>


NOTE: you have to change all scr~ipt to script before it works.

pid (publisher id) and sid (site id) are given to you on clicksor. put your own one in.

Code:
adtype=1


adtype is the sort of ad you want. the adtpye ranges from 1-10. Pick any you want Wink.

step 1: upload block-clicksor.php under <nuke-root>/blocks/
step 2: login as an admin
step 3: select block menu icon
step 4: create a block with a block name after selecting block from combo-drop down box where emgage name appears
step 5: choose your block position. (dosnt amtter if you pick floating)

Now you can customise the whole code. the colours and stuff.

1. Turn off text link ads

Code:
clicksor_enable_text_link = true; 


change teh true to false

Code:
clicksor_enable_text_link = false; 


2. Turn off popups

Code:
clicksor_enable_pop = true; 


change to false

Code:
clicksor_enable_pop = false; 


3. Modify the ammount of time inbetween popups

Code:
clicksor_frequencyCap = 0.1; 


change to:

nofrequency cap = -1
one pop per session = 0
6 mins = 0.1
12 mins = 0.2
18 mins = 0.3
30mins =0.5

and so on, every 6 mins is 0.1 Wink so 1 hour will be 1.

4. Turn Banner images off

Code:
clicksor_banner_image_banner = true;


Change to false

Code:
clicksor_banner_image_banner = false;


5. Dont float

Code:
<scr~ipt type=\'text/javascript\' src=\'http://www.clicksor.com/showAd.php?pid=******&sid=*****&adtype=1&float=1\'></scr~ipt>


modify to

Code:
<scr~ipt type=\'text/javascript\' src=\'http://www.clicksor.com/showAd.php?pid=******&sid=*****&adtype=4\'></scr~ipt>


Only type 4 adtype is recommended as it will fit in teh blocks section Wink

6. Modify Colours

Code:
      clicksor_layer_border_color = \'#B4D0DC\'; 

      clicksor_layer_ad_bg = \'#ECF8FF\';
      clicksor_layer_ad_link_color = \'#0000CC\';
      clicksor_layer_ad_text_color = \'#000000\';
      clicksor_text_link_bg = \'\';
      clicksor_text_link_color = \'#000FFF\';


and

Code:
      clicksor_banner_border = \'#B4D0DC\'; 

      clicksor_banner_ad_bg = \'#ECF8FF\';
      clicksor_banner_link_color = \'#0000CC\';
      clicksor_banner_text_color = \'#000000\';


simply modify the numbers around to whatever you like. Know what your doing before you go ahead.

Most of the credit goes to Xyberian, as his code is teh one i used in block-clicksor.php

the floating idea was mine hehe Very Happy
 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9449
Location: Arizona

PostPosted: Sun Jun 11, 2006 8:51 am Reply with quote

I know hitwalker already mentioned this, but I want to mention it here too. Definitely appreciate the posting of this neat tool. However, please do not double post.

Thanks!

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
nakaf
New Member
New Member


Joined: Sep 05, 2006
Posts: 1

PostPosted: Tue Sep 05, 2006 8:49 pm Reply with quote

thxx Jas
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©