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)

NeuroLancer 03-09-2008 07:55 AM

I noticed now there is "Override" in users options in admincp. For admin it was No. I set to Yes and then this happened:

Quote:

Database error in vBulletin 3.7.0 Beta 6:

Invalid SQL:
UPDATE user SET
### Bitfield: user.adminoptions ###
adminoptions = IF(adminoptions & 1, adminoptions - 1, adminoptions),
adminoptions = IF(adminoptions & 2, adminoptions - 2, adminoptions),
usertitle = 'Administrator',
customtitle = 0,
birthday_search = '1981-10-22',
birthday = '10-22-1981',
referrerid = 0,
caninvitation = 1,
joindate = 1199938200,
lastactivity = 1205052780,
lastpost = 1204954320,
membergroupids = ''
WHERE userid = 1;

shlomot 03-09-2008 08:12 AM

Just to make sure, Hasann, that you saw my question:

Quote:

Originally Posted by shlomot (Post 1460472)
Do we need to go through any template modification when upgrading from v2.0.0?


C.Birch 03-09-2008 08:17 AM

Hi, I'm running 3.7 beta6 and i dont see any of the usergroup settings at all, i have run /index.php?do=buildbitfields just incase also and still see no settings.

Playa82 03-09-2008 08:17 AM

Quote:

Originally Posted by Hasann (Post 1460012)
OKei
Have you been edited the original navbar template? if you have been edited revert back the edited navbar template..
Have you been checked vBulletin Options > Invitation System > Invitation Automatic Link Creation Option?

yes, i added it manually now, but it still shows no link in userCP

Hasann 03-09-2008 09:22 AM

You make me so crazy people :confused::D:confused::D sorry :p

Quote:

Originally Posted by eng. deeb (Post 1460552)
thanks man I love this kack

thank you please click install
Quote:

Originally Posted by NeuroLancer (Post 1460557)
I noticed now there is "Override" in users options in admincp. For admin it was No. I set to Yes and then this happened:

have you old product deleted an re-installed the new product?????
Quote:

Originally Posted by shlomot (Post 1460562)
Just to make sure, Hasann, that you saw my question:

->Do template edits:
In USERCP_SHELL Template Find this Code

HTML 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

HTML Code:

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

In USERCP Template Find this Code

HTML Code:

$template_hook[usercp_main_pos1]
Add Below This Code

HTML Code:

<if condition="$show['invitation_link']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>

<td class="tcat">$vbphrase[invitation_system] <if condition="$show['invitation_left']"><phrase 1="$bbuserinfo[invitation]">($vbphrase[invitation_x_left])</phrase></if></td>
</tr>
<tr>
        <td class="alt1"><span class="smallfont"><a href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation_click_here_to_invitation_new_users]</a></span></td>
</tr>
</table>
<br />
</if>


Quote:

Originally Posted by C.Birch (Post 1460565)
Hi, I'm running 3.7 beta6 and i dont see any of the usergroup settings at all, i have run /index.php?do=buildbitfields just incase also and still see no settings.

there is "Override" in users options in admincp.

Quote:

Originally Posted by Playa82 (Post 1460566)
yes, i added it manually now, but it still shows no link in userCP

->Do template edits:
In USERCP_SHELL Template Find this Code

HTML 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

HTML Code:

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

In USERCP Template Find this Code

HTML Code:

$template_hook[usercp_main_pos1]
Add Below This Code

HTML Code:

<if condition="$show['invitation_link']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>

<td class="tcat">$vbphrase[invitation_system] <if condition="$show['invitation_left']"><phrase 1="$bbuserinfo[invitation]">($vbphrase[invitation_x_left])</phrase></if></td>
</tr>
<tr>
        <td class="alt1"><span class="smallfont"><a href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation_click_here_to_invitation_new_users]</a></span></td>
</tr>
</table>
<br />
</if>


Hasann 03-09-2008 09:24 AM

Please Un-install The Old Product And Re-install The New Product Buddies Or I Don't Give Support

NeuroLancer 03-09-2008 11:42 AM

Quote:

Originally Posted by Hasann (Post 1460585)
Please Un-install The Old Product And Re-install The New Product Buddies Or I Don't Give Support

Ok I did this and it works now.
Sorry I didnt do this earlier.
Thank you Hasann ;)

clk320 03-09-2008 10:57 PM

Would it be possible to specify to which groups the invited users should be added once he/she registers? Default and per invite setting would be great.

Stifler 03-10-2008 10:03 PM

would be awesome to have a way to mass-invite users.. any possibility of this?

shlomot 03-11-2008 02:23 PM

Dear Hasann,

Migration from 1.0.4 to 2.0.1 was smooth as a baby's b**t. A few comments though:

1. There are numerous misspells in the body text of the invitation. In general, I suggest to let us edit the body text, while keeping the <validation code parameter> in the text at our own risk. Maybe you can even provide a "reset" function for the admin to restore the original text.

Besides, since the invitation is being issued by the system and it isn't a personal invitation from the member (like I have here), I don't see why the users should even have the access to modify the body text.

2. It seems that users are limited to 10 invites. Why is that? Can you give us the control of how many invites a user can send PER DAY?

I believe that while we want to stop spamming, we still want our members to send as many invitations as they can, so the PER DAY control is in order.

