Invitation System

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

Previous topic - Next topic

GeekyLass

I've downloaded, emulated 2.0.1, and installed this add-on. Strangely, where one would set-up the add-on doesn't appear anywhere in the admin section. Any thoughts on what's going on there, and what I need to do to beat it into working?

telcy

did you installed it in your custom theme too?

GeekyLass

I'm not using a custom theme yet. I am still using the theme that comes default with the forum.

hadesflames

An update is in the works.

Lazarevics


hadesflames

Version 1.1 now released. In an effort to reduce file edits, all language strings have been moved to their own file "Invite.english.php"

There have also been a couple of new strings added for the new features. If you want to see this mod in your language, submit an Invite.language.php and an Invite.language-utf8.php. If you don't know how to format the files properly, ask for help, but don't submit a utf8 version that's formatted improperly, or it won't be added. I'll try to add languages as they're submitted, but I don't hang out around here anymore, so don't be surprised if your language doesn't get added.

The new features are explained in the original post, and the download page. For the languages already submitted (turkish and spanish) here are the language.xml files so that you don't have to translate the mod from scratch again.

Lazarevics

hello!

The registration page is not visible in the "key" field.
The amendment is included in the file Register.template.php ...

Any idea?

hadesflames


PLAYBOY

#148
You are so good! Thank you very much for the "Invited by" field in profile and adding it to permissions. I really Appreciate it! You are doing a perfect job!

1- Do you think you can add just one more tiny little thing in permissions?
Who (which member group) can see the "Invite" button in the menu bar.
Or the button just wont be visible if they dont have any invitation keys.

2- Also It would be very very helpful if people can register only through the email address they got he invitation in. This is just an extra (nice-to-have) feature if you would like to add. Because people register with any email address and i lose track of which person was that which i invited. You dont have to do this one but just an idea though.

Lazarevics

This was the error: conflicts "Password Strength Meter" plugin

mikeshine

is there any points system that can be integrated with this mod?

hadesflames

Quote from: PLAYBOY on December 13, 2012, 12:26:24 PM
1- Do you think you can add just one more tiny little thing in permissions?
Who (which member group) can see the "Invite" button in the menu bar.
Or the button just wont be visible if they dont have any invitation keys.

I don't think I would extend such a decision to the admin. Instead, the invite button should only be visible to people that either A) have had invite keys in the past or B) have the ability to generate invite keys (even if they already ran out for that month) Since the invite button also allows them to manage their keys. A permission doesn't make sense.

PLAYBOY

Right. It would make more sense to if we make the button invisible to the ones,
"A) have had invite keys in the past or B) have the ability to generate invite keys (even if they already ran out for that month) Since the invite button also allows them to manage their keys. "

Are you gonna be able to do it?

Also I think there is only one extra thing for the Turkish translation in the new version "Invited by"
you can add it as "Davet eden"

Thank you

hadesflames

Quote from: PLAYBOY on December 19, 2012, 11:33:28 AM
Are you gonna be able to do it?

It's done.

Quote from: PLAYBOY on December 19, 2012, 11:33:28 AM
Also I think there is only one extra thing for the Turkish translation in the new version "Invited by"
you can add it as "Davet eden"

No, there are more, you need to attach an Invite.turkish.php and Invite.turkish-utf8.php like I said previously if you want it in your language, then I'll add a language pack. The number of lines in the turkish files should be the same as the Invite.english.php file.

Also, the second thing you want doesn't really make sense. In regards to forcing people to use the email they got their invite from. How would that work if I generated an invite and gave it to someone normally? Then I can't force anything at all. Besides, users shouldn't HAVE to use a certain email to register to a forum. So, I won't be adding that.

PLAYBOY

#154
QuoteAlso, the second thing you want doesn't really make sense. In regards to forcing people to use the email they got their invite from. How would that work if I generated an invite and gave it to someone normally? Then I can't force anything at all. Besides, users shouldn't HAVE to use a certain email to register to a forum. So, I won't be adding that.

It makes sense on my situation because i use this mod little different than everybody else.
I got an application form to register to my forum. People fill up the application form and basically ask for an invitation. Then only some people can invite them after reading their form and once they invite that person we should know which new member had filled that application form to archive. Most of the time people write one email address in the application form and we send the invitation there but they signup with another email address, then we cant find the guys application form and cant associate him to who he was. Anyways, this feature would be very helpful for me and I understand you dont want to add it as a feature. I just think it could be just a checkbox option when you sending an invitiation.

QuoteNo, there are more, you need to attach an Invite.turkish.php and Invite.turkish-utf8.php like I said previously if you want it in your language, then I'll add a language pack. The number of lines in the turkish files should be the same as the Invite.english.php file.

Sure.. I ll do the translation for Turkish.

Quote
It's done.

Thank you.
So now people who cant send an invitation cant see the menu button i assume. I dont think there is an option to turn it off and on.
But now I think the members who can send invitations doesnt see the "Email an invitation" button under the invite menu. They see only the first 2 options but not the 3rd which is emailing the invitation.
Can you confirm that its there? Maybe im doing something wrong.
I, as an admin can see it though. But the other membergroups who has been given unlimited invitation priviliges cant see the email option in the menu.

hadesflames

It means invitations by email are turned off. If you turn off the mod completely in the settings page, no one will be able to see the invite button at all.

PLAYBOY

but my point was that if some members can't send invitations then why they should still see the invite button on top? so I suggest only the members who can send invitations should be able to see the invite button.

hadesflames

I already explained why, I'm not going to change it.

Rifugio

Hi,  Just gave this a try with SMF 2.0.3 installed all seemed to be fine until I went to generate keys and I got the following error:

Unknown column 'inv.invite_id' in 'field list'
File: <forum>/Sources/Invite.php
Line: 1051

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.3, while your database is at version 2.0.1. The above error might possibly go away if you execute the latest version of upgrade.php.

I read somewhere that it may be the permissions on the sources folder so uninstalled then set them to 0777 - and retried still no joy - any ideas? 

JMantis

I uninstalled this mod because we didn't need it anymore.

However while the uninstallation didn't give me any problems, the menu item and even the options in the admin menu are still visible so it seems it wasn't removed properly after all.

When I click on anything related to the mod that's still there, this appears:

Fatal error: require_once() [function.require]: Failed opening required '/public_html/Sources/Invite.php' (include_path='.:/usr/local/lib/php') in /public_html/index.php on line 379

Advertisement: