PDA

View Full Version : Profile Enhancements - Invitation System vB 3.7 Gold


Pages : 1 [2] 3 4 5

DubaiHost
04-18-2008, 06:32 AM
Great Mod. ,, Installed ..

But it's not working well for me , it shows that everything is fine and the invitation sent ..
but after checking the mail , i cant find anything there ..!

ScottRowan
04-18-2008, 11:56 AM
Hi ive installed this mod and its working fine but the link isnt showing in the UserControlPanel?

What edit do I have to check ?

Its showing in the middle bit saying about your HAVE x AMOUNT OF INVITATIONS LEFT etc

But down the left hand panel Idont see the Invite Users

baymortgage99
04-20-2008, 05:25 AM
This is a powerful hack

I love the invitation system idea

TriMe
04-20-2008, 03:59 PM
Extremely useful hack, thanks for your work.

Im having trouble making it a invite only site. I've tried going to adminCP -> user registration and disabling "Allow New User Registrations"

Then in adminCP -> Invitation System Options and Enabled the "Invitation System"
and Disable Normal Registration Methods I put "YES"

Am I missing something?

When I invite someone, they get the email and when they click the link it says "Sorry, registration has been disabled by the administrator"

TriMe

bahrainonline
04-22-2008, 06:44 AM
can we have these two option in the hack
1 we can monitor the invitation by the control panel in admin cp so i can see how many invitation been sent and how many pending and so on
2 can we know this user been register by which invited user? so we can disable the option from him
the last qustion
will the new registeration follow the setting been put in registeration option like moderating new registeration?

Thanks

Rickeo
04-22-2008, 08:37 AM
Database error in vBulletin 3.7.0 Release Candidate 3:

Invalid SQL:
SELECT user.userid AS user_id, user.email AS user_email, invitation.email AS inv_email, invitation.acceptedby as inv_id
FROM vb_user
LEFT JOIN vb_invitation
ON user.userid = invitation.acceptedby OR user.userid = invitation.email
WHERE user.email = '(removed for confidentiality reasons)'
OR invitation.email = '(removed for confidentiality reasons)';

MySQL Error : Unknown table 'user' in field list
Error Number : 1109
Date : Tuesday, April 22nd 2008 @ 10:35:11 AM
Script : http://www.forums.adviceforall.org.uk/profile.php
Referrer : http://www.forums.adviceforall.org.uk/profile.php?do=invitation
IP Address : (removed for confidentiality reasons)
Username : Rick
Classname : vB_Database
MySQL Version : 4.1.22-standard

