The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
This was requested by clearchanel yesterday:
http://www.vbulletin.com/forum/showt...threadid=33118 The idea is, letting normal members post public events for all to see, but still avoiding the abusive members abuse this feature. Basically, if the option is turned on, all new public events will be added to a moderation queue, similar to the way new attachments and posts are moderated. Each moderator will then be able to approve public events in a special place in his Mod CP. A link is added there, see the screen shot in the zip file for more info. That's all I think there is to this. To install this hack, download the attached zip, extract it, and upload install_modqueuecal.php to your admin folder. Then go to it in your browser, and follow all the instructions that will be presented to you. The install script will run two queries. One will add a field to your calendar_events table, and the other will add the new admin option. Uninstall procedure is also avaiable. A demo of the validating screen can be found in the zip file. By the way, moderation is bypassed for mods and admins, so they can post without having to validate the events. Not sure if this will work on versions prior to 2.2.0, but I don't expect any problems with it. That's it I think. Feedback is welcomed as always! Show Your Support
|
Comments |
#52
|
|||
|
|||
Is your code correction in your last post correct. I'm having a hard time getting this to work in 2.26.
thanks |
#53
|
||||
|
||||
It's correct as far as I know. Everything works perfectly for me.
|
#54
|
||||
|
||||
FireFly, people are having that comment in the middle of the query because that's what your instructions say to do. Step 6 of the calendar.php instructions say to find this:
PHP Code:
PHP Code:
PHP Code:
Finally, in Step #7 of the instructions for calendar.php (this is the reason I'm here in the middle of installing this hack in the first place), that bit of code to find appears twice. Do we add the new code before both of them, or just the first or second? Someone else did the first; I'm doing both, and I'll try to test it, but an official word would be nice. |
#55
|
||||
|
||||
One question: When someone submits an even, the title shows up on the calendar, but clicking it gives an "invalid event id" message until the event is moderated (approved). Is this intended behavior? Shouldn't nothing show up until it's approved?
|
#56
|
||||
|
||||
OK, for the record, in Step 7 of the instructions for calendar.php, you do it for the FIRST instance of the found code, and not for the second! If you do it for the second, then if you click on the link that is the number of the date in that date's box, you will get an invalid id error message. I guess that sounds confusing...don't worry about it, just do it to the first instance only and you'll be fine.
|
#57
|
||||
|
||||
You know what...I could be wrong. I've just discovered that if you don't do it for the second bit of code, then anyone can click on the date link to see the event for that day, even before it's been moderated. If you click the event itself, you still get the invalid id message, though. Now I'm confused.
|
#58
|
||||
|
||||
Here's how to get an email message whenever someone posts a public event that gets queued. These instructions assume you have completely installed the hack as instructed.
In calendar.php, find: PHP Code:
PHP Code:
|
#59
|
||||
|
||||
Dude there's a fix earlier in the post for un-moderated events appearing on the Calendar. And thanks for this e-mail feature! It's very useful as at times I haven't authorised events until they've passed!
|
#60
|
|||
|
|||
Hi,
i have vb2.2.5 I launched the installation script wthout any error, great ! In the cp, the calendar is activated and moderated. I connect as a moderator and go to calendar... nothing changed, I only have the "private event" button... May someone help me ? |
#61
|
|||
|
|||
I just installed this hack on vBulletin 2.2.9. It works great except for this problem:
When a user posts an event, all is fine and dandy, until he's redirected back to his own event. It shows up as event invalid. Is it supposed to be this way or is there something I'm doing wrong? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|