You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 56 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Advertising with clicksor (Floating ads) [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
jasvanth
Nuke Soldier
Nuke Soldier


Joined: Jan 27, 2006
Posts: 14


PostPosted: Sat Jun 10, 2006 7:01 pm Reply with quoteBack to top

All right, i found this really cool thing Very Happy

first off go see what its like on my website www.animeriver.com

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
Find all posts by jasvanthView user's profileSend private message
jasvanth
Nuke Soldier
Nuke Soldier


Joined: Jan 27, 2006
Posts: 14


PostPosted: Mon Jun 12, 2006 2:52 pm Reply with quoteBack to top

i dont have floating ads at my site anymore seeing as my users found it annoying Razz
Find all posts by jasvanthView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.977 Seconds - 336 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::