vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - Invitation System v2.0.2 for vB3.6 and 3.5 series (https://vborg.vbsupport.ru/showthread.php?t=172157)

Hasann 03-04-2008 10:00 PM

Invitation System v2.0.2 for vB3.6 and 3.5 series
 
[phpBB] Invitation System by Hasann

This Product brought to you by
www.vBulletin-TR.Com

DESCRIPTION

->What does it? > Allow users send invites to everybody.

Note: This Hack Does Work For vBulletin Version 3.5 and 3.6 Series

Go For Invitation Hack vBulletin Version 3.7.series

FEATURES
  • complete code rewrited ;)
  • Included a user referrer code to invite code, so when they sign up, it shows up who referred them. ;)
  • Now users can delete their invites ;)
  • Invitation Image Verification Added ;)
  • The system can be turned on and off.
  • Usergroups Permissions Added; Allowed Usergroups to View and to Use This Hack
  • Invitation User Control Panel Link; Show Invitation Link in "User Control Panel" Left Menu
  • Invitation Automatic Link Creation; This will create a link on your forum navbar to the invitation page
  • Usergroups Permissions Added ;)
  • fully phrased ;)
  • added an admin option disable registration via normal methods
  • added an admin option which usergroups can to delete their invites
  • added an admin option enable disable invitation image verification
  • added an admin option Edit the Email Text Title
  • added an admin option Edit the Invite Description
  • added Invitation Sender Username to Email
  • integrated the totally vBulletin default Human Verification System into Invitation System :eek:

    You decide it if you wich human verification system will be used in the invitation system go to Admincp > Human Verification Manager > and select one human verification if you want.
  • these are;
  • Image Verification
  • An image consisting of letters in varying fonts/shapes/sizes will be shown to the user. The appearance of this image is dicated by several options that you may control.
  • Question and Answer Verification
  • Questions provided by you that must be answered appropriately for verification.
  • reCAPTCHA Verification
  • An image containing two words will be shown to the user. This verification supports audio, allowing blind users to register.
  • Added Invitation User Options
  • a> Ability to limit number of invites by user. (user: Admin an have 10 invites, user: Testuser can have 20, etc, admin controlled)
  • b> Ability to reset invites to 0 on a per user basis (override), admin controlled
  • c> Ability to reset to max being unused, admin controlled
  • d> Abilitiy turn to on or off Invitation System per user basis, admin controlled
INSTRUCTIONS
Install: ->Just Import product_invitation.xml via Product Manager

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

Comments, suggestions, translations, bugs, etc... are very welcome! Support is only given to people who have clicked INSTALL.

Big Boss 03-05-2008 11:40 AM

Looks good so far. I'm gonna have to take a look at it soon. Thanks!

Droptop 03-05-2008 12:02 PM

Thanks man, I did't know you will make it so fast... Will install it now :)

PinkDaisy 03-05-2008 12:11 PM

Great! Installed.. :)

Hasann 03-05-2008 12:19 PM

Quote:

Originally Posted by Big Boss (Post 1457535)
Looks good so far. I'm gonna have to take a look at it soon. Thanks!

thank you :):up: please just click install

Quote:

Originally Posted by Droptop (Post 1457547)
Thanks man, I did't know you will make it so fast... Will install it now :)

I am Speedy Gonsalez :D:up: thank you buddy please just click install ;)
Quote:

Originally Posted by PinkDaisy (Post 1457550)
Great! Installed.. :)

thank you very much for your comment! :D

Droptop 03-05-2008 12:49 PM

**Clicks Install** :up:

iogames 03-05-2008 08:09 PM

It seems like no problems so far... Installed

thunder_sti 03-05-2008 09:08 PM

Once they visit the reffer link, it takes them to a page w/many red X's.

Hasann 03-05-2008 10:02 PM

Quote:

Originally Posted by Droptop (Post 1457581)
**Clicks Install** :up:

thank you bro.
Quote:

Originally Posted by iogames (Post 1457905)
It seems like no problems so far... Installed

thanks for installed
Quote:

Originally Posted by thunder_sti (Post 1457931)
Once they visit the reffer link, it takes them to a page w/many red X's.

what do you mean I don't understand you :confused:

