vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Moderation Queue for Calendar Events! (https://vborg.vbsupport.ru/showthread.php?t=32380)

SirSteve 11-18-2001 05:16 AM

Thanks!

clearchannel 11-18-2001 12:05 PM

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

clearchannel 11-18-2001 12:47 PM

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

Admin 11-18-2001 02:46 PM

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.

clearchannel 11-18-2001 04:13 PM

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

SirSteve 11-19-2001 05:44 AM

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?

:)

Admin 11-19-2001 05:51 AM

For that hack, replace this line:
Code:

                WHERE eventdate='$today' AND ((userid = '$bbuserinfo[userid]') OR (public = 1))");
with this line:
Code:

                WHERE eventdate='$today' AND visible=1 AND ((userid = '$bbuserinfo[userid]') OR (public = 1))");
(that's in that file mister posted)

I'll post some code for the mail thing later.

clearchannel 11-19-2001 08:44 AM

Quote:

Originally posted by FireFly
(that's in that file mister posted)
Is that to fix my problem? I'm not fimiliar with the file mister posted.

Thanks

Admin 11-19-2001 08:50 AM

[QUOTE]Originally posted by clearchannel
Is that to fix my problem? I'm not fimiliar with the file mister posted.

Thanks

clearchannel 11-19-2001 09:15 AM

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


All times are GMT. The time now is 10:32 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01239 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete