Advertisement:

Author Topic: Invitation System  (Read 82169 times)

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Invitation System
« Reply #60 on: June 28, 2011, 12:06:02 AM »
Wouldnt it make/create any security hole? or decrease the security of the forum?

Offline Fred Biles

  • Semi-Newbie
  • *
  • Posts: 63
Re: Invitation System
« Reply #61 on: June 28, 2011, 03:02:47 PM »
Wouldnt it make/create any security hole? or decrease the security of the forum?

I know that, in the upgrade instructions for going to SMF 1 to SMF 2, it has one chmoding various folders to 777and the question was answered there that it was not necessary to change them back.

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Invitation System
« Reply #62 on: June 28, 2011, 05:45:13 PM »
I dont get it much. setting 777 to source folder wouldnt make any security hole? Is that what you are saying?

Offline Fred Biles

  • Semi-Newbie
  • *
  • Posts: 63
Re: Invitation System
« Reply #63 on: June 28, 2011, 06:18:56 PM »
I dont get it much. setting 777 to source folder wouldnt make any security hole? Is that what you are saying?

Based on the answer I saw, yes. Also, if you were still worried, after you installed it and everything was working ok, you could CHMOD it back (the Sources folder).

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Invitation System
« Reply #64 on: June 29, 2011, 06:09:21 PM »
No. I just tried it but changing the chmod doesnt make any difference for me. I still get the error.

Looks like many people has the same error.

I have spent 1 hour translating this mod to turkish. Can please anybody (including the writer of the mod) find a solution to this problem?

Unknown column 'member_id' in 'where clause'
Dosya: /home/site/public_html/forum/Sources/Invite.php
Satır: 332

I am afraid its conflicting with other mods but which ones and why?
Would it be cb|login mod?

HELP PLEASE!
« Last Edit: June 29, 2011, 06:27:23 PM by PLAYBOY »

Offline Fred Biles

  • Semi-Newbie
  • *
  • Posts: 63
Re: Invitation System
« Reply #65 on: June 29, 2011, 06:29:51 PM »
No. I just tried it but changing the chmod doesnt make any difference for me. I still get the error.

Looks like many people has the same error.

I have spent 1 hour translating this mod to turkish. Can please anybody (including the writer of the mod) find a solution to this problem?

Unknown column 'member_id' in 'where clause'
Dosya: /home/site/public_html/forum/Sources/Invite.php
Satır: 332

I am afraid its conflicting with other mods but which ones and why?
Would it be cb|login mod?

HELP PLEASE!

You said you tried CHMODing the folder to 777, but did you uninstall the mod., then do the CHMOD to 777, and then reinstall the mod?

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Invitation System
« Reply #66 on: June 29, 2011, 06:36:56 PM »
Quote
You said you tried CHMODing the folder to 777, but did you uninstall the mod., then do the CHMOD to 777, and then reinstall the mod?

You are the Man!
Thank you. Now its perfect.

Offline Jessica.

  • Full Member
  • ***
  • Posts: 468
  • Gender: Female
  • I use SMF 2.0.2, Default theme
    • Testing Zone
Re: Invitation System
« Reply #67 on: June 29, 2011, 06:43:53 PM »
How would I fix the Message to Recipient box?
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Invitation System
« Reply #68 on: June 29, 2011, 07:01:09 PM »
How do i set the registration to be only with invitation?
Right now anybody can register through  http://www.site.com/forum/index.php?action=register

Also the writer of the mod needs to fix the bug.
« Last Edit: June 29, 2011, 07:04:40 PM by PLAYBOY »

Offline Jessica.

  • Full Member
  • ***
  • Posts: 468
  • Gender: Female
  • I use SMF 2.0.2, Default theme
    • Testing Zone
Re: Invitation System
« Reply #69 on: June 29, 2011, 07:05:05 PM »
How do i set the registration to be only with invitation?
Right now anybody can register through  http://www.site.com/forum/index.php?action=register

Also the writer of the mod needs to fix the bug.

I would love to know as well
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Invitation System
« Reply #70 on: June 29, 2011, 07:22:37 PM »
Also how do i change the senders email adress?
Right now it shows the servers email adress which is pretty wrong for me.

Offline Spoogs

  • SMF Hero
  • ******
  • Posts: 1,676
  • Gender: Male
Re: Invitation System
« Reply #71 on: June 29, 2011, 07:27:48 PM »
How do i set the registration to be only with invitation?
Right now anybody can register through  http://www.site.com/forum/index.php?action=register

Also the writer of the mod needs to fix the bug.

I would love to know as well
It is enabled when you enable the mod... on register you will see an additional field for the invite key, once the mod is enabled invitation is the only form of registration permitted (at least so it seems).

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Invitation System
« Reply #72 on: June 29, 2011, 08:23:01 PM »
1- Is there a way to hide the invite tab from members who are not allowed to send an invitation?

