![]() |
I got a problem with this hack... it works good, but today a user submitted an Event with HTML code in it, and the HTML didn't work.... Can you guys check it out? Submit an event with HTML, and see if after the approval, the HTML is working?
|
Firefly, did you ever get a chance to add email notification? What would be cool is, when someone submits an event, the admin gets an email with a link, and just by clicking on the link, the event is approved.
|
Installed this and it all appears to be working fine on 2.2.5. jamesdasher is right, the code appears in the file twice. I added the code before the first reference. I warn everyone to make sure when they copy and paste the code to be added to manually remove PHP code from the commented lines, for some reason it is written in them?! Anyway, thanks for this hack - just what I needed! :D
|
Argh just got a database error...
Quote:
|
*Bump*
|
For some reason you have this:
Code:
// Moderation Queue for Calendar Events (v1.0) |
D'oH! Thanks FireFly, and thanks gabs for the fix! :D
|
Works on 2.2.6! :) Also, for mod/index.php, do this [not what's in the instructions].
Replace... PHP Code:
PHP Code:
|
Having problems with this hack again after my upgrade...
Quote:
|
OK nevermind, I looked at that quote 10 times and it wasn't until I posted it here I realised I had a comment in the middle of a query. Seems to be working 100% now! :)
|
Is your code correction in your last post correct. I'm having a hard time getting this to work in 2.26.
thanks |
It's correct as far as I know. Everything works perfectly for me.
|
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. :) |
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?
|
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. :)
|
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.
|
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:
|
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! :)
|
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 ? |
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? |
Quote:
I got around it by creating a custom template for the error message. |
mmmmm, this hack took some tweaking on 2.2.9 but I got it
thx for the email responder too JJR one downside, I wish the event wouldnt show on the calendar untill allowed, oh well. |
There is a fix for that earlier in this thread.
|
Can someone post a text file with all of the fixes in it for this hack?
|
Give me 10 minutes...
|
Thank you, sir. ;)
|
Grrr... I just posted a finished version of instructions, only to find it isn't working. :(
I'll keep working on it... |
I have tried to do this like 5 times and every time I finish, the entire calendar goes blank. I must be doing something wrong in the calendar.php changes. Could someone attach their calendar.php file here for me?
Thanks! |
Quote:
|
Quote:
I don't get a blank page, rather none of the features that are supposed to be added work. And attaching calendar.php here would be illegal. |
makenavoption("New Calendar Events","moderate.php?action=calendar","<br>");
makenavoption("New Posts","moderate.php?action=posts","<br>"); But it is still not showing on hte admin page :banana: vb 2.3.0 |
So you've got the rest of it to work?
|
All times are GMT. The time now is 09:14 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|