Invitation System v2.0.2

dxbstars

New Member
Invitation System v2.0.2 - vBulletin.org Forum

->Do template edits:
In USERCP_SHELL Template Find this Code

PHP:
<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>

Add Below This Code

PHP:
<if condition="$vbulletin->options['invite_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>

In USERCP Template Find this Code

PHP:
$template_hook[usercp_main_pos1]

Add Below This Code

PHP:
<if condition="$show['invitation_link']"> 
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
<tr> 

<td class="tcat">$vbphrase[invitation_system] <if condition="$show['invitation_left']"><phrase 1="$bbuserinfo[invitation]">($vbphrase[invitation_x_left])</phrase></if></td> 
</tr> 
<tr> 
    <td class="alt1"><span class="smallfont"><a href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation_click_here_to_invitation_new_users]</a></span></td> 
</tr> 
</table> 
<br /> 
</if>


=== atach the hack ( English / Arabic ) v2.0.2 ===




 
hello, sorry my english is bad !

problem after installation this hack in my base .

PHP:
Database error in vBulletin 3.7.0 Beta 5:

Invalid SQL:
SELECT user.userid AS user_id, user.email AS user_email, invitation.email AS inv_email, invitation.acceptedby as inv_id
 										FROM pando_user
 										LEFT JOIN pando_invitation
 										ON user.userid = invitation.acceptedby OR user.userid = invitation.email
										WHERE user.email = ''
										OR invitation.email = '';

MySQL Error   : Unknown column 'user.userid' in 'field list'
Error Number  : 1054
Date          : Sunday, April 13th 2008 @ 01:36:50 AM
Script        : http://myforum/profile.php
Referrer      : http://myforum/profile.php?do=invitation
IP Address    : 00..........
Username      :.........
Classname     : vB_Database
MySQL Version : 5.0.45

help me please thank's
 
thanks you very very very much. i needed this for a private forum so only this group will able to register. I thought that there isn't such mod and I will need to ask someone to create it for me. 10xxxx
 
Why is my invitation system not working? I tested it through my other email but it didn't send an invitation. Please help
 
Back
Top