Thats my error :(

setishock
04-23-2008, 10:32 AM
I have read each and every post in this thread. And I've noticed there are some things missing that I feel would need to be addressed.

Have all of the invite emails cued to send subject to admin or mod approval. Batch mail out or bulk mailer. What ever it's called. Or maybe an automatic function that would send them out in mass. At a fixed time once per day.

While the mail is sitting in the cue, have the invite system do the following:
Check to see if more than one member has sent an invite to the same email name and address before it goes out. Some sort of notice message saying so and so has already been invited. This would make the users have to send invites to different addresses each time. This would prevent users from sending mail over and over to the same email address. I would assume it would have to check the time and date of the outgoing invites and determine whose got cued first and send that one. Then give the notice message to the member that sent the dup.

I would do away with the member added message. Too open for abuse. Either that or make sure they could not attach an image or a link. Matter of fact if they can see the outbound message I would make it a hard coded example and that would be all they could see of it.

Maybe I missed it but if I didn't, there needs to be a status page added to the stats in the ACP.
Who sent invites
How many total
To who
Who responded
Something like that.

I'm going to wait until 3.7 goes gold to grab this one. Lord knows my place needs a kick in the pants.
Nice work.

whitlecj
04-23-2008, 02:19 PM
Anyone got this to play nice with Vbadvanced? I can't get the "send invitation link" under quick links to work on my vbadvanced pages. Anyone know how to fix this?

maidos
04-24-2008, 02:35 AM
can the invitation link expire after 3 days

Tyran1
04-25-2008, 02:13 PM
Fixed version 3.7 ( Securitytoken ) ???

epsol
04-26-2008, 08:36 AM
I couldn't find anything about this, but when I delete a user I get this error:
Parse error: syntax error, unexpected T_STRING in /.../includes/class_dm_user.php(2127) : eval()'d code on line 1

If I disable the Invitation Userdata 2 plugin which hooks to userdata_delete then I don't get the error.

Has anyone else have this issue?

jswiss
04-26-2008, 09:57 AM
Hi there

This looks like a very cool mod - i've installed on 3.7 (rc4) and when i try to invite somebody, i get the following error msg:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

any ideas what the problem might be?

many thanks!

Alfa1
04-27-2008, 01:01 AM
I have another request that I hope you will like enough to add:

Referrals in postbit.
If the number of referrals would be visible in postbit, then it would really increase the use of the invitation system.

I know there already is a hack which does that, but it causes large table scans, which means it brings large boards to dramatically slow down. There is really no way for me to use that hack. Plus the other hack is no longer supported.

BadgerDog
04-27-2008, 10:39 AM
Just to clarifiy, if set to YES, does this option mean that the standard vBulletin Regsistration is diabled abd people can't use it to sign up for the system.

Disable Normal Registration Methods

Enabling this will disable normal registration methods. Yes No

Thanks

Regards,
Badger

Scythe42
04-27-2008, 09:21 PM
can the invitation link expire after 3 days
Invitations can expire after number of X days in the next verison.

Fixed version 3.7 ( Securitytoken ) ???
Update will be available shortly after 3.7 Final is out.

Your submission could not be processed because a security token was missing or mismatched.Can probably fixed by adding the CSRF stuff to the templates and the scripts. I haven't tried because I'm not running RC4. I'm waiting for the final. Once out the security token stuff will be included.

If the number of referrals would be visible in postbit, then it would really increase the use of the invitation system.Can be easily done in the next version with one SQL query. I'll post the query once the next verison is out.

Just to clarifiy, if set to YES, does this option mean that the standard vBulletin Regsistration is diabled abd people can't use it to sign up for the system.That's corrent. When activated you run an invitation only forum.

Scythe42
04-27-2008, 09:26 PM
Please consider including Outlook. For the next version I settle with Gmail and Yahoo. The others plus CSV upload will follow later. My time is currently very limited and the other services don't have a near concatc CSV download as Gmail and Yaahoo habe. I'm just waiting for 3.7 Final to be released, update my production forum and then release an updated 3.7 version.

Hi ive installed this mod and its working fine but the link isnt showing in the UserControlPanel?You need to manually update your templates if the link doesn't show up. Next version will be complete auto-template.

1 we can monitor the invitation by the control panel in admin cp so i can see how many invitation been sent and how many pending and so onNot planned for the next verison, but flagged for the future.

2 can we know this user been register by which invited user?The next verison sets the referrerid correctly and doesn't allow the user to overwrite the informatin when registering.

Scythe42
04-27-2008, 09:33 PM
Thats my error :(The fix for using table prefixes was already posted in this thread. Please check a few pages back...

Have all of the invite emails cued to send subject to admin or mod approval. Batch mail out or bulk mailer. What ever it's called. Or maybe an automatic function that would send them out in mass. At a fixed time once per day.The mod uses the vbmail function. If you setup you vbulletin to queue mail, invitation emails will also be queued.

Check to see if more than one member has sent an invite to the same email name and address before it goes out.Only one invitation per email address is allowed. You cannot sent multiple invitations to the same email address.

itsblack
04-28-2008, 03:57 AM
Hi, nice mod! I have one question:
Is that possible to set the number of invitations per usergroup?

Tigur
05-01-2008, 07:27 AM
This is an interesting hack... but what would be great would be something that can import contacts from MSN, Yahoo, GMail and send them an invite.

dancue
05-01-2008, 11:29 AM
This is an interesting hack... but what would be great would be something that can import contacts from MSN, Yahoo, GMail and send them an invite.

Those are being incorporated in the next release. Can't wait!

indie2industry
05-01-2008, 01:28 PM
OK, Here's the Million dollar question. Is there a way to make invites overide paid memberships? My board we be membership based soon but I want to give certain members the ability to invite people for free.

Ville
05-02-2008, 06:30 AM
I installed this mod, and while I'm able to access the configuration options and the "Click here to invite new users" link shows up, the invites cannot be sent.

Whether or not the CAPTCHA is enabled or not (and if it's enabled, whether or not the CAPTCHA text is entered correctly or not), the following error (by itself on a blank page) is displayed:Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.Any idea what may be causing this? This mod would be very useful indeed so I would like to get it working! :)

Scythe42
05-02-2008, 06:43 AM
3.7 Gold is currently not supported. Updated version will be available by the end of next week.

XnaMe
05-02-2008, 09:24 PM
Hello! I got this error when i click to SEND!!

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Thanks for supporting!

dancue
05-02-2008, 09:46 PM
You've just recently updated to either 3.6.10 or 3.7. The mod needs to be ported over. Scythe42 just said that he'd send an pdated version by the end of the next week.

XnaMe
05-03-2008, 01:31 AM
You've just recently updated to either 3.6.10 or 3.7. The mod needs to be ported over. Scythe42 just said that he'd send an pdated version by the end of the next week.
Ok I'm Waiting :) Thanks

Ville
05-03-2008, 04:17 AM
Thanks for the heads-up. I'm looking forward to the updated version. Keep up the good work! :)

geck
05-03-2008, 05:04 PM
Im also on 3.7 gold, cheers for this and look forward to the update

hotdude_55
05-03-2008, 06:16 PM
I m on 3.7 and its not working i cant see the links to it anywhere

hotdude_55
05-03-2008, 06:19 PM
its fixed

Mum
05-04-2008, 11:50 PM
Looking forward to the update (also on gold)

myown
05-05-2008, 04:11 AM
still not working on 3.7 Gold

abrecher
05-05-2008, 04:51 AM
its fixed

This has not been fixed! I'm on 3.7 Gold. Getting "Your submission could not be processed because a security token was missing or mismatched." error.

chintu
05-05-2008, 04:13 PM
Hi,

I want to make my forum registration private, but I don?t want to disable registration completely. Here is what I plan to do:

1. I don?t want any outsider to be able to register into my the forum

2. I want members to be able to signup through an invitation code. Actually, I will manually send them to a special signup page which would contain the invitation code.

Basically, I like to achieve something like this (except the donation part):

http://www.bwtorrents.com/register.php?do=signup

Will the above mod help me, or do you have any other suggestions? Thanks for your help.:o

bxbigt
05-06-2008, 12:59 AM
Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

:(

version 3.7.0

stickskills
05-06-2008, 02:27 AM
I believe that someone mentioned a fix for this is coming later on this week, so sit tight. :)

amore1981
05-06-2008, 10:28 AM
i have just installed version 2.2 and i get

"you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation."

I am on 3.7

ArLinD
05-06-2008, 12:17 PM
Waiting for the fixed version for 3.7

Bicho??
05-06-2008, 02:46 PM
When i try to send an invitation apears me this error:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

dancue
05-06-2008, 03:37 PM
When i try to send an invitation apears me this error:


Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

As mentioned before, several times...

We have to wait for it to be ported to 3.7.

kollam003
05-06-2008, 03:40 PM
<font color="Red">Kollam Clicks Install </font>

tafreeh
05-06-2008, 08:18 PM
great mod...
but i cant find

$template_hook[usercp_main_pos1]




i m using custom temp....

here is my usercpshell


$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $pagetitle</title>
</head>
<body$onload>
$header
$navbar

<!-- table to support left column nav -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
<td>

<!-- usercp nav -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<tr><td class="tcat" nowrap="nowrap"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_control_panel]</a></td></tr>
<tr><td class="thead"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[your_profile]</a></td></tr>
<tr><td class="$navclass[profile]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_your_details]</a></td></tr>
<if condition="$show['customizelink']">
<tr><td class="$navclass[customize]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></td></tr>
</if>
<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>
<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>

<tr><td class="thead">$vbphrase[networking]</td></tr>
<tr><td class="$navclass[buddylist]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=buddylist"><if condition="$show['friends_and_contacts']">$vbphrase[contacts_and_friends]<else />$vbphrase[contacts]</if></a></td></tr>
<if condition="$show['socialgroupslink']">
<tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a></td></tr>
</if>
<if condition="$show['publicgroups']">
<tr><td class="$navclass[usergroups]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editusergroups">$vbphrase[group_memberships]</a></td></tr>
</if>
<if condition="$show['albumlink']">
<tr><td class="$navclass[album]" nowrap="nowrap"><a class="smallfont" href="album.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[pictures_and_albums]</a></td></tr>
</if>
<tr><td class="thead">$vbphrase[settings_and_options]</td></tr>
<if condition="$show['avatarlink']">
<tr><td class="$navclass[avatar]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr>
</if>
<if condition="$show['siglink']">
<tr><td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr>
</if>
<tr><td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td></tr>
<tr><td class="$navclass[options]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
<tr><td class="$navclass[ignorelist]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=ignorelist">$vbphrase[edit_ignore_list]</a></td></tr>
<if condition="$show['pmmainlink']">
<tr>
<td class="thead" nowrap="nowrap">
<span id="nav_pmfolders">$vbphrase[private_messages] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_pmfolders"); </script></if></span>
<if condition="$show['popups']">
<div class="vbmenu_popup" id="nav_pmfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
</tr>
$cpnav[pmfolders]
</table>
</div>
</if>
</td>
</tr>
<tr><td class="$navclass[pm_messagelist]" nowrap="nowrap"><a class="smallfont" href="private.php$session[sessionurl_q]">$vbphrase[list_messages]</a></td></tr>
<if condition="$show['pmsendlink']">
<tr><td class="$navclass[pm_newpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=newpm">$vbphrase[send_new_message]</a></td></tr>
</if>
<if condition="$show['pmtracklink']">
<tr><td class="$navclass[pm_trackpm]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=trackpm">$vbphrase[track_messages]</a></td></tr>
</if>
<tr><td class="$navclass[pm_editfolders]" nowrap="nowrap"><a class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
</if>
<tr>
<td class="thead" nowrap="nowrap">
<span id="nav_subsfolders">$vbphrase[subscribed_threads] <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("nav_subsfolders"); </script></if></span>
<if condition="$show['popups']">
<div class="vbmenu_popup" id="nav_subsfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
</tr>
$cpnav[subsfolders]
</table>
</div>
</if>
</td>
</tr>
<tr><td class="$navclass[substhreads_listthreads]" nowrap="nowrap"><a class="smallfont" href="subscription.php?$session[sessionurl]do=viewsubscription">$vbphrase[list_subscriptions]</a></td></tr>
<tr><td class="$navclass[substhreads_editfolders]" nowrap="nowrap"><a class="smallfont" href="subscription.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<tr><td class="$navclass[event_reminders]" nowrap="nowrap"><a class="smallfont" href="calendar.php?$session[sessionurl]do=viewreminder">$vbphrase[event_reminders]</a></td></tr>
<if condition="$show['paidsubscriptions']">
<tr><td class="$navclass[paid_subscriptions]" nowrap="nowrap"><a class="smallfont" href="payments.php$session[sessionurl_q]">$vbphrase[paid_subscriptions]</a></td></tr>
</if>
<if condition="$show['attachments']">
<tr><td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td></tr>
</if>
<if condition="$show['moderation']">

<if condition="$show['deleteditems']">
<tr><td class="thead">$vbphrase[deleted_items]</td></tr>
<tr><td class="$navclass[deletedthreads]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&amp;type=deleted">$vbphrase[threads]</a></td></tr>
<tr><td class="$navclass[deletedposts]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&amp;type=deleted">$vbphrase[posts]</a></td></tr>
<if condition="$show['deletedvms']"><tr><td class="$navclass[deletedvms]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewvms&amp;type=deleted">$vbphrase[visitor_messages]</a></td></tr></if>
<if condition="$show['deletedgms']"><tr><td class="$navclass[deletedgms]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewgms&amp;type=deleted">$vbphrase[social_group_messages]</a></td></tr></if>
<if condition="$show['deletedpcs']"><tr><td class="$navclass[deletedpcs]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewpcs&amp;type=deleted">$vbphrase[picture_comments]</a></td></tr></if>
</if>

<if condition="$show['moderateditems']">
<tr><td class="thead">$vbphrase[moderated_items]</td></tr>
<tr><td class="$navclass[moderatedthreads]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewthreads&amp;type=moderated">$vbphrase[threads]</a></td></tr>
<tr><td class="$navclass[moderatedposts]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewposts&amp;type=moderated">$vbphrase[posts]</a></td></tr>
<if condition="$show['moderatedvms']">
<tr><td class="$navclass[moderatedvms]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewvms&amp;type=moderated">$vbphrase[visitor_messages]</a></td></tr>
</if>
<if condition="$show['moderatedgms']">
<tr><td class="$navclass[moderatedgms]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewgms&amp;type=moderated">$vbphrase[social_group_messages]</a></td></tr>
</if>
<if condition="$show['moderatedpcs']">
<tr><td class="$navclass[moderatedpcs]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewpcs&amp;type=moderated">$vbphrase[picture_comments]</a></td></tr>
</if>
<if condition="$show['moderatedpics']">
<tr><td class="$navclass[moderatedpics]" nowrap="nowrap"><a class="smallfont" href="moderation.php?$session[sessionurl]do=viewpics">$vbphrase[album_pictures]</a></td></tr>
</if>
</if>

</if>
$template_hook[usercp_navbar_bottom]



</table>
<!-- / usercp nav -->

</td>
<td>&nbsp;&nbsp;</td>
<td width="100%">

<!-- main page contents -->
$HTML
<!-- / main page contents -->

</td>
</tr>
</table>
<!-- / table to support left column nav -->
$footer
</body>
</html>


can some1 please tell me where should i put the second code?

swalker2
05-06-2008, 09:13 PM
installed with simple template modifications and query bug fixes, working great now

nice mod!

dancue
05-06-2008, 10:53 PM
installed with simple template modifications and query bug fixes, working great now

nice mod!

What modifications did you do?

sharing is caring...lol

00christian00
05-08-2008, 07:19 AM
Hi guys,the modification it's really simple to make it working.
Just add the following to the form in the usercp_invitation template :
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
After this :
<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" />

Everything is explained here :

https://vborg.vbsupport.ru/showthread.php?t=177013
I tried to make an updated xml,let me know if it works,i never did it before but since it's some simple text edit it should be a problem.

psybernaut
05-08-2008, 07:52 AM
Thanks 00christian00, that did the trick :)

tako
05-08-2008, 09:08 AM
I wonder if your mod is not working if I have prefix for VB database table name?? I installed it but it shows error that table user not found. FYI

Lee G
05-08-2008, 09:55 AM
Thanks for that update. I could not find the code to alter, so tried using the new file and that did the trick :up:

chintu
05-08-2008, 12:31 PM
Hi 00christian00,

I downloaded your attached file. I hope that is the newest version of the invitation system mod?

Thanks.

Arindam

00christian00
05-08-2008, 01:40 PM
Hi Chintu,it's always the same version but without the security token problem.

Mum
05-08-2008, 05:32 PM
Using the 'fix' i get this error

Database error in vBulletin 3.7.0:

Invalid SQL:
SELECT user.userid AS user_id, user.email AS user_email, invitation.email AS inv_email, invitation.acceptedby as inv_id
FROM vBuser
LEFT JOIN vBinvitation
ON user.userid = invitation.acceptedby OR user.userid = invitation.email

Epic-Phail
05-08-2008, 09:37 PM
I get this error

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.


EDIT: Never mind, Christian's post helped a lot

stickskills
05-08-2008, 11:02 PM
Yeah, I'm getting the same database errors as the other guys.. :(

gr8rcake
05-09-2008, 11:17 PM
I tried the fix too and got the DB error.

SELECT user.userid AS user_id, user.email AS user_email, invitation.email AS inv_email, invitation.acceptedby as inv_id
FROM vb_user
LEFT JOIN vb_invitation
ON user.userid = invitation.acceptedby OR user.userid = invitation.email
WHERE user.email = 'test@test.com'
OR invitation.email = 'test@test.com';

MySQL Error : Unknown column 'user.userid' in 'field list'

I think it is triggered by this code in the XML file:


$invitationcheck = $db->query_read("SELECT user.userid AS user_id, user.email AS user_email, invitation.email AS inv_email, invitation.acceptedby as inv_id
FROM " . TABLE_PREFIX . "user
LEFT JOIN " . TABLE_PREFIX . "invitation
ON user.userid = invitation.acceptedby OR user.userid = invitation.email
WHERE user.email = '" . $db->escape_string($vbulletin->GPC['email']) . "'
OR invitation.email = '" . $db->escape_string($vbulletin->GPC['email']) . "'
");

The reason why the token fix may be working with some people and not others is that the plugin hits another bug in the code later on.

I suspect the new bug is related to installing vBulletin with a prefix on your DB tables (TABLE_PREFIX).

Any other ideas? I'm only a casual programmer.

guv
05-10-2008, 12:50 AM
Had the same problems as many other people, but now seems to work editing as "Christian" suggested.

So now appears to be ok.

Couple of questions.

The default settings for invites is 10. Can this be increased (without causing problems)?

Can deleting invites from a users CP that have been successfully used be disabled?

Many thanks

Snatch
05-10-2008, 01:28 PM
I get this Error :D


Ihr Seitenaufruf konnte auf Grund eines fehlenden oder falschen Securitytokens nicht verarbeitet werden.

chatzworld
05-10-2008, 01:41 PM
thanks fixed it for me :) had to add it to both parts ;)

