vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - Invitation System vB 3.7 Gold (https://vborg.vbsupport.ru/showthread.php?t=171951)

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

Quote:

Originally Posted by conker1 (Post 1516572)
this ;

Whats this?

Mum 05-12-2008 07:06 PM

I just get

Quote:

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

myown 05-12-2008 08:22 PM

Quote:

Originally Posted by myown (Post 1516982)
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 :

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

add below:

Code:

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

$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:
Code:

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

EcoForumZ 05-14-2008 03:34 AM

Quote:

Originally Posted by myown (Post 1515672)
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

Code:

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

Code:

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

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.

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

Quote:

Originally Posted by Rajdeep (Post 1519446)
How do i increase number of invites to unlimited for all the usergroups?Kindly help

read it ...:down: : https://vborg.vbsupport.ru/showpost....&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

Quote:

Originally Posted by 00christian00 (Post 1512436)
Hi guys,the modification it's really simple to make it working.
Just add the following to the form in the usercp_invitation template :
Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
After this :
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" />

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

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

With this:
PHP Code:

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

Code:

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

Quote:

Originally Posted by puertoblack2003 (Post 1523965)
any update on this security token deal????

coming soon

puertoblack2003 05-18-2008 08:19 PM

Quote:

Originally Posted by Hasann (Post 1523971)
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

Quote:

Originally Posted by Hasann (Post 1523971)
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

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


add below

Code:

<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. :)


All times are GMT. The time now is 12:54 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02001 seconds
  • Memory Usage 1,834KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (12)bbcode_code_printable
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete