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


All times are GMT. The time now is 05:45 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01768 seconds
  • Memory Usage 1,745KB
  • 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
  • (7)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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