3. Can we control the navbar title "Invite your friends" without touching the template? I would like to have it as "Invite a Friend" instead. Shorter and more familiar term.

4. Just noticed that the phrase in user profile "Click here to invitation new users to our forum" is erroneous as well. It should read "Click here to invite your friends to join us".

Thanks for yet another great product from the Hasann Home of Excellence.

Alfa1 03-11-2008 04:30 PM

I am very interested in this addon, but i am cautious because I do not want my members to start spamming with this function. Does anyone have tips on how to use this hack in a way that avoids spamming or abuse?

Here is a very interesting article on the troubles that facebook has with their invites:
http://www.applicationdevelopmentnew...lications.html

Would it be a good idea to add a function that makes sure the same email address does not get more than one invite?

nerofix 03-12-2008 12:01 PM

I like this add-on too, a lot spelling errors thats true but forgivable.

1. I can't delete sent invitations, it says deleted but it isn't.

2. Can you make the body text hardcoded that users can't change it? (It's very easy to delele the body text and writing "you f*cking a*shole" into the body text). That should not be possible for users. :)

3. Also there should be phrases for subject and bodytext, so we can use translations.

chatzworld 03-12-2008 02:09 PM

how can we edit the default text to to into the email as need to fix spelling errors in it ;) and word it all better

ThePulse 03-12-2008 03:03 PM

go into edit templates and edit the invitation_email one :D

anestetic 03-12-2008 04:21 PM

bundaki yerleri turkceye cevırcem bır turlu bulunamadı hasann kardes turkcesınıde paylasırmısın

Dilldogs 03-13-2008 02:11 PM

Looks Very interesting. I will install and give it a try. Thanks

rainyleaves 03-14-2008 03:23 PM

I can't get 'Amount of Unused Invition' option in usergroup Permission.
How do I edit 'Amount of Unused Invitatiion' for all about user's amount at once?

Thanks.

rainyleaves 03-14-2008 03:26 PM

Quote:

Originally Posted by Playa82 (Post 1460566)
yes, i added it manually now, but it still shows no link in userCP

You need edit this code.
From :
Code:

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

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


Mesohu 03-15-2008 09:06 AM

Quote:

Originally Posted by rainyleaves (Post 1464637)
I can't get 'Amount of Unused Invition' option in usergroup Permission.
How do I edit 'Amount of Unused Invitatiion' for all about user's amount at once?

Thanks.

i have this same question / issue .

Hasann 03-15-2008 01:24 PM

Quote:

Originally Posted by rainyleaves (Post 1464637)
I can't get 'Amount of Unused Invition' option in usergroup Permission.
How do I edit 'Amount of Unused Invitatiion' for all about user's amount at once?

Thanks.

Quote:

Originally Posted by Mesohu (Post 1465223)
i have this same question / issue .

this 'Amount of Unused Invitatiion' option is in the user edit section..
also this option is per user basis and not per usergroup

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.

bigsbydapicka 03-16-2008 04:06 PM

Is it possible to have the invitation message fixed so that the member cannot edit it?

abrecher 03-17-2008 03:38 PM

What do I edit in the XML file in order to change the max amount of invitations users can send please ?

Forum Lover 03-17-2008 03:58 PM

He..he.. ok... clicked that.
Quote:

Originally Posted by Hasann (Post 1459998)
Comments, suggestions, translations, bugs, etc... are very welcome! Support is only given to people who have clicked INSTALL.


Mesohu 03-17-2008 05:03 PM

Quote:

Originally Posted by abrecher (Post 1467084)
What do I edit in the XML file in order to change the max amount of invitations users can send please ?

Please read this : https://vborg.vbsupport.ru/showpost....&postcount=142


Hassan i've a question : can i invite one more buddies in one time ? ( ex. with commas : email1@domain.com , email2@domain.com , email3@domain.com , etc ? )

fluentdesigns 03-17-2008 05:34 PM

You know what would make this mod even better? Be able to track all the participating members that are getting sign ups from there invitation link. that way you can see what members are making an effort to bring more people to the site and that way they can be rewarded. To bring it even a step further you could have it track how many of the new invited members are actually participated by putting them into tiers, tiers meaning x amount of posts and user activity. This will keep members from trying to cheat the invitation system.

Hasann 03-17-2008 07:07 PM

please wait be patience :)
Now, I am working in progress Hack Publishing System :cool:
I have saved your suggestions I will make all yours suggestions.. ;)

Tom Kraus 03-22-2008 10:26 PM

How do you change the standard language in the message that is sent with the invitation?

christian8a 03-25-2008 10:48 PM

Hey man, are the invitations supposed to say Accepted only if they put who reffered them?

I used it to test, the person registered but then I can still see, Not Accepted Yet

How does that work:confused:

Edit:
Nevermind I figured it out now

christian8a 03-26-2008 07:55 PM

Anybody knows why all these emails are being sent to junk mail, and on High risk?

The registration emails work fine, so is something with this product

logicuk 03-27-2008 06:23 PM

Is it possible to have the invitation message fixed so that the member cannot edit it?

any updates on this mate?


All times are GMT. The time now is 06:56 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.02412 seconds
  • Memory Usage 1,870KB
  • 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
  • (2)bbcode_code_printable
  • (8)bbcode_html_printable
  • (1)bbcode_php_printable
  • (19)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