![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Living inside your head.
Industry Role:
Join Date: Dec 2002
Location: In your AirBNB
Posts: 20,499
|
Is this possible in Wordpress?
Lets say I have a WP site running a video tube theme...
I want to let someone watch two videos, any two videos they choose, but when they click a third video, I want them to have to sign up to the WP site. Possible? how is it done? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Permanently Gone
Industry Role:
Join Date: Mar 2004
Posts: 10,019
|
Sure, why not? Just increment a counter upon a video being watched, and then let the page return a sign-up page instead of a video if the counter is greater than two.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Jun 2003
Location: My High Horse
Posts: 6,346
|
my first thought would be that all the videos would have to be in a php widget with the code to count them or php scripting in the post itself
__________________
Mike South It's No wonder I took up drugs and alcohol, it's the only way I could dumb myself down enough to cope with the morons in this biz. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Permanently Gone
Industry Role:
Join Date: Mar 2004
Posts: 10,019
|
And, if the user is logged in, of course, ignore the check.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Permanently Gone
Industry Role:
Join Date: Mar 2004
Posts: 10,019
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Oct 2012
Location: Spamville
Posts: 294
|
Set a cookie that contains a number. Each view of a movie page increments the counter by 1. When you reach max views per page, either a) redirect to the signup page or b) display a message with a greyed out flash player and a message prompting the surfer to signup. If you wanted to do (b) then you could use a WP custom field to hold that html.
Put the cookie increment counter / redirect in header.php of course. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Permanently Gone
Industry Role:
Join Date: Mar 2004
Posts: 10,019
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Living inside your head.
Industry Role:
Join Date: Dec 2002
Location: In your AirBNB
Posts: 20,499
|
I suppose there isnt a plugin to make this simple...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
www.EngineFood.com
Industry Role:
Join Date: Aug 2006
Posts: 5,698
|
Edgeprod = your plug in
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Judge Jury and Executioner
Industry Role:
Join Date: Mar 2003
Location: Sweden
Posts: 30,069
|
Not sure if exactly right but It might work like you want http://premium.wpmudev.org/project/membership/
__________________
gfynicky @ gmail.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Industry Role:
Join Date: Aug 2002
Location: USA
Posts: 6,721
|
Lead Wrench should offer this. Should be a simple task. I'm setting something up for my mainstream sites to capture leads and this would be great for adult. When I sober up in the morning I'll have a solution
![]()
__________________
icq 156131086 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Living inside your head.
Industry Role:
Join Date: Dec 2002
Location: In your AirBNB
Posts: 20,499
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Industry Role:
Join Date: Aug 2002
Location: USA
Posts: 6,721
|
I can't count that high right now but this shit is interesting!
__________________
icq 156131086 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Living inside your head.
Industry Role:
Join Date: Dec 2002
Location: In your AirBNB
Posts: 20,499
|
Well if you figure it out, hook me up please.
And thanks to Edgeprod and Autumn... but I'm not a coder so the stuff you said is great and I understand it... but the only code I write is syntax errors, and I can do a wicked blank white screen. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
So Fucking Banned
Industry Role:
Join Date: Nov 2011
Posts: 1,540
|
I have setup this on a few WP sites using the premium plugins with a few tweaks from that site... It's easy to do.
But wait, you are Mr. FEAR.. if you were any other guy, I would have no problem helping you in "I Seek You" in Google Streets.. And yes, your house is 200K-250K... and in side of your JEEP, there was a white sedan and a FORD Pick-UP double cabin. Do you want to bet?.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Permanently Gone
Industry Role:
Join Date: Mar 2004
Posts: 10,019
|
No worries, I am sure we can lend you some cycles. Hit my Skype tomorrow afternoon.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Industry Role:
Join Date: Aug 2002
Location: USA
Posts: 6,721
|
Beast! hook me up!
__________________
icq 156131086 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Permanently Gone
Industry Role:
Join Date: Mar 2004
Posts: 10,019
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
So Fucking Banned
Industry Role:
Join Date: Mar 2012
Location: EEA
Posts: 1,432
|
You can get it done on freelancer or dp for like $10,i would set up a fiverr request you will surely get responses
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Living inside your head.
Industry Role:
Join Date: Dec 2002
Location: In your AirBNB
Posts: 20,499
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |