![]() |
I got error in installation:
XML 錯誤: 在第 607 行 not well-formed (invalid token) |
Quote:
|
I just get
Quote:
|
Quote:
just change here invitation=xxxx any amount you want to give to already registered users. for new users need to change this default value in database. best regards, |
Guys just do "THIS"
Find in the usercp_invitation template : Code:
<if condition="$show['invitation_form']"> Code:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> |
That fix mate results in DB error.
Perhaps the original contributor can iron out the mystery behind the non functionality. Ozzy |
Database Error Fix:
Line 374, change to: Code:
$db->query_write("INSERT INTO " . TABLE_PREFIX . "invitation (`invitecode`,`user`,`email`,`sent`) VALUES ('".$invitation_token."',".$vbulletin->userinfo['userid'].",'".$invitation_email."'," . TIMENOW . ")");
BTW, if you want to increase your invites: line 14, just change my '1000' to whatever u want: Code:
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` ADD `invitation` INT( 10 ) UNSIGNED DEFAULT '1000' NOT NULL"); |
Quote:
This is what I had to do to get it to work. Tried to overwrite the existing plugin but it would not work. Step 1 - Uninstall the invitation plugin Step 2 - Edit the XML file. Find this code: Located at Line 14 Code:
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` ADD `invitation` INT( 10 ) UNSIGNED DEFAULT '10' NOT NULL"); Code:
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` ADD `invitation` INT( 100 ) UNSIGNED DEFAULT '100' NOT NULL"); Code:
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` ADD `invitation` INT( 1000 ) UNSIGNED DEFAULT '1000' NOT NULL"); Or change the two numbers in red with whatever you want. Step 3 - Re-install invitation plugin. |
Where is the support from the author?
This was really getting to be good. I really hope neither of the 2 have abandoned it. I was really looking forward to the contact grabbers. |
How do i increase number of invites to unlimited for all the usergroups?Kindly help
|
All times are GMT. The time now is 05:45 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|