gr8rcake
05-10-2008, 02:20 PM
I have given up on this and used a simple blank mailto:

<a href="mailto:?subject=Mail from Our Site&body=This is the body%0AWords on a new line%0AMore words on a new line">Invite Friends</a>

You can add new lines to the body by adding a %0A wherever in the body string you want to put a hard return.

I also created a copy of the navbar code and placed it in the "ad_navbar_below" in the "Ad location templates" and added the mailto: there

The advantages of this method include:

The code is unaffected by upgrades
The email is sent by the users own email client on their home PC where they can select people from their address book.
I also don't have to worry about SPAM coming from my server as the email is being sent from the user's home PC.


I really think the problem with this code is that it fails to work if you did a non default installation of vBulletin and specified a table prefix.

DawnsWebDesigns
05-11-2008, 02:33 AM
I checked it out on your site. It does bring up my own email where I can add people from my address book but there's no link to your site either within the subject line or body. People will not only have to type out a message but also copy/paste our links within. :(

gr8rcake
05-11-2008, 02:56 AM
Oops! Wrong forum in my profile!

It's there. I've done it on my bikeness.com forum.

The changes I made refer to vBulletin v3.7.0

myown
05-11-2008, 06:49 AM
how to give unlimited invitations to all users ? instead of 10, 20 or more.

energetic
05-11-2008, 07:14 AM
I got error :

XML 錯誤: 在第 607 行 not well-formed (invalid token)

Muneeb2Good
05-11-2008, 01:39 PM
We just installed the script but whenever we try to send an invitation its giving us an error :

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Please guide us

Thanks it worked like wonders :) , Thanks 00christian00 for the Great Help ...

Cheers

ShawneyJ
05-11-2008, 02:04 PM
whats with the permissions, i have added all user groups. 12, 13, 14, 15 etc: i even tryed 12,13,14,15 without a space but still no one has permission to access this hack.
it started just now when i upgraded. went in edited like the old one but this time no permission at all.

whats up with that please?

Gersfan
05-11-2008, 03:37 PM
Excellent!

Only thing is it's not put a link on my USER CP,

Networking
Contacts & Friends
Social Groups
Pictures & Albums

In There, What template do I edit ?

Thanks,

ptwiggens
05-11-2008, 08:26 PM
Might install this... looks good.

chatzworld
05-11-2008, 08:31 PM
it should be just above Networking under General

