News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Invite (registration through invitation)

Started by Sarke, March 03, 2007, 02:47:51 PM

Previous topic - Next topic

Sarke

Well you didn't have to wait long, 1.05 is up now with some minor improvements.

My MODs          Please don't PM me for support, post in the appropriate topic.

mgaidia


Sarke

Sorry, I don't speak french.  You can always translate it yourself.

My MODs          Please don't PM me for support, post in the appropriate topic.

Sarke

Version 1.06 is up, with a few new features, like having it's own menu link and page, as well as a mailing feature.

It hasn't been fully tested yet so stick with 1.05 if you must have it working 100%.  Please let me know of any errors in 1.06.

My MODs          Please don't PM me for support, post in the appropriate topic.

choloman05

Installed 1.0.6. Looks good - I like it in the menubar instead of profile.  I'll check to make sure the emails went through, but I did notice that in this area

Number of days for members to get a new invite credit.
(0 for no limit, admins are exempt)

Max number of invite credits.
(0 for no limit, admins are exempt)

Number of days for an invite key to be valid.
(0 for no limit)


When I punched in "0" and then saved it, the fields were blank again. 

Is there no way guests can invite too? Thanks for the mod. Very good!

MinasC

question : could there be a functionality problem with the invited members if someone uninstall the mod ?

Sarke

Quote from: choloman05 on March 05, 2007, 07:25:17 PM
When I punched in "0" and then saved it, the fields were blank again. 
It's ok, 0 and empty string is the same to SMF.

Quote from: choloman05 on March 05, 2007, 07:25:17 PM
Is there no way guests can invite too? Thanks for the mod. Very good!
No, I really didn't see a point in making that.  There would be no way of tracking how many invite credits they have, and there wouldn't be a "invited by" either.

My MODs          Please don't PM me for support, post in the appropriate topic.

Sarke

Quote from: MinasC on March 05, 2007, 08:09:12 PM
question : could there be a functionality problem with the invited members if someone uninstall the mod ?
No, it should work fine.  The settings and the table containing the invite keys and related info is still there after uninstall, so you can reinstall and it'll keep working.  If you simply want to get rid of it, that works too.

My MODs          Please don't PM me for support, post in the appropriate topic.

RoarinRow

Quote from: choloman05 on March 05, 2007, 07:25:17 PM
Installed 1.0.6. Looks good - I like it in the menubar instead of profile.  I'll check to make sure the emails went through, but I did notice that in this area

Number of days for members to get a new invite credit.
(0 for no limit, admins are exempt)

Max number of invite credits.
(0 for no limit, admins are exempt)

Number of days for an invite key to be valid.
(0 for no limit)


When I punched in "0" and then saved it, the fields were blank again. 

Is there no way guests can invite too? Thanks for the mod. Very good!

same thing happens to me when i put in zeros and hit save.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

christicehurst

New Install - Great idea, poor install...

Type Action Description
1. Extract File ./Sources/Invite.php 
2. Extract File ./Themes/default/Invite.template.php 
3. Execute Code db.php 
4. Execute Modification ./index.php Test successful
5. Execute Modification ./Sources/ModSettings.php Test successful
6. Execute Modification ./Sources/ManagePermissions.php Test failed
7. Execute Modification ./Sources/Register.php Test successful
8. Execute Modification ./Themes/default/index.template.php Test failed
9. Execute Modification ./Themes/default/Profile.template.php Test successful
10. Execute Modification ./Themes/default/Register.template.php Test successful
11. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful

So what's failed?
www.brisbanelionsunited.com - A forum for everyone!

choloman05

Ok, thanks for that Sarke (that 0 and blank = same thing).

I don't mean to sounds like a jerk or like I expect you to do this at all ...   I can see some functionality of having guests able to invite - where they (or all users instead of their username) would enter whatever name they choose (as it's their friends who will be receiving the email, and their friends might not know their username). Just a thought. Cool mod though. And thanks for the quick support.   

Sarke

#31
Quote from: christicehurst on March 05, 2007, 10:54:18 PM
Great idea, poor install...

Maybe another mod was "poorly installed"?


You'll have to install those two files manually.  This will help: http://server.daniel15.com/smf/package.php

My MODs          Please don't PM me for support, post in the appropriate topic.

Sarke

Quote from: choloman05 on March 05, 2007, 10:58:15 PM
Ok, thanks for that Sarke (that 0 and blank = same thing).

I don't mean to sounds like a jerk or like I expect you to do this at all ...   I can see some functionality of having guests able to invite - where they (or all users instead of their username) would enter whatever name they choose (as it's their friends who will be receiving the email, and their friends might not know their username). Just a thought. Cool mod though. And thanks for the quick support.   

Np, and they can always enter their real name in the message area.  The email will also be from the senders email, and not the forum email, so that should help too.  I might add a box for aliasing the senders name in a coming version.  Guests though, that I'll probably leave just because I'd have to change qquite a bit and I still see minimal use for it.  They can always IM or email them themselves. :P

My MODs          Please don't PM me for support, post in the appropriate topic.

Stirred

First of all Thanks for this fantastic Mod!!!

I installed it today and get these errors when i'm working in the Invite page:

Quote2: Invalid argument supplied for foreach()
Ficheiro: */Sources/Invite.php
Linha: 338

: Undefined variable: invitees
Ficheiro: */Sources/Invite.php
Linha: 200

I'm running 1.06 and I installed it smoothly. And these errors only happen with me (Administrator).

I think that everything is working OK although I wanted to end this error reports.
- eighteen seconds before sunrise -

Sarke

Thanks, I'll sort that out for next version.  It's just a notice that the array is empty, it doesn't really affect anything except that it's being logged.

My MODs          Please don't PM me for support, post in the appropriate topic.

Stirred

#35
After members went to the invite page they show those errors too afterall and not only to me as Administrator. There are others errors much the same that if you want (in case you don´t know them) I can post them here.

Thanks for the fast answer.

If it doesn´t hurt there's no problem! =)

GL with the upcoming version. It will be a perfect system if you correct the errors because you achieved very much already.
- eighteen seconds before sunrise -

Sarke

Thanks again!  I've got my "second wind" with this mod now that it's been approved.  :P

I might as well fix this right now...

My MODs          Please don't PM me for support, post in the appropriate topic.

Sarke

1.07 out, the above being the only change.

If there are other errors, please post them.

My MODs          Please don't PM me for support, post in the appropriate topic.

Stirred

#38
I just installed 1.07 and these are the errors that it shows me sometimes:

Quote8: Undefined variable: txt
Ficheiro: */Sources/Invite.php
Linha: 187

8: Undefined variable: user_profile
Ficheiro: */Sources/Invite.php
Linha: 144

I hope it helped.
- eighteen seconds before sunrise -

mrbear

i think its just me but i cant seem to find the
"Features and Options" -> "Invite", and "Manage Permissions".

I can't see the "Invite" thingy. I installed 1.07.

Advertisement: