1
eko291
Auto-Approve on Agenda-X Submissions
  • 2003/11/13 18:16

  • eko291

  • Just popping in

  • Posts: 6

  • Since: 2003/10/23


Does anyone know how to change the Agenda-X settings so event submissions will auto-approve rather than me having to watch it? Thanks in advance for the help.

Eko

2
pedro00
Re: Auto-Approve on Agenda-X Submissions
  • 2003/11/22 1:24

  • pedro00

  • Just popping in

  • Posts: 6

  • Since: 2003/11/14


I've been playing with that. I made the following change to the addevent.inc.php file.

About 90 lines down is this line

$approve = ($caleventapprove >=1) ? 0 :1 ;

I changed it to

$approve = 1;

It seems to work, although I don't know if there will be some negative result somewhere else.

I'd like to make it only happen if the person is registered, but I haven't figured that out yet.

Pedro

3
pedro00
Re: Auto-Approve on Agenda-X Submissions
  • 2003/11/22 1:48

  • pedro00

  • Just popping in

  • Posts: 6

  • Since: 2003/11/14


Actually, I found a cleaner fix. Update config.inc.php

There's a specific place to set $caleventapprove = 1 at line 100.

Still haven't found a way to allow only registered users to post events without approval.

pedro

4
wjue
Re: Auto-Approve on Agenda-X Submissions
  • 2003/11/25 11:53

  • wjue

  • Quite a regular

  • Posts: 315

  • Since: 2002/8/3 7


Quote:

pedro00 wrote:

Still haven't found a way to allow only registered users to post events without approval.

pedro



Will be possible in 2.0


wjue

5
eko291
Re: Auto-Approve on Agenda-X Submissions
  • 2003/11/25 13:29

  • eko291

  • Just popping in

  • Posts: 6

  • Since: 2003/10/23


thanks to both of you. Until version 2 is released, I'll go ahead and use the clean fix.

Eko

6
Stewdio
Re: Auto-Approve on Agenda-X Submissions
  • 2003/11/28 19:41

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Any information on a release date for 2.0 Wang? Love what you have done so far.

Login

Who's Online

105 user(s) are online (81 user(s) are browsing Support Forums)


Members: 0


Guests: 105


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits