News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Invite (registration through invitation)

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

Previous topic - Next topic

madman71

Works nicely on 1.1.11 with a manual install.

live627

Quote from: HIGGINS on May 19, 2010, 12:42:17 PM
And for free?

hadesflames made one yet to be approved - some waiting is in order

- WoW -



cassandrak

Hi!

I'm using SMF 1.1.2 and this is my first time trying to install a mod. I've edited all the files but I have no idea what I'm supposed to do with the db.php file. Any help?

Thanks!

Sabre™

You really should update to smf1.1.11, as there are security issues with your version.
But to answer your question, you upload the db.php to the root of your forum(where the packages, avatars and smiley directories are), and call it through your browser.
eg. h**p://www.simplemachines.org/db.php

Once that is done, delete it.
That will load whatever needs adding to the database
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


daked

please i need this great mod for smf 1.1.11 please please please with cherry,sugar,...... on top  :D

SONSiVRi

Quote from: daked on June 29, 2010, 06:13:44 PM
please i need this great mod for smf 1.1.11 please please please with cherry,sugar,...... on top  :D


It works on 1.1.11
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

maihannijat

Hi

I installed Islam them.

i want to add Invite button on it.

I have add this code in index.template.php

// Show the [Invite] button.
echo '<li><a' , $current_action=='invite' ? ' class="current"' : '' , ' href="', $scripturl, '?action=invite"><span>', $txt['invite'] , '</span></a></li>';


The place for button is empty NO TEXT in main page but when I click that space it loads invite page.

here is my page www.islamicmessageboard.com


I dont care about invite settings, i want it to appear in general both for guest and members,

How can make visible this button?

maihannijat

I add button successfully in the menu bar.


mkdesigns

Hi!  I have just started using this mod.  I would like to add a form to the "register" page where it asks them to enter their invitation key.  I would like the form to be below this will a few different questions to ask them and they can request registration.  Which file do I go to to add something like this?  Thanks!

SONSiVRi

Quote from: mkdesigns on October 16, 2010, 06:45:41 PM
Hi!  I have just started using this mod.  I would like to add a form to the "register" page where it asks them to enter their invitation key.  I would like the form to be below this will a few different questions to ask them and they can request registration.  Which file do I go to to add something like this?  Thanks!

There should be another mod for it. You can use it with this mod.
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

mkdesigns

I am getting the following error when I am logged in and I click on "invites"

Table 'dbname.smf_invites' doesn't exist
File: /home/content/53/6003853/html/forum/Sources/Invite.php
Line: 121

Thanks for your help!

SONSiVRi

Quote from: mkdesigns on October 19, 2010, 05:32:54 PM
I am getting the following error when I am logged in and I click on "invites"

Table 'dbname.smf_invites' doesn't exist
File: /home/content/53/6003853/html/forum/Sources/Invite.php
Line: 121

Thanks for your help!

I am not looking to invite.php file line 121, but I can address you to your database, did you checked you have a table named that says doesn't exist?
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

mkdesigns

Now I am getting this:

Unknown column 'inviteEmail' in 'field list'
File: /home/content/53/6003853/html/forum/Sources/Invite.php
Line: 121

Thanks for your help!

Sabre™

As SONSiVRi mentioned, your database tables/columns may not have been added.
So place the db.php file in the root of your forum(where the packages, attachment and sources folders are), and run the file through your browser
eg. h**p://your site address here/db.php

Then remove/delete the db.php file when you are done.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


mkdesigns

Yes, I had already done that.  I seem to still be getting the error.  Thanks!

SONSiVRi

Quote from: mkdesigns on October 21, 2010, 10:18:06 AM
Yes, I had already done that.  I seem to still be getting the error.  Thanks!
Did you checked your database ever?
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

mkdesigns

Yes, but I am not finding anything with inviteEmail.  Sorry, I don't know a lot about mySQL.

SONSiVRi

Quote from: mkdesigns on October 21, 2010, 04:09:07 PM
Yes, but I am not finding anything with inviteEmail.  Sorry, I don't know a lot about mySQL.
Then it seems you had problem while installing that mod. Did installer complained anything about? or just plain installation you had?
My Mods - IP View Permission - Recycle Bin Cleaner - Ip to Country
www.sonsivri.com - microcontrollers
- Houston, we have a problem.

Advertisement: