vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - CpaLead Monetize Certain Forums For Guests or members (https://vborg.vbsupport.ru/showthread.php?t=237998)

hobsdv 03-10-2010 10:00 PM

CpaLead Monetize Certain Forums For Guests or members
 
1 Attachment(s)
What it does ?
This Uses CPALead to monetize certain forums, so for example if you have a forum for watching videos or downloading files you can block that forum from either guests or members until they complete a short free survey.

Once you join CPALead and create a widget code you can choose to have people complete a survey everytime they visit a page or just once or after x amount of hours.

This is a good option if you want members to only complete a survey once and then never again.

Example:
Forum Not Blocked
Forum Blocked



Install instructions :
To block members and Guests.
Place this code in your FORUMDISPLAY template below the opening <head> tag. Replace the xx with your forum id Number.
Code:

<vb:if condition="in_array($foruminfo[forumid], array(xx))">
CPALead Script Here..
</vb:if>

To block Only Guests.
Place this code in your FORUMDISPLAY template below the opening <head> tag. Replace the xx with your forum id Number.
Code:

<vb:if condition="$show['member']">
<vb:elseif condition="in_array($foruminfo[forumid], array(xx))" />
CPAlead Code...
<vb:else />
</vb:if>

To place it on multiple forums replace array(xx)) with array(xx,xx,xx,xx)) replace xx with your forum id.

Please mark as installed if used....

hobsdv 03-11-2010 07:55 AM

First post reserved

biosclan 03-11-2010 08:52 AM

Just got this a few minutes ago and it works great :D



Thanks!

Ramsesx 03-11-2010 02:13 PM

From a viewpoint of a user I really hate such survey things and I'm sure It's a good way to loose many users. In spite of that thanks for this addon and your work.

TimberFloorAu 03-11-2010 07:02 PM

Adblockplus... Just been on those two links, made no difference to me.

hobsdv 03-12-2010 03:51 AM

Quote:

Originally Posted by Ramsesx (Post 2001552)
From a viewpoint of a user I really hate such survey things and I'm sure It's a good way to loose many users. In spite of that thanks for this addon and your work.

True a lot of people dont like them, but a lot of people make a lot of money from them.

Jabong82 03-12-2010 03:56 AM

this looks interesting.

Just curious though, can u give an idea of what sort of earnings each of these surveys are worth? I know thats kinda a vague question, but could you give some sorta ballpark like how many per 1000 or something? Thank you.

sticky 03-12-2010 08:13 AM

Instead of a survey can it just be you have to register to see this area?

hobsdv 03-12-2010 11:31 AM

Quote:

Originally Posted by Jabong82 (Post 2001936)
this looks interesting.

Just curious though, can u give an idea of what sort of earnings each of these surveys are worth? I know thats kinda a vague question, but could you give some sorta ballpark like how many per 1000 or something? Thank you.

it varies surveys are worth anything between $0.50 and over $10

i average around $3-4 per survey as you can block out the low paying ones

denman75 03-12-2010 01:52 PM

looks great abp works good for me ;)
would only change the example forums ,since u are offering illegal warez links if they look past the survey blocker ;)
i dont mind ,but before u are getting in problems better save than sorry m8 ...

hobsdv 03-12-2010 02:32 PM

Quote:

Originally Posted by denman75 (Post 2002188)
looks great abp works good for me ;)
would only change the example forums ,since u are offering illegal warez links if they look past the survey blocker ;)
i dont mind ,but before u are getting in problems better save than sorry m8 ...

working on changing them, never realised until after i did it.

nyunyu 03-12-2010 11:21 PM

Good trick, however, it would be best if someone can make it into product.
So, we can choose which group sees this instead of members, guests.
Or perhaps threads with which keyword trigger a survey. etc.

nyunyu 03-13-2010 02:18 AM