conker1
05-11-2008, 10:57 PM
this ;

myown
05-12-2008, 09:25 AM
how to give unlimited invitations to all users ? instead of 10, 20 or more.

any solution for it....

Mesohu
05-12-2008, 09:40 AM
Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

I'm getting this when I try to send invitation... ?

Before installing this version I have used the 2.0 Version ...

energetic
05-12-2008, 09:56 AM
I got error in installation:

XML 錯誤: 在第 607 行 not well-formed (invalid token)

Gersfan
05-12-2008, 12:17 PM
this ;

Whats this?

Mum
05-12-2008, 07:06 PM
I just get

Your submission could not be processed because a security token was missing or mismatched.

myown
05-12-2008, 08:22 PM
any solution for it....

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,

conker1
05-13-2008, 12:17 AM
Guys just do "THIS"

Find in the usercp_invitation template :


<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" />


add below:


<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />


and update XML (Attachment)

TimberFloorAu
05-13-2008, 04:02 AM
That fix mate results in DB error.

Perhaps the original contributor can iron out the mystery behind the non functionality.

Ozzy

insidedesign
05-14-2008, 02:20 AM
Database Error Fix:

Line 374, change to:

$db->query_write("INSERT INTO " . TABLE_PREFIX . "invitation (`invitecode`,`user`,`email`,`sent`) VALUES ('".$invitation_token."',".$vbulletin->userinfo['userid'].",'".$invitation_email."'," . TIMENOW . ")");


Notes:

vbulletin already checks for malformed e-mail inputs
The script attempts to 'escape' or remove any special characters from the input, but it also does the same for your username and password
Thus : yourdbname_vb becomes yourdbname



BTW, if you want to increase your invites:

line 14, just change my '1000' to whatever u want:

$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` ADD `invitation` INT( 10 ) UNSIGNED DEFAULT '1000' NOT NULL");

EcoForumZ
05-14-2008, 03:34 AM
how to give unlimited invitations to all users ? instead of 10, 20 or more.

HOW TO INCREASE INVITATIONS

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

$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` ADD `invitation` INT( 10 ) UNSIGNED DEFAULT '10' NOT NULL");

Replace with the below code if you want 100 invitations:

