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 |
#22
|
|||
|
|||
Thanks!
|
#23
|
|||
|
|||
He may mean something along these lines. Where is the control panel located to approve events on the calander.
I posted a message as a normal member and the only option available was the private event. I posted the event as a member and it showed up. I logged out as that member, logged in as a new regular member and could not see the event. I no longer see the public event icon? I used notetab copy and paste to make the changes. Is it possible I one, have a problem with the datatbase, or 2 addedd and unknown cr by accident? I added this hack to version 2.2.1 |
#24
|
|||
|
|||
I get the following error if I try and moderate posts using the admin control panel in any forum:
Parse error: parse error in /home/virtual/*******/home/httpd/html/forums/mod/moderate.php on line 179 Again, this is in vb 2.2.1 |
#25
|
||||
|
||||
You need to enable Public Events to be able to post them.
Private Events don't go into the queue, because only the user that posted those events can see them. |
#26
|
|||
|
|||
I'm now receiving this error:
Parse error: parse error in /home/virtual/***********/home/httpd/html/forums/calendar.php on line 461 along with this error when I check the post queue Parse error: parse error in /home/virtual/************/home/httpd/html/forums/mod/moderate.php on line 180 |
#27
|
|||
|
|||
Thanks again for the help Firefly. I like yours much better. Just a few things... how about the option to be e-mailed when an event has been submitted and since I have Today's Events on main page Hack (https://vborg.vbsupport.ru/showthrea...threadid=21232), the non-approved events are showing up there. Is there a simple way to get your hack to work with that hack?
|
#28
|
||||
|
||||
For that hack, replace this line:
Code:
WHERE eventdate='$today' AND ((userid = '$bbuserinfo[userid]') OR (public = 1))"); Code:
WHERE eventdate='$today' AND visible=1 AND ((userid = '$bbuserinfo[userid]') OR (public = 1))"); I'll post some code for the mail thing later. |
#29
|
|||
|
|||
Quote:
Thanks |
#30
|
||||
|
||||
[QUOTE]Originally posted by clearchannel
Is that to fix my problem? I'm not fimiliar with the file mister posted. Thanks |
#31
|
|||
|
|||
Yes, I sure I didn't omit anything. I did however find find the line to replace in step 6 comes before the line in step 5, while doing a find, I had to start from the beginning of the file?
Also, while editing the calander.php there were I think two lines that once I deleted the line the cursor did not align at the same point where the first character of the line I deleted was, I'm not sure if <cr> have an effect. Would I be better off, saving the step five page in text and editing from a text file, rather then html? Thanks |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|