• Welcome to Simple Machines Community Forum. Please login or sign up.
December 07, 2021, 04:55:51 AM

News:

SMF 2.0.18 has been released! Please update. Read more.


Invitation System

Started by hadesflames, July 21, 2010, 10:50:15 PM

Previous topic - Next topic

madman71

thanks Hades,

must be  conflicting  with another mod or something. oh well.

ɔɔɔɔɔɔuɥoɾ

"This is an outdated mod that is no longer supported by its author. Use at your own risk "

What happened, this mod was like just submitted, not even 3 pages, ???


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

hadesflames

I dropped support to all my mods.

Getting tired of SMF...Don't worry though, the mod works well...

EDIT:

Also, this mod was NOT "just" submitted. It got submitted two months ago. It was only recently "approved" there is a difference...

timmytimmy

Quote from: madman71 on July 24, 2010, 10:55:47 PM
I just installed and it went just fine.

However when i clidk on the INVITE tab, i get this error:

Unknown column 'member_id' in 'where clause'
File: /home/celebri1/public_html/forum/Sources/Invite.php
Line: 332


when i try to generate a KEY, i get this errro:

Unknown column 'inv.key' in 'field list'
File: /home/celebri1/public_html/forum/Sources/Invite.php
Line: 922


this is in my LOGS:

Database Error: Unknown column 'member_id' in 'where clause'


SELECT COUNT(*) AS num_keys
FROM smf_invites
WHERE member_id = 1
Apply Filter: Only show the errors from this file
File: /home/celebri1/public_html/forum/Sources/Invite.php
Line: 332

happens to me as well.  i just installed 2.0 RC3, and this is the second mod i installed (first being a karma one).

i guess i'm out of luck?

timmytimmy

hadesflames would you be willing to fix this for $$$$ ?

ɔɔɔɔɔɔuɥoɾ

Quote from: hadesflames on July 31, 2010, 04:58:54 PM
I dropped support to all my mods.

Getting tired of SMF...Don't worry though, the mod works well...

EDIT:

Also, this mod was NOT "just" submitted. It got submitted two months ago. It was only recently "approved" there is a difference...

Well, you know what I mean lol :P


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

timmytimmy

Quote from: madman71 on July 24, 2010, 10:55:47 PM
I just installed and it went just fine.

However when i clidk on the INVITE tab, i get this error:

Unknown column 'member_id' in 'where clause'
File: /home/celebri1/public_html/forum/Sources/Invite.php
Line: 332


when i try to generate a KEY, i get this errro:

Unknown column 'inv.key' in 'field list'
File: /home/celebri1/public_html/forum/Sources/Invite.php
Line: 922


this is in my LOGS:

Database Error: Unknown column 'member_id' in 'where clause'


SELECT COUNT(*) AS num_keys
FROM smf_invites
WHERE member_id = 1
Apply Filter: Only show the errors from this file
File: /home/celebri1/public_html/forum/Sources/Invite.php
Line: 332

i know this comes up as a database error, but i double checked all of the file edits to make sure they were okay, and i think everything is fine.  that being said, is there anyone who can give me some advice on how i might go about fixing the database issues?  in phpMyAdmin i can see that this mod creates a "smf_invites" table, but that's my limit as far as what i know/understand about databases.

hadesflames

Have you guys tried asking your hosts about this? It doesn't happen to me, and seeing as it didn't happen to any cust team member (otherwise the mod wouldn't have been approved) or anyone else for that matter, there's nothing wrong with the code itself...

Sabre™

Run install.php through your browser
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


rd

This is a great mod, pretty useful to private forums.

cieplutki





.

hadesflames

I've confirmed that this mod works with 2.0 RC4

4T3IG0

Hi

Great Mod. I have only one problem, invitations go directly to spam. Any idea how to fix this?

Tnks   :)


Oranos

It's not a problem with the mod. If invitations are going to spam, then any email being sent by your forum goes to spam as well.

kingkingston

the invitation button isn't showing and the action isn't working properly, am i meant to cmod it or change the language of my forum and if so where do you do it, i couldn't find it anywhere

general_issimo

January 21, 2011, 05:21:48 AM #35 Last Edit: January 21, 2011, 06:39:21 AM by general_issimo
Hey Hadesflames,
this is really a very cool mod - exactly what I was looking for.
Nevertheless, I have a problem.
I have several Groups to limit access-levels to boards in my 2.0RC4 installation.
Now we want to restrict registration to invitation only. So your mod is perfect for us.
So I installed the mod and even have almost everything translated to german, yet.
But i still have a problem.
Where restrictions in Groups, who may create new invitation codes seem to work, a newly registered user has unlimited rights to create and send codes. Even though, I used another mod to move the user to a specific group on registration and limit the rights to 0
Any idea, what the problem can be?


#Update: Looks like any newly registered user can generate codes. Once, I manually assign a group, restriction works. But I will keep an eye on it, since I don't really rely on that behavior, yet. Is that a bug?

general_issimo

I had some more investigation on this.
All newly registered users can generate invitation codes - even if they are moved to another Usergroup, at regegistration with http://custom.simplemachines.org/mods/index.php?mod=1804

Only moving a user to another group after registration will enable the permission-system of invitations.
It makes no difference, if the user is added to a group by any mod or joins to another group, himself. Even leaving the group won't affect the restrictions to work.
So really only newly registered users can fully create new codes.
Can anyone recreate that issue?

hadesflames

When someone registers on your forum, they are initially assigned to the member group "Newbie" (or whatever your 0 post count member group is) do you have the restrictions in place for that member group? Make sure they aren't set to -1, as that would allow unlimited invitation key generations for that member group. Also, if you have a mod that places people on a certain member group on registration, but it doesn't work, you should talk to that mod's author about that.

hadesflames

Confirmed working with RC5

kingkingston

it is an alright mod but would be better if it allowed people to register if they haven't been invited

Advertisement: