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)

rainyleaves 03-15-2008 01:37 PM

Then, How do I edit default value of 'Amount of Unused Invitatiion' at once?
I mean, Can I edit the default value in product-invitation.xml? Where is the default value code?

Thanks :)

Hasann 03-15-2008 01:41 PM

Quote:

Originally Posted by rainyleaves (Post 1465371)
Then, How do I edit default value of 'Amount of Unused Invitatiion' at once?
I mean, Can I edit the default value in product-invitation.xml? Where is the default value code?

Thanks :)

yes buddy you can edit the default value in product-invitation.xml

that is in install code in product.xml file
PHP Code:

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

enter here the value instead of 10 DEFAULT '10' how you want

rainyleaves 03-15-2008 01:46 PM

Wow, Thanks for your reply !!!

Mesohu 03-15-2008 02:10 PM

a suggestion by me :
can you add. a Default text ( and members canot change this text) for preventing possible spammers .

Hasann 03-15-2008 02:34 PM

Quote:

Originally Posted by Mesohu (Post 1465388)
a suggestion by me :
can you add. a Default text ( and members canot change this text) for preventing possible spammers .

Okei buddy
this has been suggested by someone coming soon in next version
please clicks install button when next version will be released you get from me one update email

Epic-Phail 03-15-2008 04:19 PM

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE forum_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Moderators',
`description` = '',
`usertitle` = 'Moderator',
`opentag` = '<font color=\"blue\">',
`closetag` = '</font>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '782847',
`genericpermissions` = '518790799',
`attachlimit` = '0',
`pmquota` = '150',
`pmpermissions` = '7',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '15',
`adminpermissions` = '1',
`genericoptions` = '63',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '130',
`avatarmaxheight` = '115',
`avatarmaxsize` = '1000000',
`signaturepermissions` = '138495',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '10000',
`sigmaxrawchars` = '0',
`sigmaxchars` = '0',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '0',
`creditpermissions` = '0',
`credit_induction` = '100',
`credit_referral` = '100',
`credit_refbonus` = '0.05',
`credit_paycheck` = '0',
`credit_active` = '20',
`credit_birthday` = '100',
`credit_repgive` = '0.1',
`credit_reputation` = '2',
`credit_infraction` = '-10',
`credit_thread` = '10',
`credit_threadrate` = '1',
`credit_post` = '5',
`credit_ownthreadpost` = '3',
`credit_postsize` = '0.05',
`credit_ownthreadview` = '0.05',
`credit_ownthreadrate` = '1',
`credit_ownthreadreply` = '2',
`credit_ownprofileview` = '0.05',
`credit_pollmake` = '5',
`credit_pollvote` = '1',
`credit_attachment` = '3',
`credit_sendpm` = '-2',
`credit_addevent` = '3',
`credit_addprofpic` = '3',
`credit_profile` = '0',
`credit_donmaxuser` = '-1',
`credit_pastotpost` = '0',
`credit_pastotuser` = '0',
`credit_pasawuser` = '0',
`credit_pasawthread` = '0',
`credit_saveint` = '0.035',
`credit_maxsave` = '10000',
`credit_loanint` = '0.195',
`credit_maxloan` = '1000',
`credit_totloan` = '5',
`credit_goodgroup` = '0',
`credit_midgroup` = '0',
`credit_badgroup` = '0',
`credit_maxtickets` = '10',
`credit_lotdiscount` = '0',
`vbr_per` = '3',
`invitationpermissions` = '1',
`ecdownloadpermissions` = '16383',
`ecexcludecatlist` = '',
`ecdownloadsmaxuploadtotal` = '-1',
`ecdownloadsmaxdailydl` = '-1',
`ecdownloadsmaxdailyfiles` = '-1',
`ecdownloaddelaygrp` = '-1'
WHERE usergroupid=7;

MySQL Error : Unknown column 'invitationpermissions' in 'field list'
Error Number : 1054
Date : Saturday, March 15th 2008 @ 12:18:35 PM
Script : http://epic-phail.com/forum/admincp/....php?do=update
Referrer : http://epic-phail.com/forum/admincp/...&usergroupid=7
IP Address : 75.84.154.251
Username : Riot
Classname : vB_Database
What is the matter?

I can't edit my usergroups anymore.

Hasann 03-15-2008 04:25 PM

Quote:

Originally Posted by Epic-Phail (Post 1465469)
What is the matter?

I can't edit my usergroups anymore.

this version is not for vBulletin version 3.6.8

Go For Invitation Hack vBulletin Version 3.5 and 3.6.series

christian8a 03-16-2008 05:15 AM

Good one!
Installed!

But a small requirement, is it possible to put all the invite templates together so is not confusing when we edit templates.

Invitation System>>
- Invitation_email
- Invitation_previous
- Invitation_usercp


Thanx for this mod man :up:

seangworld 03-16-2008 05:43 AM

um...yeah.

very nice hack and i've been wanting this for a while now...thanks a lot.

although, i had to edit the xml to fix all the f'ed up grammar errors. hehe...

Alfa1 03-16-2008 12:22 PM

Please post the xml with corrected grammar errors.


All times are GMT. The time now is 11:58 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.01844 seconds
  • Memory Usage 1,747KB
  • 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
  • (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