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-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?


All times are GMT. The time now is 01:02 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.01059 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete