The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Invitation System vB 3.7 Gold Details »» | |||||||||||||||||||||||||
Invitation System by HASANN This Product brought to you by www.vBulletin-TR.Com Comments, suggestions, translations, bugs, etc... are very welcome! Support is only given to people who have clicked INSTALL. DESCRIPTION ->What does it? > Allow users send invites to everybody. Go For Invitation Hack vBulletin Version 3.5 and 3.6.series DEMO you can test it at here http://www.vbulletin-tr.com/forum/pr...ation&langid=1 FEATURES
Install: ->Just Import product_invitation.xml via Product Manager ->Do template edits: In USERCP_SHELL Template Find this Code HTML Code:
<if condition="$show['profilepiclink']"> <tr><td class="$navclass[profilepic]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td></tr> </if> HTML Code:
<if condition="$vbulletin->options['invitation_usercp_link']"> <tr> <td class="$navclass[invitation]" nowrap="nowrap"> <a class="smallfont" href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation]</a> </td> </tr> </if> Supporters / CoAuthors Show Your Support
|
Благодарность от: | ||
SaN-DeeP |
Comments |
#322
|
|||
|
|||
I got error in installation:
XML 錯誤: 在第 607 行 not well-formed (invalid token) |
#323
|
|||
|
|||
|
#324
|
|||
|
|||
I just get
Quote:
|
#325
|
|||
|
|||
UPDATE `forums_vb`.`user` SET `invitation` = '1000' WHERE `user`.`userid` > 1
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, |
#326
|
|||
|
|||
Guys just do "THIS"
Find in the usercp_invitation template : Code:
<if condition="$show['invitation_form']"> <form action="profile.php" method="post" name="vbform"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="invitation" /> Code:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> |
#327
|
||||
|
||||
That fix mate results in DB error.
Perhaps the original contributor can iron out the mystery behind the non functionality. Ozzy |
#328
|
|||
|
|||
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"); |
#329
|
||||
|
||||
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. |
#330
|
|||
|
|||
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. |
#331
|
|||
|
|||
How do i increase number of invites to unlimited for all the usergroups?Kindly help
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|