Re: Invitation 1.1.1

Tack Rickard!

With debug mode activated the error message is this:


"
An error was encountered
File: /customers/brunna.se/brunna.se/httpd.www/forum/admin_groups.php
Line: 258

PunBB reported: Unable to update group

Database reported: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE g_id=7' at line 1 (Errno: 1064) 

"

hej!

27

Re: Invitation 1.1.1

OK,

I can guess a bit now.

Does it help when you do this?

In admin_groups.php
Go to line 233
After

  $search_flood = isset($_POST['search_flood']) ? intval($_POST['search_flood']) : '0';

Add this:

$invitations = isset($_POST['invitations']) ? intval($_POST['invitations']) : '0';
The German PunBB Site:
PunBB-forum.de

Re: Invitation 1.1.1

Now I can save the changes in the user group without an error message, but the changes doesn't take effect, nothing happens. sad

However, I can give groups invitations with the "Invitation management", that has never been a problem, but just so you know.

hej!

29

Re: Invitation 1.1.1

What do you mean "the changes don't take effect?"

When you change the form value for the invitations, does this value jump back to the previous one?
That would surprise me smile

The German PunBB Site:
PunBB-forum.de

Re: Invitation 1.1.1

The form value for the invitations does not jump back to the previous one. But the users doesn't get the messages anyway. sad

hej!

31

Re: Invitation 1.1.1

Well,
this is intended for new users.
Not exiosting ones.
Or what do you mean?

The German PunBB Site:
PunBB-forum.de

Re: Invitation 1.1.1

I tried to register a new member but there were no invitation to send... hmm

hej!

33

Re: Invitation 1.1.1

Aha.
I'll have a look tomorrow.

The German PunBB Site:
PunBB-forum.de

Re: Invitation 1.1.1

Thanks! I really appreciate your help!

hej!

35 (edited by Protheo 2006-08-30 18:11)

Re: Invitation 1.1.1

Hi, first of all I want to thank you for the help. I made the change you suggest on admin_groups.php and finally I have the mod working.

Anyway, I don't know why but the Invitation Messaje defined in Options doesn't appears on invitations.
I would also like to know if there is a way to allow invitaciones for registered users also (not only the new ones).


Finally, i'm sure someone else is having problems with this mod, so:

If anyone needs help with:
Broken URLS in mails
Error when clicking on invitation url
Or want the Spanish lang file

I post the solution here: http://www.punres.org/viewtopic.php?pid=9182#p9182

wink