EagleNick 03-06-2008 01:08 AM

Very nice! Works perfect ;)

goranbaxy 03-06-2008 05:56 AM

this is very nice

tschai 03-06-2008 11:24 AM

Works like a charm!
Installed and nominated!

Sagol, usta!

Mum 03-07-2008 05:29 PM

Wonderful! Installed :)

KeyStalker 03-07-2008 07:07 PM

Had this installed a while back (well anther custom one) but I thank you for releasing this one.

midlandi 03-09-2008 07:45 PM

Nice and easy, if I can do it anyone can!!!

Mum 03-11-2008 01:19 AM

Is there any way it can check if the email is already used, before it sends the invite?

droid101 03-11-2008 01:20 PM

What does "Delete their own invites" mean, anyway? They can ban the people they invited?

Saviour 03-11-2008 03:12 PM

Can multiple recipients be added to this...or just one at a time? If so...how do you separate the e-mail addresses?

Also...

I really don't think it's a good idea to let any member...or usergroup, for that matter, other than Admins...have the ability to change the text of the e-mail in any shape or form. This is just asking for trouble.

Even though this mod is not supported...I think you should disallow any change to the email text...unless it's usergroup controlled or done through the product's xml install file. Know what I mean?

Who's to say that a spammer, who get's registered on one's forum, or a disgruntled member, will use this feature to send out an e-mail from my forum with inappropriate context.

Although I have installed this mod...I have to limit its use to Staff members until you can address my concerns.

Nice mod, though...

Hasann 03-11-2008 03:42 PM

Quote:

Originally Posted by Mum (Post 1461956)
Is there any way it can check if the email is already used, before it sends the invite?

that will be added next version ;)
I have to do list. I saved this suggestion first
Quote:

Originally Posted by droid101 (Post 1462245)
What does "Delete their own invites" mean, anyway? They can ban the people they invited?

No, that mean which usergroups can delete their sent invites...

Quote:

Originally Posted by Saviour (Post 1462320)
Can multiple recipients be added to this...or just one at a time? If so...how do you separate the e-mail addresses?

Also...

I really don't think it's a good idea to let any member...or usergroup, for that matter, other than Admins...have the ability to change the text of the e-mail in any shape or form. This is just asking for trouble.

Even though this mod is not supported...I think you should disallow any change to the email text...unless it's usergroup controlled or done through the product's xml install file. Know what I mean?

Who's to say that a spammer, who get's registered on one's forum, or a disgruntled member, will use this feature to send out an emial from my forum with context not becoming.

Although I have installed this mod...I have to limit its use to Staff members until you can address my concerns.

Nice mod, though...

Now in this version selected usergroups can send just one at a time. But in next version can selected usergroups send multiple invites at a time. And last one will be added in next version usergroups cant edit their invite email text.. :)

thanks guys for your great suggestions... :eek:

Saviour 03-11-2008 04:02 PM

Something else you may want to look into...

If an Admin is going to allow other usergroups to use this feature...shouldn't it be moderated?

Scenario:

Let's say the Admin has given Registered users permission to use this feature so they can send out one, or multiple, e-mails. Who's to say they're not spamming?

Don't you think it would be better to limit the number of e-mails one can send? Also...wouldn't it be a good idea to view these e-mails before they are actually sent?

I know that I wouldn't want a registered member using this feature to spam another forum's members...or anyone else, for that matter.

I'm not picking this mod apart...I just think there should be certain areas of it that need a little more attention.

I'd actually like to commend you on a mod that has a lot of potential...should these problem areas be addressed.

I look forward to your newest release so that I can give all of our members the ability to use it, so that membership registrations will increase.

Keep up the great work!

raagaswaram 03-12-2008 12:48 AM

it seems that their is a field in the usergroup it looks blank so assuming it did not install properly

MySQL Error : Unknown column 'invitationpermissions' in 'field list'
Error Number : 1054
Date : Wednesday, March 12th 2008 @ 10:43:37 AM
Script : http://www.tamilthunder.com/forum/ad....php?do=update

Dragons76 03-13-2008 10:05 PM

nice one but i get this when i click on it

Your invite is either not valid or has already been used

any idea