Ok, on my forum, guests can see the thread and everything.
How can I make if using this edit, I want them apart from being shown CPAlead on forumdisplay, also being shown when they view the thread? (since they can see the thread from forumhome, they just can click on it and this edit don't render there).

Please advice.

hobsdv 03-13-2010 04:20 AM

Quote:

Originally Posted by nyunyu (Post 2002560)
Ok, on my forum, guests can see the thread and everything.
How can I make if using this edit, I want them apart from being shown CPAlead on forumdisplay, also being shown when they view the thread? (since they can see the thread from forumhome, they just can click on it and this edit don't render there).

Please advice.

TO pace it on threads within a specific forum use the following code.

Add in SHOWTHREAD template below the <head> tag. replace the xx with forum id
Code:

<vb:if condition="in_array($thread['forumid'], array(xx))">
CPAlead code....
</vb:if>


nyunyu 03-13-2010 12:02 PM

Quote:

Originally Posted by hobsdv (Post 2002601)
TO pace it on threads within a specific forum use the following code.

Add in SHOWTHREAD template below the <head> tag. replace the xx with forum id
Code:

<vb:if condition="in_array($thread['forumid'], array(xx))">
CPAlead code....
</vb:if>



Great! It's working! :)
Thanks mate. Now, time to monitor how much bounce rate will I get from using this..lol.

AzzidReign 03-13-2010 04:14 PM

I'll have to look into this...I've been trying to monetize my site lately and I've been meaning to try out some CPA companies. Just don't know if 12-18 year olds are good demographics for CPA...if I could capitalize on something like this with the ~30mill pageviews I get a month, I'd be hella happy.

nyunyu 03-13-2010 04:36 PM

Sorry, that code just shows the CPAlead to ALL members staff included.
I just want to show the ads to Guest/Unregistered.

I tried this instead but got invalid nesting.

Code:

<vb:if condition="$show['member']">
<vb:elseif condition="in_array($thread['forumid'], array(xx))" />
CPAlead Code...
<vb:else />
</vb:if>


Any advice?

Dr.osamA 03-14-2010 10:49 PM

thanxx

installed
________
Friday Night Lights Advice

trungnt 03-19-2010 10:49 AM

how to make cpalead on THREAD ON certain forum.

Let's say i want users to fill in survey form before access all thread on forum, ID 108.

Thanks

nyunyu 03-21-2010 02:54 PM

Anyone could help?

dearinfinity 04-14-2010 02:06 AM

hello-- how can I code this so as to make only guests and member ( NOT ADMINS / MODERATORS / ETC ) have to do survey?

trungnt 04-18-2010 10:43 AM

Quote:

Originally Posted by trungnt (Post 2006399)
how to make cpalead on THREAD ON certain forum.

Let's say i want users to fill in survey form before access all thread on forum, ID 108.

Thanks

can anyone help for this question. i will pay for the solution

Thans

Cedric_FP 04-18-2010 04:15 PM

The referrer id links in this thread are a little disappointing.

Interesting hack though.

dearinfinity 04-19-2010 02:59 AM

any idea how to make only certain membergroups have to do the CPA? anyone?

ketusa 05-01-2010 02:04 AM

is this working with vb 3.8?

jmw 05-09-2010 08:31 PM

Yeah, does this work with 3.8.4?

sosasoser 06-02-2010 09:10 PM

This is a good idea, but I think my users would protest too much if I used this in the forums. We are a new site, so I can't alienate too many users.

If I could use this to restrict access to some other features, like addonchat and ibproarcade, I would do it in a heartbeat though.

TheChaosFactor 08-16-2010 10:56 PM

Quote:

Originally Posted by sosasoser (Post 2047310)
This is a good idea, but I think my users would protest too much if I used this in the forums. We are a new site, so I can't alienate too many users.

If I could use this to restrict access to some other features, like addonchat and ibproarcade, I would do it in a heartbeat though.


That's a great idea, and I'm willing to bet it can be done in a fairly similar fashion. If not, the links for chat and arcade could be replaced with a link to a survey that redirects to the desired area on completion....

You're a genius. Thank you for this.

daveaite 09-28-2010 05:22 AM

There should be a mod that if a person does X # of surveys, they are allowed into like a certain usergroup

That would be perfect. :)

From there you can control the usergroups to view certain forums etc

Hornstar 10-20-2010 08:13 PM

I'd love it if there was a way to only have CPAlead work on attachments for certain usergroups. So CPAlead is only activated when a registered user goes to download an attachment, they then do their survey, then download the content.

That would be much more appealing ^^ Wonder if that is possible...


All times are GMT. The time now is 05:05 PM.

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.01351 seconds
  • Memory Usage 1,796KB
  • 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
  • (5)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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