Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=105)
-   -   Invite System (http://www.bvlist.com/showthread.php?t=2345)

ampedm 1st April 2009 07:04

5 Attachment(s)
Run all 3 queries in sql - Make sure you change the below queries to your table prefixes if they are not xbtit_

Code:

ALTER TABLE xbtit_users ADD COLUMN inv_code varchar(25) NOT NULL AFTER smf_fid
Code:

CREATE TABLE IF NOT EXISTS `xbtit_invite` (
  `cip` varchar(15) NOT NULL,
  `code` varchar(15) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

Code:

INSERT INTO `xbtit_modules` (`name`, `activated`, `type`, `changed`, `created`) VALUES
('invite_code', 'yes', 'misc', '2008-07-01 04:20:52', '2008-07-01 04:20:52')

1 download atachment below

2 to copy:

Modules:
Copy The Invite_Code Folder To DEFAULT_ROOT/modules

usercp.invite_gen.tpl
copy to: DEFAULT_ROOT/style/xbtit_default/

userscp.invite_gen.php
copy to: DEFAULT_ROOT/user/

invite.inc.php
copy to: DEFAULT_ROOT/

and copy the simple invite system folder to hack's folder
than run the hack installer from admin panel..

thats all... if you have problems post replay...

Krypto 1st April 2009 15:53

Which is not the same as

Quote:

Description:
xbtit Invitation System by dodge 2009

Features:
Activating the hack will automatically set "max_users" to "1" for improved security, and deactivating it will set it to "0".
From then on, registration will be available for those with a valid invitation code, provided by whoever sent it from your tracker.

- Admin Panel
Here you can activate /deactivate the hack, and also look at the invitations sent so far.
It has a setting for expiry date of invitations, where invitations are recycled if not used (default 7 days).
Inivitation validation by inviter is already available and also choosable in Admin.

- User Panel
Here you can send invitations if you have them. All sent invitations will have a time limit specified in Admin, after which they'll get recycled and no longer usable.
The invitation is sent by e-mail and may grant direct registration or need inviter confirmation afterwards (you may choose so in Admin).

ampedm 1st April 2009 19:50

Thank you, however i was looking for the premium hack :friend:

Ingvar 12th May 2009 16:23

I have the premium if your intrested, got over 10 new premium hacks.

torrent.filetap 18th May 2009 20:44

Thanks for the script. One issue, though. I go to my control panel, click "Invite Generator", the page displays
Code:

Generating Code...

Please Wait 3 Seconds!

Then 3 seconds later the page reloads, but to the page I was at before I clicked the link. Where is my invite code?

Bengan 22nd May 2009 05:59

Invitation system
 
1 Attachment(s)
Here you go folks..

attention

Attention

another version of: Invitation system premium from Xbtit.





Works nice.


Bengan

Duvelske 26th July 2009 15:59

hmm this is the rc1 version.. isnt there an newer version.? because with the latest xbtit it gives errors in the usercp_menu.php file

kovd 17th August 2009 05:48

Quote:

Originally Posted by Bengan (Post 11732)
Here you go folks..

Invitation system premium from Xbtit.

Works nice.


Bengan

Thank you very much,can you tell me how to use it?

toggi 20th August 2009 22:08

any one got a fix for the errors in the usercp_menu.php file ??
please some one =)

Quote:

Originally Posted by torrent.filetap (Post 11663)
Thanks for the script. One issue, though. I go to my control panel, click "Invite Generator", the page displays
Code:

Generating Code...
 
Please Wait 3 Seconds!

Then 3 seconds later the page reloads, but to the page I was at before I clicked the link. Where is my invite code?



i have the same problem with that one :( .. any one make\find a fix for this?

cybernet 24th August 2009 15:21

Quote:

Originally Posted by Duvelske (Post 13739)
hmm this is the rc1 version.. isnt there an newer version.? because with the latest xbtit it gives errors in the usercp_menu.php file

post them here , maybe we can "handle" them:lol:

Quote:

Originally Posted by toggi (Post 14622)
any one got a fix for the errors in the usercp_menu.php file ??
please some one =)


i have the same problem with that one :( .. any one make\find a fix for this?

maybe is your browser :bubble:

DarkK1d 15th September 2009 16:08

Thx, works tested! :)

firefly 26th December 2009 12:21

MySQL error invite hack
 
I installed like shown the invite system like shown and im getting this error when I click on user control pannel

and when i click on the invite system it says wait then it goes back to the same error
Code:

Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE u.id=2' at line 1
Query: SELECT u.inv_code FROM WHERE u.id=2



veyder 11th March 2010 23:21

what shoul i write at "Local path for xbtit (path from the root when you login using FTP)" i tried anything, but with no reason..

gorillaki 14th March 2010 13:26

Just copy the files manually, and then remove the associated actions from the xml file.

sergin 21st February 2011 22:34

error en xbtit Simple Ivite System
 
hello i followed the manual install everything correctly but when I enter the profile to generate invitation get this error.

Code:

Error: You have an error in your SQL syntax; check the manual that  corresponds to your MySQL server version for the right syntax to use  near 'WHERE u.id=2' at line 1
Query: SELECT u.inv_code FROM  WHERE u.id=2

i use xbtit 2.20

Fynnon 22nd February 2011 00:32

Quote:

Originally Posted by sergin (Post 26888)
hello i followed the manual install everything correctly but when I enter the profile to generate invitation get this error.

Code:

Error: You have an error in your SQL syntax; check the manual that  corresponds to your MySQL server version for the right syntax to use  near 'WHERE u.id=2' at line 1
Query: SELECT u.inv_code FROM  WHERE u.id=2

i use xbtit 2.20

try and use the other verion: http://www.bvlist.com/11732-post6.html

hope you made a backup before installing...
if that doesnt work then you could try this: http://www.btiteam.org/smf/index.php?topic=19122.0

sergin 22nd February 2011 02:03

tried to install that version but I have errors and does not work.
Code:

Error: You have an error in your SQL syntax; check the manual that  corresponds to your MySQL server version for the right syntax to use  near 'WHERE u.id=2' at line 1
Query: SELECT u.inv_code FROM  WHERE u.id=2

xbtit (2.2.0) rev.642

firefly007 1st March 2014 08:17

If you both could be so kind to maybe consider using {code} tags...
Thank you!

Mahmoud 18th April 2014 01:39

is that one works with 2.3.0 ?
thanks


All times are GMT +2. The time now is 00:39.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.