Dragons76 03-14-2008 08:31 PM

Nobody can help with this error ??

iogames 03-15-2008 03:21 PM

Ok... the system works fine in all its functions, but for some reason I can't see the link on 'Edit Profile' or can't place it on NavBar, just on QuickLinks...

What can I do?

p.s. Well I tried to erase old/previous invitations, didn't work

Epic-Phail 03-15-2008 08:51 PM

You redirect me here and I still get the same db message in my usergroups

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` = '0',
`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 @ 04:50:37 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

iogames 03-15-2008 10:49 PM

Uninstalled and waiting for a more complete version :(

l0streflecti0n 03-16-2008 02:53 AM

edit ... not sending invite .. tried to send to 2 diff emails

ivanstanchev 03-17-2008 04:37 PM

Works 10x

Dragons76 03-19-2008 05:10 PM

I am under VB 3.6.8

When I send an invitation to an address mail other than mine (that recorded in my forum), the message does not arrive on limps her mail given.

MrD3SAi 03-19-2008 09:44 PM

When will the next version be released? Will include ability to limit # of invites the user can have?

DssCrazy 03-20-2008 12:20 PM

Does not work bro. when sending user invite it all works ok but when thay click link and reg it does not add to the person referal stat.

DssCrazy 03-20-2008 12:26 PM

also what is with that stupid note? it says (note if you see this then their is somthing wrong with your referal link? it even says it in your pic so it can't be somthing we are doing wrong
Thanks

atlambros83 03-20-2008 03:05 PM

istalled but does not show in the left menu of the usercp for me haven't tested it yet but it looks nice. :-) lol

atlambros83 03-20-2008 03:12 PM

tested it, referral system does not work. how can i edit the rest of what the email says? like the note: if you see this then their is somthing wrong with your referal link and i'd like to change where it says "from the home page team" and insert the website name or something else.

atlambros83 03-20-2008 03:18 PM

sorry for the triple post here but also it does not show that the invitation has been accepted where it shows invitations sent. i'm sure it has to do with the referral system not working.

DssCrazy 03-20-2008 06:26 PM

Quote:

Originally Posted by atlambros83 (Post 1469705)
tested it, referral system does not work. how can i edit the rest of what the email says? like the note: if you see this then their is somthing wrong with your referal link and i'd like to change where it says "from the home page team" and insert the website name or something else.

Nice bro you ecplained it all for me. everything i wanted to say you said thanks lol

noj75 03-21-2008 05:37 AM

Quote:

Originally Posted by Saviour (Post 1462320)
Can multiple recipients be added to this...or just one at a time? If so...how do you separate the e-mail addresses?

Also...

I really don't think it's a good idea to let any member...or usergroup, for that matter, other than Admins...have the ability to change the text of the e-mail in any shape or form. This is just asking for trouble.

Even though this mod is not supported...I think you should disallow any change to the email text...unless it's usergroup controlled or done through the product's xml install file. Know what I mean?

Who's to say that a spammer, who get's registered on one's forum, or a disgruntled member, will use this feature to send out an e-mail from my forum with inappropriate context.

Although I have installed this mod...I have to limit its use to Staff members until you can address my concerns.

Nice mod, though...

An Easy little fix for this could be:

Edit template > invite_usercp

Find:
Code:

<textarea name="message" rows="10" cols="50" wrap="nowrap" style="width:$stylevar[messagewidth]">$invitemessage</textarea>
Replace With:
Code:

<textarea readonly="readonly" name="message" rows="10" cols="50" wrap="nowrap" style="width:$stylevar[messagewidth]">$invitemessage</textarea>
Just add a simple "readonly" to the form. Yes or no?

Regards

surfjunkey 03-24-2008 01:46 AM

awesome :) Installed and cheers great Job !!

Rideharder 03-24-2008 03:10 AM

SWEET THANKS! From http://speedaholic.net

Dragons76 03-24-2008 04:59 AM

I am under VB 3.6.8

When I send an invitation to an address mail other than mine (that recorded in my forum), the message does not arrive on limps her mail given.


All times are GMT. The time now is 02:43 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.04092 seconds
  • Memory Usage 1,852KB
  • 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
  • (4)bbcode_html_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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