The Arcive of vBulletin Modifications Site. |
|
Points per Ad click Details »»
|
|||||||||||||||||||||||||
i'll tell you what i want, what i really really want.
nobody seems to take any notice of my google ads. i get a few pennies for impressions but the real money maker is clicks. would it be possible to set up a way that users clicking an ad would recieve X amount of points? the flip side to this would be buying "no ads for X days" with your points. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
That would break TOS for offering incentives for clicking ads.
But that sounds like a good idea if you have individually sponsored adverts.
|
|
#3
|
||||
|
||||
|
yeah, obviously it could be used for stuff other than google's ads. rotated banners & such.
|
|
#4
|
|||
|
|||
|
Like xspazx said, google would frown upon that and it may or may not be legal to actually do.
But, its entirely possible to make a feature add x points inside of a php script that then redirects for a banner ad that is not google. All u'd have to do is make a simple php file something like: redirect.php Code:
<?php
// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// ##################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT', 'redirect');
// #################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array();
// pre-cache templates used by specific actions
$actiontemplates = array();
// ########################## REQUIRE BACK-END ############################
require_once('./global.php');
require_once('./includes/functions_vbplaza.php');
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
// increase the user's points
vbplaza_quick_add_points($vbulletin->userinfo, 100, '');
// jump to the url
header("Location: " . $_REQUEST['url']);
exit;
?>
-CMX |
|
#5
|
|||
|
|||
|
Sorry could u take google for example how to implement it into it?
|
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
|||
|
|||
|
ya i know is different i just wanna have a look on an example =]
so from there i can modify it... hehehe =X |
|
#9
|
|||
|
|||
|
Again, google would be mad about any abuse of TOS, please read them before doing any kind of hacks like this.
-CMX |
|
#10
|
|||
|
|||
|
Just so I understand the redirect link I put the php link first (where the file is on my site) then the website link second (ad site) correct?
|
![]() |
|
|