$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` ADD `invitation` INT( 100 ) UNSIGNED DEFAULT '100' NOT NULL");

Replace with the below code if you want 1000 invitations:

$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.

dancue
05-14-2008, 11:52 AM
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.

Rajdeep
05-14-2008, 03:16 PM
How do i increase number of invites to unlimited for all the usergroups?Kindly help

Mesohu
05-14-2008, 04:07 PM
How do i increase number of invites to unlimited for all the usergroups?Kindly help

read it ...:down: : https://vborg.vbsupport.ru/showpost.php?p=1519022&postcount=328

bada_bing
05-15-2008, 07:19 PM
I am trying to find this in my usercp template in version vb7
$template_hook[usercp_main_pos1]

and no where to be found?

Tom Shelly
05-16-2008, 04:20 AM
I get the same message when trying to use it:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

I did everything correctly and read the "guys just do this" and did it. That gave me a data base error.

Then the other poster said to change "line 374" to something else.

What line 374 ? Where? What? How?

I just uninstalled it, it doesn't work.

If someone can come up with a clear step by step method to fix the error message that we are getting above, please post it.

Tom Shelly
05-16-2008, 04:41 AM
Hi guys,the modification it's really simple to make it working.
Just add the following to the form in the usercp_invitation template :
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
After this :
<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" />

Everything is explained here :

https://vborg.vbsupport.ru/showthread.php?t=177013
I tried to make an updated xml,let me know if it works,i never did it before but since it's some simple text edit it should be a problem.

that just results in a database error.

Too bad this can't be fixed, looks like a good add on.

Baldilocks
05-16-2008, 06:13 AM
I did this:

Replace: <input type="hidden" name="token" value="$invitation_token" />

With this: <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

It worked fine the first time. Sent the invitation out. I tried to do it again and I get this:


Database error in vBulletin 3.7.0:

Invalid SQL:
INSERT INTO invitation (`invitecode`,`user`,`email`,`sent`) VALUES ('',1,'cam98SS@yahoo.com',1210924065);

MySQL Error : Duplicate entry '' for key 1
Error Number : 1062
Request Date : Friday, May 16th 2008 @ 02:47:45 AM
Error Date : Friday, May 16th 2008 @ 02:47:46 AM
Script : http://www.euphoricarythmia.com/profile.php
Referrer : http://www.euphoricarythmia.com/profile.php?do=invitation
IP Address : 70.41.160.120
Username : Baldilocks
Classname : vb_database
MySQL Version : 4.1.22-standard

Mesohu
05-16-2008, 10:09 AM
Where are you Hassan ???
Hassan : Last Activity: Today 02:57

Last reply in this thread by Hassan : 13 Apr 2008, 04:26

So what's this support ?

NNJJ
05-16-2008, 10:46 AM
after installation I can't access to the page
I add the ID and yet can't access

Hornstar
05-17-2008, 07:47 AM
I used to have VS invites and spent lots of money on it, so it is good to see something for 3.7. thanks for releasing it!

Just wondering tho, will you be making an option for a user to sign into their hotmail, gmail, yahoo etc. account, and then to be able to send invites out to everyone on their contacts list (myspace or facebook does it currently)

ammoskumar
05-17-2008, 04:51 PM
i am getting this message when i sent the invitation??

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

redraider
05-17-2008, 06:57 PM
I am on 3.7 and when i try to invite someone, i get this error:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error. ... could you help?

ercy
05-17-2008, 10:19 PM
teşekkürler

washing
05-18-2008, 03:10 AM
i also have the same problem:
Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

caggla
05-18-2008, 07:41 AM
Very useful mod. Thanks Hasan.
I still get this error after hitting the invite button:

"Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error."

Baldilocks
05-18-2008, 09:24 AM
All of that was alread covered guys. He offered another solution--which didn't fix it either. See my post above.

GremlinPrince
05-18-2008, 12:20 PM
thanks installed

puertoblack2003
05-18-2008, 07:58 PM
any update on this security token deal????

Hasann
05-18-2008, 08:08 PM
any update on this security token deal????

coming soon

puertoblack2003
05-18-2008, 08:19 PM
coming soon


thanks ;)

shinydarkstone
05-18-2008, 10:03 PM
i wont click on installed until it works, its a really sweet mod, but its usless rigth now
sorry

stickskills
05-19-2008, 02:04 AM
One thing that I've noticed (I'm on 3.7) is that when the users get the invitation e-mail, it's in their junk or spam folder. Anyway to counter that?

Baldilocks
05-19-2008, 02:23 AM
Not unless everyone puts your site in the "recognized" safe-sites settings of their e-mail.

stickskills
05-19-2008, 02:39 AM
I was trying to figure out why it's being put there, and I'm guessing maybe it's something to do with the coded referral link? Not sure. There has to be a way where it's not put into most junk/spam folders.. I think. :P

dancue
05-19-2008, 03:46 AM
coming soon


Thank you Hasann!!

This is the only invitation available for 3.7, and it is getting to be very missed...

tafreeh
05-19-2008, 04:45 AM
man ... good hack ..
i tried to send an invitation but i get Security Tokken Error.... :(

how to solve this :(

tako
05-19-2008, 04:57 AM
Hasann, Do not forget about table prefix fix... or I can not use your hack!

Cornie
05-19-2008, 05:31 AM
securitytoken-error 3.7.0


find in the product

<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" />
<input type="hidden" name="token" value="$invitation_token" />



add below

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

Baldilocks
05-19-2008, 06:29 AM
We have already done that. :) Solves the token error but creates an SQL Database error.

Cornie
05-19-2008, 08:02 AM
works fine by me

amitraj
05-19-2008, 09:08 AM
thanks, works great for me.

Baldilocks
05-19-2008, 09:20 AM
Works the first time everytime, but try to send another invite and see what happens. :)

Cornie
05-19-2008, 09:33 AM
i have send 8 invitationen, no problem

Hasann
05-19-2008, 10:23 AM
updated to v2.0.3 for vBulletin 3.7 Gold
this product works only vB v3.7 Gold

iyihost
05-19-2008, 10:47 AM
thanks hasan good hack

Hasann
05-19-2008, 10:52 AM
you can test it at here

www.vbulletin-turkey.com/forum/profile.php?do=invitation&langid=1

Username: Sylar
Password: 123456789

dancue
05-19-2008, 11:36 AM
Hasann,
VERY MUCH APPRECIATED. THANK YOU!!!

crkgb
05-19-2008, 12:01 PM
In my case the User CP link is not displayed though I added the code as instructed...

Hasann
05-19-2008, 12:02 PM
In my case the User CP link is not displayed though I added the code as instructed...

have you been enabled it in vbulletin options -> invitation system options?

Baldilocks
05-19-2008, 12:06 PM
Anyone know why I have the link twice in my UserCP?? I even have it set NOT to display the link in the UserCP and i get two links.

See attachment:

abrecher
05-19-2008, 12:11 PM
I received an updated notice today for this mod. What was updated please ?

Hasann
05-19-2008, 12:12 PM
Anyone know why I have the link twice in my UserCP?? I even have it set NOT to display the link in the UserCP and i get two links.

See attachment:

in this new upgraded version added it automaticaly to UserCP, please delete template edits before you made for USERCP template.

dancue
05-19-2008, 12:18 PM
Hasann,
Do you know if Scythe is still planning on releasing the version with the contact grabbers?

Baldilocks
05-19-2008, 12:24 PM
in this new upgraded version added it automaticaly to UserCP, please delete template edits before you made for USERCP template.


I already did that and I still have double links in the UserCP.

bada_bing
05-19-2008, 12:25 PM
I have installed this a few minutes ago on my 3.7 vb and I am not getting the link in the usercp and its enabled on the vb options for this hack? Any idea why.. I am using all vb normal styles

itsblack
05-19-2008, 04:30 PM
Thank you Hasann, nice mod. Installed.

I have two suggestions:
a) As someone has said before, hopy you can add the per usergroup invitation setting as soon as possible.
b) It will be better, when the link in the usercp hide from the unauthorised user.

itsblack

Mesohu
05-19-2008, 08:19 PM
Hasann,
Do you know if Scythe is still planning on releasing the version with the contact grabbers?

It would be great .
MSN/HOTMAIL/LIVE/GMAIL/YAHOO/AOL Grabber.


Thanks for the update , I will try it tomorrow.

Tom Shelly
05-19-2008, 08:57 PM
YAY thank you.

tafreeh
05-19-2008, 09:16 PM
okay this new update fix everything :)

Thank you

maasland
05-19-2008, 09:47 PM
Nice mod, thanks. Installed...

BTW, there's a (layout) typo in the xml (or template usercp_invitation):

Line 127: '</fieldset' is missing a '>'

Hasann
05-19-2008, 09:57 PM
Nice mod, thanks. Installed...

BTW, there's a (layout) typo in the xml (or template usercp_invitation):

Line 127: '</fieldset' is missing a '>'

thanks for reporting bugs It is fixed and German Language added thanks Cornie for German Language

maasland
05-19-2008, 10:50 PM
thanks for reporting bugs It is fixed and German Language added thanks Cornie for German Language
Okay, just let me know if and how you would like a dutch translation...

|Jordan|
05-20-2008, 12:39 AM
Does this mod have flood control? (eg. x amount of seconds before a user can send another email)

hsv z clubbie
05-20-2008, 01:50 AM
Good hack....Installed !!

caggla
05-20-2008, 11:26 AM
hasann you are great!

Super Jinni
05-20-2008, 12:00 PM
Hasann, thank you for the nice job

I have a question,

after the update that you made today, do I have to follow the instructions of the post number two of this thread which is related to the update to v2.0.0?

or all what I have to do is just to import the xml file?

thanks

:)

BTW

installed

RedeemedWarrior
05-20-2008, 06:34 PM
fantastic

xplan2007
05-21-2008, 03:07 AM
i have upgrade VB 3.6.8 to 3.7 it work but invitation link is only on navbar not show on user CP menu

how do i solve this problem for show it on user cp menu only ?

** I install 2.0.3 and follow replace code from INSTRUCTIONS

shlomot
05-21-2008, 03:47 AM
Dear Hasann, this new version is a masterpiece.

You were attuned to our requests and outbid even yourself with this professional product.

I wish I could re-vote and re-nominate you:)

Thanks a lot for yet another great hasann's treasure bin.

Hasann
05-21-2008, 03:47 AM
i have upgrade VB 3.6.8 to 3.7 it work but invitation link is only on navbar not show on user CP menu

how do i solve this problem for show it on user cp menu only ?

** I install 2.0.3 and follow replace code from INSTRUCTIONS

Im so sorry guys please try this there was a small bug

In USERCP_SHELL Template Find this 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>


Add Below This 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>

shlomot
05-21-2008, 04:01 AM
Dear Hasann, is there a convenient method for the administrator to browse invitations that are made by other members?

shlomot
05-21-2008, 04:09 AM
I've just implemented your revised code in USERCP_SHELL, but I'm not sure what its purpose and where it should show.


<!-- Invitation System Starts -->
<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>
<!-- Invitation System Ends -->

Hasann
05-21-2008, 04:11 AM
Dear Hasann, this new version is a masterpiece.

You were attuned to our requests and outbid even yourself with this professional product.

I wish I could re-vote and re-nominate you:)

Thanks a lot for yet another great hasann's treasure bin.

Dear Hasann, is there a convenient method for the administrator to browse invitations that are made by other members?

thank you for kind of words I can make it if 10 people requires it

Hasann
05-21-2008, 04:21 AM
I've just implemented your revised code in USERCP_SHELL, but I'm not sure what its purpose and where it should show.


<!-- Invitation System Starts -->
<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>
<!-- Invitation System Ends -->


I saw at your site and you have been installed Icons for UserCP Navigation 1.2 (https://vborg.vbsupport.ru/showthread.php?t=170558&highlight=demgel) product from demgel right?

than you should search this at your template USERCP_SHALL


</tbody>
<tr><td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('networking')"><img id="collapseimg_networking" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_networking].gif" alt="" border="0" /></a>$vbphrase[networking]</td></tr>
<tbody id="collapseobj_networking" style="$vbcollapse[collapseobj_networking]">


and add above this code


<if condition="$vbulletin->options['invitation_usercp_link']">
<tr><td class="$navclass[invitation]" nowrap="nowrap">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"><img border="0" src="$stylevar[imgdir_misc]/usercp_icons/folder_edit.gif" width="16" height="16"></td>
<td><a class="smallfont" href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation]</a></td>
</tr>
</table>
</td></tr>
</if>


and who installed Icons for UserCP Navigation hack they should make this template edit for usercp link

shlomot
05-21-2008, 04:41 AM
I saw at your site and you have been installed Icons for UserCP Navigation 1.2 (https://vborg.vbsupport.ru/showthread.php?t=170558&highlight=demgel) product from demgel right?

I solved it the easy way: uninstalled Icons for UserCP Navigation.

Thanks for your support:)

Fırtına
05-21-2008, 09:12 AM
Teşekk?rler hocam, kurulum başarılı...


*Installed*

Super Jinni
05-21-2008, 09:37 AM
thank you for kind of words I can make it if 10 people requires it

I'm the second one require that I guess

:)

maasland
05-21-2008, 10:25 AM
thank you for kind of words I can make it if 10 people requires it
Great! That would be the finishing touch...

dancue
05-21-2008, 11:49 AM
thank you for kind of words I can make it if 10 people requires it



I'll be the 4th to request it.

dancue
05-21-2008, 11:50 AM
What about the contact grabber? Any progress from Scythe on what he was working on.

He seemed to have it almost done.

Mesohu
05-21-2008, 12:30 PM
in this new upgraded version added it automaticaly to UserCP, please delete template edits before you made for USERCP template.

I have the same problem , i have already deleted the old modification to the USERCP_SHELL template but it show twice in the User Control Panel .

Dilldogs
05-21-2008, 12:50 PM
Anyone know why I have the link twice in my UserCP?? I even have it set NOT to display the link in the UserCP and i get two links.

See attachment:
I have the same problem , i have already deleted the old modification to the USERCP_SHELL template but it show twice in the User Control Panel .


I am also getting this.

I deleted the template change and install and still have the problem? If I uninstall 2.03 and reinstall 2.02 it works great, only one link in the user cp but if I go back to 2.03 I get the double link again. Even if I use the default usercp_shell template I get double links with 2.03

Baldilocks
05-21-2008, 04:02 PM
Yep. I tried to explain that to the coder earlier. :)

davemac
05-21-2008, 06:13 PM
I couldn't find anything about this, but when I delete a user I get this error:
Parse error: syntax error, unexpected T_STRING in /.../includes/class_dm_user.php(2127) : eval()'d code on line 1

If I disable the Invitation Userdata 2 plugin which hooks to userdata_delete then I don't get the error.

Has anyone else have this issue?

We ran into the same problem. In the plugin code, the SQL delete was split across several lines with some nonprinting characters in between. Editing the code to put the whole SQL statement on the same line removed some apparently rogue non printing characters and the plugin seems to be working fine now

dososos
05-21-2008, 07:47 PM
Originally Posted by Hasann View Post

thank you for kind of words I can make it if 10 people requires it

I be the 6th to request it.
Very nice work.

abrecher
05-21-2008, 08:01 PM
Originally Posted by Hasann View Post

thank you for kind of words I can make it if 10 people requires it



I be the 6th to request it.
Very nice work.

I'm the 7th.

iBlazee
05-21-2008, 09:57 PM
Can you make this addon for instant msging too? like eg: MSN Messenger, Yahoo Messenger etc etc. That would be cool.

shinydarkstone
05-22-2008, 01:14 AM
now it works

clicks on install

TheBlackPoet
05-22-2008, 01:20 AM
i overwrote the old code... and its showing two times in my usercp... and reasons??? i took out the code in my usercp shell.. still there...

HFB
05-22-2008, 01:51 AM
We have already done that. :) Solves the token error but creates an SQL Database error.

You can add the line in the usercp_invitation template

Baldilocks
05-22-2008, 02:28 AM
Count me as Number 8 :)

Dilldogs
05-22-2008, 02:59 PM
Number 9 here, count me in..

itsblack
05-22-2008, 05:13 PM
I'm glad that I'm the Number 10 :)

Akademiks
05-23-2008, 10:40 AM
im number 11 just in case =)

redraider
05-23-2008, 10:46 AM
Suggestion:

Its a great mod and I have already installed it. Thanks for making it! Here is a suggestion which will make this mod unbeatable:

1. If the person (invited) joins the forum, he should automatically get added to the friends list of the person who invited him.

2. Once the person joins the forum, he gets an automatically a private message from the person who invited him.

For example A invites B

B joins the forum

A gets added to B's friends list (and vice versa)

B receives a pm/visitor message from A saying that - "Welcome to the forums, I have added you as a friend .. keep in touch" (customizable text)

A receives a pm/visitor message from B saying that - "Hey! I joined the forum on your request ..... ping me when u get this message! " (again customizable text)

this will basically mean that everytime someone joins on an invitation they already have a friend. ..that really helps.

tako
05-23-2008, 10:51 AM
Have you fixed database talbe prefix problem?

updated to v2.0.3 for vBulletin 3.7 Gold
this product works only vB v3.7 Gold

Robru
05-23-2008, 10:59 AM
I did a clean install with v2.0.3, and its showing twice in the usercp ...

Mum
05-23-2008, 06:03 PM
That friend idea would have to be able to be turned off, as i wouldn't want that.

theparentpack
05-24-2008, 01:31 AM
My Invite Your Friends link is not working in the navbar of my vBa CMPS homepage. Is there an easy way to fix this?

http://sonoma.ca.theparentpack.org

I get an error 404 when I click on it from the homepage. Help

VargTimmen
05-24-2008, 09:21 AM
Great mod, but it gives us some trouble with our custom style. But nothing, which we couldn't handle with :)

Dave Alcock
05-24-2008, 10:13 AM
My Invite Your Friends link is not working in the navbar of my vBa CMPS homepage. Is there an easy way to fix this?

I get an error 404 when I click on it from the homepage. Help
Add profile.php to the list of Navbar Replacements
Admin CP > vBa CMPS > Default settings > Global vBadvanced Settings

Ice794
05-24-2008, 12:05 PM
Using this Mod, has anybody noticed an increased number of sign-ups to their forums?

Hell Fox
05-24-2008, 12:06 PM
Works great for private communities aswell :)

Baldilocks
05-24-2008, 12:48 PM
Excellent Mod. :)

Gersfan
05-24-2008, 01:25 PM
Super Mod, Everything is working..
But I'm getting this Parse Error when deleteing members..

Parse error: syntax error, unexpected T_STRING in /mounted-storage/........Domain path........../Forum/includes/class_dm_user.php(2147) : eval()'d code on line 22

This error goes away if i disable this modifcation, Hopfully theres a fix?

Thanks very much.
GF

Subah
05-24-2008, 02:15 PM
Great hack , but why don`t make a permission for user group to change the number of invatetion from there ?
it will be faster than each user ? and after the change done for the hole group you can give more or less number for some users !
I hope you understand what i mean :)

