vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Invites System (https://vborg.vbsupport.ru/showthread.php?t=101801)

akanevsky 12-01-2005 11:19 AM

Quote:

I have set -1 for the reputation in the admincp but still the invites count isn't increasing

how can I increase the count?
Read the hack description.

Quote:

i disabled [Component] Invites System reputation_add_process and then it didnt give me error when i was giving rep.

do i need this enabled ?
Yes you do. I am going to fix the error in a short while though.

akanevsky 12-01-2005 12:00 PM

Ok, fixed, and a new archive uploaded. If you don't want to reinstall the whole XML, just replace the contents of that plugin with the following:

PHP Code:

/*======================================================================*\
    || #################################################################### ||
    || Invites System by Psionic Vision - BEGIN
    || #################################################################### ||
    || PLUGIN: Update Invites Count on Reputation
    || #################################################################### ||
    \*======================================================================*/
    
    
if ($vbulletin->options['invites_on_reputation'] > 0)
    {
        if (
$score 0)
        {
            
$userdata->set('invites'$userinfo['invites'] + $vbulletin->options['invites_on_reputation']);
        }
        else
        {
            
$userdata->set('invites'$userinfo['invites'] - $vbulletin->options['invites_on_reputation']);
        }
    }
    
    
/*======================================================================*\
    || #################################################################### ||
    || Invites System by Psionic Vision - END
    || #################################################################### ||
    || PLUGIN: Update Invites Count on Reputation
    || #################################################################### ||
    \*======================================================================*/ 


Annie^.^ 12-01-2005 04:49 PM

Hi I just installed this addon and it looks neat, bt having some problem

My registration button doesn't want to show up after I added this code

Quote:

<if condition="$show['registerbutton'] AND !$vboptions['invites_reg_only_by_invite']">

akanevsky 12-01-2005 04:59 PM

That's by design.

Quote:

If registration is set to require invite code to sign up, the navbar register link becomes hidden.
Therefore, if you want it to show up, turn off invite requirement for registration.

Annie^.^ 12-01-2005 05:00 PM

Problem solved by turning of Registration by Invites Only

akanevsky 12-01-2005 05:18 PM

well thats what I said ;)

rb290 12-01-2005 05:42 PM

thanks for the fix, works now ! ! !

funinthesun 12-01-2005 06:21 PM

Installed. Thank you :)

akanevsky 12-01-2005 06:26 PM

Quote:

thanks for the fix, works now ! ! !
Quote:

Installed. Thank you
No problem :)

AshokForums.com 12-01-2005 09:27 PM

I get this error when i send a invite and i click the link in the mail.. :( What might be the problem? I tried reinstalling too.. Settings are default

Database error in vBulletin 3.5.1:

Invalid SQL:

SELECT invites.invitehash, invites.issuer_id, issuer.username as issuer_name, invites.status
FROM afvb_invites
LEFT JOIN afvb_user as issuer ON (issuer.userid = invites.issuer_id)
WHERE invitehash = '8ea33150c00cc5799eb7'
LIMIT 1;

MySQL Error : Unknown table 'invites' in field list
Error Number : 1109


All times are GMT. The time now is 05:24 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.02343 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_php_printable
  • (6)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