The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
EXPIRING Access Marks???
I've searched this board, I can't believe I'm the only one who has asked for this???
But IF I am, go figure??? IF I'm not, could you PLEASE direct me to a Hack that would do this: OK you set up a special "User Group" where these people see only a specific section of your board. Then you give access to this group by setting certain users "Access Marks" OK is there a way to make those ACCESS marks EXPIRE?? Where you would set those permissions for say 1 month, 6 months, or 1 year? AND Have it email them when they are 1 month, 2 weeks, and 1 day from having there access expire? IS There something like this out there??? Thanks for your help. Yours, Kirk Voclain |
#2
|
||||
|
||||
These type of hacks which depends on doing something on a sheduled basis/in a certain time/reoccuring in periods etc are very rare to found. This is because vb does not give you a structure to build these hacks (IMO it's a shame). So if you want to code a hack that depends on such a system you either:
* Depend on cron jobs (which everybody is not provided by his server) * Create your own structure to handle time checks. (Like my Auto greetings in Birthdays, FireFly's Member of the day or Mystics's Who was online today hacks). To build such a structure is not a 2 line modification and requires careful coding and especially heavy testing because if you do something wrong it masses things real bad in some cases: For example I tested my Auto Birtdays Greeting hack over a month to make sure it's perfect because if there was a very tiny bug in the algorithm regarding time check handling, it could end up sending thousands of pm's/emails to your members or create unlimited number of greetings threads which would be disasterous for sure.. Buttom line is it's not very likely that you'll find such a hack, now or in the future.. |
#3
|
||||
|
||||
as far as i know, with vb3 there are some more possibilities to work on something like that, but for vb2 look at logicians post...
|
#4
|
|||
|
|||
WELL,,,,
Thanks for those replay!! SO HOW DO I do it???? Can I just put another INDEX page in a directory and pasword protect that directory??? WOULD THAT WORK???? IT'S like I need 2 boards!! ONE that free and public, but limited and full of popup ads. And another that you PAY ME to get into, but you have full access and do everything!! HOW do I do that with VB?? Kirk |
#5
|
||||
|
||||
you have to make different usergroups, then search for a hack that let's styles be usergroup definied.
create one style/templateset for all users included popups aso and one style for priviliged users without popups. the rest you can define in ACP usergroup options... |
#6
|
|||
|
|||
Xenon:
But how do I have it expire??? Do you understand?? Right now, the software I use, I have a CGI-BIN that is not password protected. And then I have a CGI-BIN that is password protected. OK, IF a user pays to get into the Password area, a password is sent to them and when they go to the CGI-BIN that is password protected, the little box pops up asking for there password. The put in the password and they are allowed to continue surfing. OK So can I have 2 index pages??? ONE in a password protected directory and set to access free stuff and pay stuff. And then another set to only access the free stuff??? That's what I'm trying to do?? Thanks in advance for your help!! Kirk |
#7
|
||||
|
||||
normally no, because the index.php has nothing todo with permission system of vb..
but perhaps you can use a trick: put one index-file in a directory which is pw-protected, add a code into this index.php which will change usergroupid into the id of your privileged group. then change the index.php in your maindirectory and add code to change usergroupid into 2 when a user of privileged usergroup views this page. change templates so that privilaged users will get to pwdir/index.php instead of root/index.php... i know it's not a nice method and perhaps not so easy to do, but it should work... |
#8
|
|||
|
|||
OK, let's say I want to just password protect the whole thing???
HOW DO I DO THAT??? Kirk |
#9
|
||||
|
||||
.htaccess ?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|