Alfa1
05-24-2008, 03:27 PM
Dear Hasann, is there a convenient method for the administrator to browse invitations that are made by other members?

thank you for kind of words I can make it if 10 people requires it

Good suggestion! Please add this.

professorb
05-24-2008, 08:50 PM
Excellent mod, thanks so much to the developers! :D

Any word on the invite tree (I'm presuming this would trace out who has invited who)? It is the only thing missing that I could really use. Thanks!

Subah
05-24-2008, 09:05 PM
Dear Hasann, is there a convenient method for the administrator to browse invitations that are made by other members?

thank you for kind of words I can make it if 10 people requires it

I`am the 3rd :) , Please :D

puertoblack2003
05-24-2008, 09:10 PM
I did a clean install with v2.0.3, and its showing twice in the usercp ...


revert your usercp template

sweetguy2004
05-25-2008, 08:12 PM
you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Allowed User Groups
Comma seperated list of user groups that are allowed to use the invitation system.

2,5,6,7,9,10,11,12,13

m trying with admin nick usergroup 6 wats the prob??

laura66a
05-26-2008, 12:01 PM
Hi.

This is a great addition. It installed very smoothly!

I have a few questions:

There are 100 invitations. What happens when that gets to 0? Why is there a countdown at all? Can that be turned off?

There is an option to have this on the NavBar or in QuckLinks, but not both. This is such an important feature can there be an option to add to both?

Thanks.

Laura

laura66a
05-26-2008, 12:37 PM
Good suggestion! Please add this.

I could use this feature too.

MrFlicks
05-26-2008, 01:48 PM
Installed - Clicked Installed - with thanks

Would be interesting for some to perhaps consider adding the ability to include board members referral URL's Hasan.

Mum
05-26-2008, 05:57 PM
There are 100 invitations. What happens when that gets to 0? Why is there a countdown at all? Can that be turned off?

I'd like to turn it off as well - i don't know why you'd want to restrict the number.

Battle_Ring
05-27-2008, 02:18 AM
how bout a page you can see wh oreferrerd who and how many refers the person has

Please make it so you can turn off the limit of how many can be sent

fullfactor
05-27-2008, 08:26 AM
Excellent add-on. Installed version 2.0.3 with no problems thus far.

A few minor suggestions to make this mod even better:

1. Use the standard forum sender name and address in outgoing emails (or provide an option to do so). It does not make sense to use the recipient's address in the From: header, and furthermore this causes many invitation emails to be misidentified as spam. Our forum is heavily optimized so that outgoing emails do not get flagged as spam (reverse DNS, SPF records, etc.) but this requires that the outgoing emails have the forum address in the From: header.

2. Hide the Invitation System from usergroups and/or users who are not allowed to send invitations. These users should not see the Invitation box or links in UserCP.

3. As already suggested by others, provide an option for unlimited invitations.

Thanks for a great mod! Your work is much appreciated. :up:

Come2Daddy
05-27-2008, 01:38 PM
Hello there I don't see why would we edit templates sense every thing work with me just fine before I edit any thing

any comment, please?

DieselTruck
05-28-2008, 12:00 AM
I noticed the link is automatically put into the navbar. How can I remove this link?

caggla
05-28-2008, 02:10 AM
I just want to give the authorisation for admins to send invitations but in their user cp every usergroup can see the mod , even the restricted ones like waiting moderation and the banned.
Also when it is enabled invitation system bar is double in the user cp .

punchbowl
05-28-2008, 02:11 PM
How do I set the number of invites per usergroup?

insidedesign
05-28-2008, 03:48 PM
I noticed the link is automatically put into the navbar. How can I remove this link?

There is a setting for the MOD on its back-end settings page. Did you even look?

Come2Daddy
05-28-2008, 07:07 PM
well, I encountered this strange problem with sending email to my forum's members
if I sent a notification message to the whole groups of my forum it works faster than usuale
as a matter of fact it's even faster than ever (may be 500 users per 10 seconds only) and no one recieve the message I sent from the admincp

but when I disable this hack every thing becomes normal

Alfa1
05-28-2008, 11:58 PM
Dear Hassan,

I just upgraded from vb 3.7RC3 with invitation system 2.0.2 to vb 3.7.1 with invitation system 2.0.3

I reverted the template USERCP_SHELL and added the code above because the code is different than before. Now I have two invitation system blocks in userCP. I mean that I have this listed two times in usercp.php
Invitation System (3 invitation(s) available)
Click here to invite new users

Please advise.

Baldilocks
05-29-2008, 01:59 AM
We all have that problem.. read the last few pages. :)

Alfa1
05-29-2008, 05:51 PM
I see.

Hassan or Scythe42,

Could you please make a fix for this?

Leo Brazil
05-29-2008, 07:28 PM
Installed and working great on 3.7.1.

Dude this one rocks !!!

Alfa1
05-30-2008, 12:38 PM
Please add a function to:
- Automatically add referrals as friends.
- List which members are referrals (statistics block on on profile)

Mum
05-30-2008, 08:50 PM
i don't want to auto add referrals as friends - so that would have to be an option that you could turn on.

Alfa1
05-30-2008, 08:59 PM
Maybe an option for the inviting member to select at profile.php?do=invitation:

If your contact accepts your invite, do you want to add the person as a friend? Yes/No

TriMe
06-01-2008, 05:47 PM
Please add a function to:
- Automatically add referrals as friends.
- List which members are referrals (statistics block on on profile)

Would love this option as well

Mesohu
06-01-2008, 07:07 PM
Very poor support , Hasann are you busy with your studies or what ?

Explain it to us & we will understand you , don't let us waiting for days , weeks....

Gersfan
06-02-2008, 08:32 AM
I'm getting this Parse Error when deleteing members..

Parse error: syntax error, unexpected T_STRING in /mounted-storage/........Domain path........../Forum/includes/class_dm_user.php(2147) : eval()'d code on line 22

This error goes away if i disable this modifcation, Hopfully theres a fix?

Thanks,

cardin
06-03-2008, 01:53 PM
Great work! Great mod!

Can I pay for a mod to this mod? I would like to be able to have multiple (3 to 5) invitations at once. For instance, have 3 inputs for 3 different emails. Everything else would stay the same.

Thanks again.

Paul Cardin

anwar.abdullakh
06-03-2008, 11:36 PM
I'm having issues with the setting.

If User Reg Option is turned YES, everyone on site can register without invitation link even though the "Disable Normal Reg" option is set to YES.

I have tried all combination, either I get an error (Registrations are closed) when I press the invite link that I received in my mail.

OR

Users can register without invitations too.

The point is that the users can register ONLY using the invitation link, but that can't be set or isn't working for some reason. I'm adding a link here with the screenshot of my settings, can anyone please help?

Screenshot of Setting: HERE (http://i30.tinypic.com/2wnbrso.jpg)

ps: when installed everyone gets 100 invites, it would be better to give mod the option to set the amount (X) invitation per usergroup.

itsblack
06-04-2008, 09:49 AM
There is a bug.

When "Disable Normal Reg" option is set to YES, the unactivated user can not request an activation email anymore. If the user enter this link http://site.com/register.php?do=requestemail, he will be redirected to the "error_invitation_not_valid" page.

Ice794
06-04-2008, 05:59 PM
When I install this mod puts a link in my header template along with my other navigation buttons.

I've had a look in the header template to edit this, but can't find it.

Where would I go to edit the link and make it blend in with my header?

Thanks in advance,

ti07shadow
06-05-2008, 01:25 AM
Yea I want to rename invite friends in the navigsation to something else, how can we edit this? or heck remove that.

Also is there a way to give a specific usergroup unlimited invites?

ti07shadow
06-05-2008, 02:59 AM
NVM I found how to change the name, go to languages and phrases and search the frase "Invite your friends" and just edit that.

theparentpack
06-05-2008, 09:28 AM
profile.php is already there, any other ideas? I have this hack as well as another that don't work on my navbar at all. Help!

My Invite Your Friends link is not working in the navbar of my vBa CMPS homepage. Is there an easy way to fix this?

http://sonoma.ca.theparentpack.org

I get an error 404 when I click on it from the homepage. Help

Add profile.php to the list of Navbar Replacements
Admin CP > vBa CMPS > Default settings > Global vBadvanced Settings

theparentpack
06-05-2008, 09:33 AM
I will be the fourth!!! Anyone else want the number of invites to be set in the usergroup so we don't have to visit each individual profile to change it from 10 to more or less. It may be a great idea to also be able to set it to have no limit. I really don't want to limit my members promoting my site.

Great hack , but why don`t make a permission for user group to change the number of invatetion from there ?
it will be faster than each user ? and after the change done for the hole group you can give more or less number for some users !
I hope you understand what i mean :)

