The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Hmm. I would guess the best place to check for auto-expiring would be during the login, where the username and password is entered. Also would need during cookie lookup, if user is using cookies.
|
#12
|
|||
|
|||
Quote:
I can use this as well! :banana: |
#13
|
|||
|
|||
Could use here as well.
|
#14
|
||||
|
||||
OK OK, I have not had time to look into this any further, however Since i realy need this hack, it look like im going to have to force myself to learn more to build the hack..... give me a week or so as i have other projects to complete
|
#15
|
|||
|
|||
I have this running once a month with a cronjob in case you want some inspiration:
PHP Code:
|
#16
|
||||
|
||||
Nick, I need all the inspriation that i can get .... lol
looking at the code, Ihis is now an automated process ???? I presume that you have to activate it via a link in the admin panel. If i added similar code to the admin/user.php, this will check the paid members current status each time they view a page or visit the site. I spost that it would add an extra quriy for paid membeers , this would not be so bad. i would have to add a second column to the user table so when the expired membersship code is activated, it sets the value to "1" that tells the script next time around that the email has already been sent. Will that work?? |
#17
|
||||
|
||||
sorry the code would have to go in the admin/functions.php.........right???
|
#18
|
|||
|
|||
Actually, mine's just in the root vB folder (doesn't pose a security threat), and it simply runs via a cronjob once per month.
|
#19
|
|||
|
|||
any progress on a full hack for this yet?
|
#20
|
||||
|
||||
there can be security holes in cron jobs, make sure the script has security measures.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|