The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Thanks
You wouldn't happen to know how to set a value in the cookie would you? I haven't been able to find the part of the code that deals with cookies. I'm exhausted now, but tomorrow I'll post a rough sketch on how this thing should work. Paul |
#12
|
|||
|
|||
Functionality outline:
User visits site --> -- If guest or not logged in --> ----- On post new thread or reply: ---------- check value of numofposts in cookie and set numofposts in the session table to equal that value ------------- if >= number of posts limit set in control panel ------------------ show error_guestpostlimitreached ------------- else ------------------ increment numofposts value by 1 in session table (small int) ------------------ increment numofposts value by 1 in cookie (however this is done) This system is not meant to be perfect, only to limit the number of posts made by guests per session and to encourage registration. If cookies are enabled, to carry the numofposts data throughout each visit until the limit is reached. I understand that it is not the most secure way of going about this, but I'm not really looking for heightened security. I have a very active staff who read all new posts. Anyone that can put the above into useable code would really be helping me out. Thanks, Paul |
#13
|
|||
|
|||
I am seeing this in motion right now at a site, and I would love to have this.
Does anyone know where this code is, becuase someone has it and it is installed. Logician? |
#14
|
|||
|
|||
We have developed and are using a similar modification. I'll see if I get some time if I can post the necessary code changes here.
|
#15
|
|||
|
|||
Quote:
That would be great, thanks! |
#16
|
|||
|
|||
^
|
#17
|
|||
|
|||
where's the code?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|