Artes_Marciales
06-05-2008, 12:01 PM
Very good.
Does there be any way to reward the users that they invite with reputation points?

Thanks!!

taxick
06-05-2008, 12:43 PM
I have make are clean install with v2.0.3, and its showing twice in the usercp ... See Images

I have not added template to USERCP_SHALL!

any fik???? Please help!

Ice794
06-05-2008, 02:42 PM
I don't wish to change the phrase in the phrase manager, I want to take it out of the table cell that it's placed in and use the same code I've put my other buttons in.

Cheers.

CoryHawk
06-05-2008, 04:43 PM
Where do you change the "subject" of the email sent.

There is a Typo

it reads: Subject: You have be invitationd to join us.

Should read: You have been invited to join us.

Baldilocks
06-05-2008, 06:25 PM
I think he has forgotten about this hack.

taxick
06-05-2008, 07:55 PM
I hope Hasann (https://vborg.vbsupport.ru/member.php?u=110224) come a proper fix to this hack! :)

I have tried to make my own fix, that removes one of the 2 Invitation System bloks in the UserCP

I have made a new "product-invitation.xml" that should fix the problem!

It works on my forum! :D I have added the new "product-invitation.xml" to this post.

Hope you can use this fix!

I'm not a coder - use this on you own risk! :D

taxick
06-05-2008, 08:45 PM
Where do you change the "subject" of the email sent.

There is a Typo

it reads: Subject: You have be invitationd to join us.


Should read: You have been invited to join us.

Go here :D

Admincp -> vBulletin Options -> Invitation System Options -> Invitation Email Subject

stickskills
06-05-2008, 11:03 PM
How can I remove the link from the navbar so that I can add it to the quick links section?

Baldilocks
06-06-2008, 05:32 AM
Worked for me. :) Thanks! :)

itsmeroro
06-06-2008, 05:36 AM
This was soooo easy... I reccomend highly! Thanks! :)

DanceGavinDance
06-06-2008, 07:43 PM
thanks alot

itsmeroro
06-06-2008, 07:47 PM
Hello

