vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Clicksor revenue sharing hack (https://vborg.vbsupport.ru/showthread.php?t=112855)

jackc 04-11-2006 10:00 PM

Clicksor revenue sharing hack
 
Author: Jeff Z.

Description:
- Revenue sharing program gives more motivation and the feeling of belonging to the members of the forum.
- This hack allows forum members to display their Clicksor ads among the thread/posts they participated.
- User only needs to enter their Clicksor ID in the edit profile in order to get their ads showing in the thread/post.
- The percentage of the showing admin/user's ads is customizable.
- Number of min. post in order to show the ads is customizable.

Please have a look at the screenshot that's included for the functions available.

Instruction:
The full instruction is included in the readme.txt file

Here's a general walkthrough:
1. upload a php file
2. Add 2 new user profile fields, and mark down the field name
3. update the forum template
4. Edit and Upload showthread.php
5. Import the XML file in the adminCP

furst 04-12-2006 09:30 PM

Looks interesting.. now all I've got to do is set up some ads on my site ;)

username12 04-12-2006 10:51 PM

I like the idea. Anyone know if they'd be a pain about allowing something like this to be implemented?

Stifler 04-13-2006 03:47 AM

how hard would this be to convert to adsense?

mathias 04-13-2006 04:36 AM

Also can you make it where it advertises people to sign up to clicksor with your referal id?

sensimilla 04-13-2006 05:03 AM

its available for google adsense since looong time ;) thanks alot for this one

question? 04-13-2006 05:19 AM

This isn't allowed. The user has to have the site approved etc.

mathias 04-13-2006 05:21 AM

does it only do it for the thread starter and not everyone who replies to the thread?

Stifler 04-13-2006 06:52 AM

Quote:

Originally Posted by sensimilla
its available for google adsense since looong time ;) thanks alot for this one

not for 3.5.x ... link me?

bashy 04-13-2006 10:01 AM

hi

in your readme there is

8. go back to admin area, go to 'Plugin System' -> 'Download/Upload Plugins'
import cpnav_clicksorshare.xml

Should that not be: Upload to the includes/eml directory? ;)

username12 04-13-2006 08:57 PM

Quote:

Originally Posted by question?
This isn't allowed. The user has to have the site approved etc.

This was my concern, too, though I assume it would be fairly easy for them to add the site. Of course, if there are 100 people showing up for the same site I'd wonder whether that would cause an issue.

Hemanth 04-15-2006 10:36 AM

Hi,

It's a great hackk..

But majority of users are using Google Adsense. So please extend the hack to adsense too..

All you need to do is make available two variables, $Adsense-ClientID & $Adsense-ChannelID, in templates..

Thank you.

One more Question: The 50% of time the posters ad will be shown. The remaining 50% time how'll the forums own ad'll be diaplayed?

Hemanth 04-18-2006 04:10 AM

The plugin is not working for an upload.

More over the hack is simply not working :(

toolblast 04-18-2006 04:14 AM

How about modifying this plugin to work for Google Adsense as well as AdBrite ads? Please? :D

spoiey 04-20-2006 09:29 PM

can you make it for yahoo publisher please :D

sensimilla 04-24-2006 09:02 AM

while importing I get Invalid file specified...

Paul M 04-24-2006 09:12 AM

This is not a plugin hack - it requires file edits.

bonzer 05-20-2006 05:45 PM

Hopefully this is within clicksor tos I have submitted a ticket to ask them as i use clicksor they pay better for me for some reason :S
A great mod if Clicksor allow it.... will let you know the outcome.....

cedric_bariteau 06-27-2006 11:07 PM

Here's a couple of fixes if the author doesn't mind...
  1. Do not import the XML in your admin CP, it wont work. Instead, upload it in ./includes/xml/
  2. There's a small bug in the postbit template. When you paste it look at line 9 and 10 in the README.txt(the line are):
    HTML Code:

    Revenue Sharing Ads (
    <a href="./showthread.php?p=144">?</a>):</td>

    replace the p=144 by your own thread or replace those 2 lines by:
    HTML Code:

    Revenue Sharing Ads :</td>
  3. In clicksor_share.php, on line 56 there is a small code that gets annoying in your admincp (it echos "hi" everytime), find and remove:
    PHP Code:

    echo "hi"


If I offended anyone please tell me and i'll remove this post

sensimilla 07-17-2006 01:07 PM

Is it possible to make it work under Opera ? ads gets multiplied.

Jealousy10312 09-07-2006 01:46 AM

Great! Hopefully this works for 3.6.

adrianobr 07-09-2009 06:07 PM

Hi,

It's a great hackk..

M4r5h4ll 03-26-2010 10:16 AM

no new version of it for VB4 ? or anything else would do the same?


All times are GMT. The time now is 07:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01119 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete