![]() |
![]() |
![]() |
||||
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 |
Anti Communist
Industry Role:
Join Date: Nov 2003
Location: Null
Posts: 29,734
|
Wordpress experts I need some help
I need a plugin that can limit how many videos someone can watch in a day, or something along those lines.
Does a plugin exist that can handle that? Is this something that requires custom coding? Can you do it? And how much Pm me here or my skype &/or icq in my deets. Thank you! Duke
__________________
My mother said, to get things done You'd better not mess with Major Tom |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Monger Cash
Industry Role:
Join Date: Jul 2010
Posts: 2,773
|
Your best option is a cookie-based method. We used to do this on our tours some time ago, I'll see if I still have the code for it laying around when I get to the office tomorrow.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Anti Communist
Industry Role:
Join Date: Nov 2003
Location: Null
Posts: 29,734
|
Thanks brother
__________________
My mother said, to get things done You'd better not mess with Major Tom |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Anti Communist
Industry Role:
Join Date: Nov 2003
Location: Null
Posts: 29,734
|
Ba bump bump
__________________
My mother said, to get things done You'd better not mess with Major Tom |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
So Fucking Banned
Industry Role:
Join Date: Mar 2012
Posts: 236
|
are you still looking for wp pluign developer?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Anti Communist
Industry Role:
Join Date: Nov 2003
Location: Null
Posts: 29,734
|
__________________
My mother said, to get things done You'd better not mess with Major Tom |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Pay It Forward
Industry Role:
Join Date: Sep 2005
Location: Yo Mama House
Posts: 76,897
|
__________________
TRUMP 2025 KEKAW!!! - Support The Laken Riley Act!!! END DACA - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
VIP
Industry Role:
Join Date: Jul 2013
Posts: 22,112
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Nov 2001
Posts: 1,662
|
There's quite a few plugins that will restrict content. Some of them are free. I would check those out first. Start here: https://wplift.com/plugins-to-restrict-content
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Pay It Forward
Industry Role:
Join Date: Sep 2005
Location: Yo Mama House
Posts: 76,897
|
Quote:
![]()
__________________
TRUMP 2025 KEKAW!!! - Support The Laken Riley Act!!! END DACA - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Monger Cash
Industry Role:
Join Date: Jul 2010
Posts: 2,773
|
My bad for not getting back to you sooner...
I looked through all of our old tours but couldn't find the exact code we used. It's something along the lines of this though: Code:
<?php // use your variable here $ID_OF_VIDEO_HERE = $_REQUEST['video']; if(isset($_SESSION) === false) session_start(); // Start PHP session management if(isset($_SESSION['videos_viewed']) === false) $_SESSION['videos_viewed'] = array(); if(isset($_SESSION['videos_viewed'][$ID_OF_VIDEO_HERE]) === FALSE AND count($_SESSION['videos_viewed']) >= 3) { // Redirect the User header('location: http://SUBSCRIBE_PAGE'); exit(); } else { // Add current video ID to list $_SESSION['videos_viewed'][$ID_OF_VIDEO_HERE] = true; } // JUST FOR TESTING var_dump($_SESSION['videos_viewed']); ?> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
So Fucking Banned
Industry Role:
Join Date: May 2001
Location: Your mom's front hole
Posts: 40,910
|
Try this.
https://wordpress.org/plugins/passwordsentry/ Besides password mgmt it also has bw limiting. |
![]() |
![]() ![]() ![]() ![]() ![]() |