I love this plug in but am having trouble with the formatting of "Invite your friends" I would like to to match the rest of the nav bar and it is showing up as a different color. Please take a look at http://www.VaquerasDelCamino.com/forum and let me know what to change and where to find it... I am lost. Thanks.

taxick
06-06-2008, 08:29 PM
How can I remove the link from the navbar so that I can add it to the quick links section?

See the options for the plug in

(Admincp -> vBulletin Options -> Invitation System Options)

Hello

I love this plug in but am having trouble with the formatting of "Invite your friends" I would like to to match the rest of the nav bar and it is showing up as a different color. Please take a look at http://www.VaquerasDelCamino.com/forum and let me know what to change and where to find it... I am lost. Thanks.

Create a user for me! And i will take a look!

ti07shadow
06-06-2008, 10:10 PM
is there a way to make it so sending invites is unlimited? Because my forum is based for the invite system. (its a clan based forum and the forums are strict for members of the clan....)

ShawneyJ
06-07-2008, 01:04 AM
sweet updated ;)

Alfa1
06-07-2008, 10:15 PM
I have made a new "product-invitation.xml" that should fix the problem!

It works on my forum! :D I have added the new "product-invitation.xml" to this post.
Seems to work great for me. Thanks!

xXEsEtUlOnXx
06-08-2008, 03:40 AM
thanks... installed

CP,
06-08-2008, 02:19 PM
I will be watching this hack.

I would suggest something very important.

Can you implement something where the administrator is able to see who has invited how many people and also able to see how many people have invited friends and how many have verified confirmation. It should be a list with user who have been sending invitations etc along with the new users that have been invited and how many posts they have also a date and time feature when invitation was sent out and when invitation was confirmed etc... i need all this to be viewable by the administrator.

I say this because your hack will be very popular, why? Because us forumers need members and some of us have premium features on our forum. So to entice our members we would tell them to invite new members and they must register and make posts, in return if a member reaches "x" invitations then he/she will receive our premium package.

Thanks,

Salaam

abrecher
06-08-2008, 03:26 PM
I will be watching this hack.

I would suggest something very important.

Can you implement something where the administrator is able to see who has invited how many people and also able to see how many people have invited friends and how many have verified confirmation. It should be a list with user who have been sending invitations etc along with the new users that have been invited and how many posts they have also a date and time feature when invitation was sent out and when invitation was confirmed etc... i need all this to be viewable by the administrator.

I say this because your hack will be very popular, why? Because us forumers need members and some of us have premium features on our forum. So to entice our members we would tell them to invite new members and they must register and make posts, in return if a member reaches "x" invitations then he/she will receive our premium package.

Thanks,

Salaam

I'd be willing to contribute to a pool in order to get this done!

ThreeD
06-08-2008, 04:01 PM
does anybody else have a problem with new registered members after installing this mod? The new members don't receive any invites when they sign up. Where can I change this setting?

CP,
06-08-2008, 08:06 PM
I'd be willing to contribute to a pool in order to get this done!

of course i really think this hack will win and be very popular if what i have requested gets implemented.

He already has the fundamentals in place.. just needs a few tweaks to allow administrator to see whats going on in more detail.

tandy
06-09-2008, 04:40 AM
After this hack is installed, i have this message when i delete a user.

Parse error: syntax error, uunexpected T_STRING in \public_html\includes\class_dm_user.php
(2243) eval()'d code on line 1

oPPoSiTe
06-09-2008, 03:27 PM
Thanks Hasan. İnstalled.

Replicators
06-09-2008, 11:23 PM
is there a way to make it so sending invites is unlimited? Because my forum is based for the invite system. (its a clan based forum and the forums are strict for members of the clan....)

I second this! Actually a box in usergroup management where you put in a number, if you put in 0 then its unlimited, and put any other number then thats how many invites the usergroup starts with, they can gain more by being more active on the site.

Alfa1
06-09-2008, 11:59 PM
After this hack is installed, i have this message when i delete a user.

Parse error: syntax error, uunexpected T_STRING in \public_html\includes\class_dm_user.php
(2243) eval()'d code on line 1
Same here.
I am using vb 3.7.1 PL1. You?

ti07shadow
06-10-2008, 12:57 AM
I second this! Actually a box in usergroup management where you put in a number, if you put in 0 then its unlimited, and put any other number then thats how many invites the usergroup starts with, they can gain more by being more active on the site.

I third that idea of the number box 0 being unlimited! for usergroups.

tandy
06-10-2008, 12:03 PM
Same here.
I am using vb 3.7.1 PL1. You?

vb 3.7.1

pierians
06-10-2008, 05:28 PM
This is a great hack!
Is it possible for the admins to see which users has someone invited?
Or the oppossite to see for a specific user who has invited him?

timinrome
06-11-2008, 05:16 PM
Looks great. Can I install on 3.6.5?

TriMe
06-11-2008, 09:58 PM
Love the addon!

I found a way to hide the "Invite a Friend" in the navbar for guests/unregistered users.

First disable the Automatic Link Creation in the AdminCP->vBulletin Options->Invitation System.

Then in your navbar template add this where you want to put the link and edit your site name:

<!-- Invite Navbar --!>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://Yoursitename.com/profile.php?do=invitation">$vbphrase[invitation]</a></td>
</if>
<!-- Invite Navbar --!>

Hope this helps someone out.

TriMe

theparentpack
06-12-2008, 12:57 AM
is there a way to make it so sending invites is unlimited? Because my forum is based for the invite system. (its a clan based forum and the forums are strict for members of the clan....)

I third that!!!


Also the link on my navbar, for this hack, on my vBa CMPS homepage does not work. When I do use the link on my forums page it takes me to the form, but does not have a message already there. When I send the custom message I type in, I get this error:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

arcadian_girl
06-12-2008, 04:44 AM
bump - any news on the errors when ppl try to delete users? I'd like to install this, but not til that bug's been fixed...

TriMe
06-12-2008, 05:32 AM
After this hack is installed, i have this message when i delete a user.

Parse error: syntax error, uunexpected T_STRING in \public_html\includes\class_dm_user.php
(2243) eval()'d code on line 1

I get this error as well when I delete. But the user is still deleted. Should i be concerned?

vB 3.7.1

TriMe

andreamarucci
06-12-2008, 10:39 AM
Just a question. Since this mod is used only by me as an admin to invite people, how can I remove the 100 invitation limit?

andreamarucci
06-12-2008, 08:30 PM
Also I've made the modification in the USERCP_SHELL Template but I've noticed that the link to the invitation system appears on all the users control panel's. I've set that only the administrator user group can send invitation and, in effect, when a user click on the invitation link he get a message telling him that he has not privileges.

Question is; how can I avoid that the link appear also on the users control panel? i would like that the link appear only in the administrator control panel.

Also I've noted that if "Show Invitation Link in User Control Panel?" is set to NO, the link appear and t should not appear.

Any suggestion?

Mum
06-13-2008, 12:55 AM
I have set usergroup 1 (unregistered/guests) to be able to send invites, but if i log out and try it, i can't send any.

theparentpack
06-13-2008, 06:03 AM
Currently the only way to change the limit is to go into each individual users profile in your admincp/users/search for users and change it. It is in the bottom left corner of their profiles. Good luck.

Also I've made the modification in the USERCP_SHELL Template but I've noticed that the link to the invitation system appears on all the users control panel's. I've set that only the administrator user group can send invitation and, in effect, when a user click on the invitation link he get a message telling him that he has not privileges.

Question is; how can I avoid that the link appear also on the users control panel? i would like that the link appear only in the administrator control panel.

Also I've noted that if "Show Invitation Link in User Control Panel?" is set to NO, the link appear and t should not appear.

Any suggestion?

K4GAP
06-13-2008, 03:19 PM
This is a great addition to my little puny web site :)

Good job. :D

rainyleaves
06-13-2008, 05:09 PM
I get this error as well when I delete. But the user is still deleted. Should i be concerned?

vB 3.7.1

TriMe

I got same error with VB3.7.1 PL1.
Please help.

msvi007
06-13-2008, 05:55 PM
Awesome, installed!

g0dfather1984
06-14-2008, 12:33 AM
Works great! Thank you!