2- Also how do i change the senders email adress?
Right now it shows the servers email adress which is pretty wrong for me.

3- It sends the Admins email adress on top of every email message. Why? and how to delete that?

4- How can i make the "Message to recipient" box to be not required to fill? or put a default value so it wont ask for a value in message box every time.
« Last Edit: June 29, 2011, 09:54:17 PM by PLAYBOY »

Offline Fred Biles

  • Semi-Newbie
  • *
  • Posts: 63
Re: Invitation System
« Reply #73 on: June 30, 2011, 02:05:08 PM »
Quote
You said you tried CHMODing the folder to 777, but did you uninstall the mod., then do the CHMOD to 777, and then reinstall the mod?

You are the Man!
Thank you. Now its perfect.

You're welcome. Glad I could help  :)

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Invitation System
« Reply #74 on: June 30, 2011, 10:52:14 PM »
1- Is there a way to hide the invite tab from members who are not allowed to send an invitation?

2- Also how do i change the senders email adress?
Right now it shows the servers email adress which is pretty wrong for me.

3- It sends the Admins email adress on top of every email message. Why? and how to delete that?

4- How can i make the "Message to recipient" box to be not required to fill? or put a default value so it wont ask for a value in message box every time.

Can anybody answer my questions please?
I am pretty desperate here!

Are they very hard to answer?
I translated the entire mod in Turkish so that i could use it. But there are errors and problems.
« Last Edit: July 02, 2011, 05:01:13 AM by PLAYBOY »

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Invitation System
« Reply #75 on: July 02, 2011, 05:46:16 AM »
Quote
3- It sends the Admins email adress on top of every email message. Why? and how to delete that?

Solution to #3
Delete where says "$webmaster_email" from invite.php

Quote
4- How can i make the "Message to recipient" box to be not required to fill? or put a default value so it wont ask for a value in message box every time.

Solution to #4
I still dont know how to make the field NOT REQUIRED but i found out how to add a default value. Open invite.template.php then find and change this.
<textarea name="r_message" rows="3" cols="35" style="width: 90%">YOUR DEFAULT VALUE</textarea>

These are not the best solutions because im very amateur with PHP and these things but it would be a temporary solution until somebody pays a little attention to this topic.

Offline live627

  • Development Contributor
  • SMF Hero
  • *
  • Posts: 5,655
  • Gender: Male
    • live627 on Facebook
    • live627 on GitHub
    • live627 on LinkedIn
    • @live627 on Twitter
    • livemods
Re: Invitation System
« Reply #76 on: July 07, 2011, 02:37:21 AM »
until somebody pays a little attention to this topic.
and who actually knows the mod enough to be of some service.

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Invitation System
« Reply #77 on: July 16, 2011, 08:40:08 PM »
**Solution to the 2nd problem:
Open invite.php from sources directory
Change
            if(mail($email, $subject, $message_final, $webmaster_email))
with this
                                if(mail($email, $subject, $message_final, 'From: '.$webmaster_email, '-f'.$webmaster_email))




Now i have 3 little problems...

A- Is there a way to hide the invite tab from members who are not allowed to send an invitation?

B- It would be SOOO HELPFUL to put more than one email adress into the "Send Key Via Email" form. So i can send multiple invitations to different adresses at once.

C- Why invitation email shows turkish characters as JAPANESE characters?
« Last Edit: July 16, 2011, 09:16:04 PM by PLAYBOY »

Offline hadesflames

  • SMF Hero
  • ******
  • Posts: 2,773
  • Gender: Male
  • C++ Coder
Re: Invitation System
« Reply #78 on: July 27, 2011, 01:06:37 PM »
**Solution to the 2nd problem:
Open invite.php from sources directory
Change
            if(mail($email, $subject, $message_final, $webmaster_email))
with this
                                if(mail($email, $subject, $message_final, 'From: '.$webmaster_email, '-f'.$webmaster_email))




Now i have 3 little problems...

A- Is there a way to hide the invite tab from members who are not allowed to send an invitation?

B- It would be SOOO HELPFUL to put more than one email adress into the "Send Key Via Email" form. So i can send multiple invitations to different adresses at once.

C- Why invitation email shows turkish characters as JAPANESE characters?

A - You would have to go to Subs.php and look for the invite button, then in visible or something like that, put instead of "true" something  that returns whether or not the user can view the area.

B - No because one invitation can only work once. Sending the same invite to different people would be useless.

C - No idea...

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Invitation System
« Reply #79 on: July 27, 2011, 01:13:12 PM »
Quote
B - No because one invitation can only work once. Sending the same invite to different people would be useless.

No. I meant sending more than one invitation at once. Like a form you just put the email addresses and it will create and send the invitations automatically. I think that would be very useful.