Advertisement:

Author Topic: Invitation System  (Read 81934 times)

Offline GeekyLass

  • Newbie
  • *
  • Posts: 4
Re: Invitation System
« Reply #140 on: November 24, 2012, 06:33:31 PM »
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?

Offline telcy

  • Semi-Newbie
  • *
  • Posts: 13
Re: Invitation System
« Reply #141 on: November 27, 2012, 06:29:50 PM »
did you installed it in your custom theme too?

Offline GeekyLass

  • Newbie
  • *
  • Posts: 4
Re: Invitation System
« Reply #142 on: November 28, 2012, 04:54:37 AM »
I'm not using a custom theme yet. I am still using the theme that comes default with the forum.

Offline hadesflames

  • SMF Hero
  • ******
  • Posts: 2,773
  • Gender: Male
  • C++ Coder
Re: Invitation System
« Reply #143 on: December 09, 2012, 10:55:36 PM »
An update is in the works.

Offline Lazarevics

  • Semi-Newbie
  • *
  • Posts: 12
Re: Invitation System
« Reply #144 on: December 11, 2012, 12:00:34 PM »
Subscribe ;)

Offline hadesflames

  • SMF Hero
  • ******
  • Posts: 2,773
  • Gender: Male
  • C++ Coder
Re: Invitation System
« Reply #145 on: December 13, 2012, 08:38:26 AM »
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.

Offline Lazarevics

  • Semi-Newbie
  • *
  • Posts: 12
Re: Invitation System
« Reply #146 on: December 13, 2012, 10:38:27 AM »
hello!

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

Any idea?

Offline hadesflames

  • SMF Hero
  • ******
  • Posts: 2,773
  • Gender: Male
  • C++ Coder
Re: Invitation System
« Reply #147 on: December 13, 2012, 12:12:05 PM »
Turn the mod on.

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Invitation System
« Reply #148 on: December 13, 2012, 12:26:24 PM »
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.
« Last Edit: December 13, 2012, 01:21:56 PM by PLAYBOY »

Offline Lazarevics

  • Semi-Newbie
  • *
  • Posts: 12
Re: Invitation System
« Reply #149 on: December 14, 2012, 06:34:03 AM »
This was the error: conflicts "Password Strength Meter" plugin

Offline mikeshine

  • Newbie
  • *
  • Posts: 2
Re: Invitation System
« Reply #150 on: December 14, 2012, 11:20:24 AM »
is there any points system that can be integrated with this mod?

Offline hadesflames

  • SMF Hero
  • ******
  • Posts: 2,773
  • Gender: Male
  • C++ Coder
Re: Invitation System
« Reply #151 on: December 19, 2012, 11:22:56 AM »
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.

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Invitation System
« Reply #152 on: December 19, 2012, 11:33:28 AM »
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

Offline hadesflames

  • SMF Hero
  • ******
  • Posts: 2,773
  • Gender: Male
  • C++ Coder
Re: Invitation System
« Reply #153 on: December 19, 2012, 09:44:41 PM »
Are you gonna be able to do it?

It's done.

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.

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Invitation System
« Reply #154 on: December 20, 2012, 01:14:03 AM »
Quote
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.

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.

Quote
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.

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.
« Last Edit: December 20, 2012, 01:24:54 AM by PLAYBOY »

Offline hadesflames

  • SMF Hero
  • ******
  • Posts: 2,773
  • Gender: Male
  • C++ Coder
Re: Invitation System
« Reply #155 on: December 20, 2012, 02:44:43 PM »
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.

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Invitation System
« Reply #156 on: December 20, 2012, 05:58:31 PM »
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.

Offline hadesflames

  • SMF Hero
  • ******
  • Posts: 2,773
  • Gender: Male
  • C++ Coder
Re: Invitation System
« Reply #157 on: December 22, 2012, 11:53:46 AM »
I already explained why, I'm not going to change it.

Offline Rifugio

  • Semi-Newbie
  • *
  • Posts: 17
Re: Invitation System
« Reply #158 on: January 31, 2013, 09:26:27 AM »
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? 

Offline JMantis

  • Semi-Newbie
  • *
  • Posts: 31
Re: Invitation System
« Reply #159 on: February 06, 2013, 08:22:41 AM »
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