The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need Forumrunner modification
I've been trying to get the developer of Forumrunner to implement a system which would make it so that only my paying members (specific user group) could use the Forumrunner app.
Forumrunner visitors are not clicking on ads and I'm losing money. It would make a lot of sense to require those who want to use the "no frills" app to pay a premium to do so. TIA |
#2
|
||||
|
||||
A plugin with this code on global_start hooks works, but, then no one can login because they are guests until they login...
PHP Code:
|
#3
|
|||
|
|||
Any other suggestions or help? Obviously no one being able to log in would be a bit of an issue
|
#4
|
||||
|
||||
Yeah I played with this some more and I got it working (I think.) I only tested it for a couple minutes because I didn't want to lock out my users.
Make new plugin on global_start hook: Code:
global $vbulletin; if ((THIS_SCRIPT == 'showthread' OR THIS_SCRIPT == 'forumdisplay') AND defined('IN_FRNR') && defined('FR_UTILS_INCLUDED') && (!is_member_of($vbulletin->userinfo, 5, 6, 7))) { fr_standard_error("You must log in below to view the site. Only users with valid subscriptions may use this app."); } What this plugin blocks is viewing of forums or threads. Also customize the usergroups (in blue) above- 5, 6, 7 are mods, admins, and super-mods- adjust them to your needs. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|