![]() |
Quote:
|
Thanks! Installed and working well!
|
hi!
thanks for this amazing hack, i hope someone can answer this, at the moment, looking at your xml file it seems the current code is Code:
if ($show['guest'] AND !$lvgbot AND $vbulletin->options['lgvon']) Code:
if (is_member_of($bbuserinfo, x) AND !$lvgbot AND $vbulletin->options['lgvon']) do i have to call the global file or something? please advise. |
mrkhm, You can combine the function is_member_of($bbuserinfo, x) with $show['guest'] like follows:
PHP Code:
|
thanks for your response Ted S, before i saw yours, i managed to get this line of code to work:
Code:
if ($show['member'] AND is_member_of($vbulletin->userinfo, 2) AND !$lvgbot AND $vbulletin->options['lgvon']) Code:
is_member_of($bbuserinfo, 2) but thank you all the same... |
Theres no need for "$show['member'] AND ", to be in a group you must be a member. :D
But yes, logging out clears the cookies which would get around this. If your goal is pay per view you'd likely want an addon that stores views in a database and hard counts them. This can of course be done with a little bit of customization. |
hi ted can you do this.. i will pm you
|
Thank You very Much. Works a treat. (My first Hack too).
|
Hi,
Could you tell me how I can remove the message at the top on the hompage Please? And just keep the message that shows when guests have used up the stated amount of viewings before registering. Many Thanks. |
Quote:
|
All times are GMT. The time now is 10:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|