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)

Scythe42 04-07-2008 09:27 PM

Just an development update:

DONE:
  • fixed table prefix issues
  • if an invited user is deleted the row gets removed from the invitation table
  • if an invited user is deleted the inviting user gets an invitation back
  • removed not existing template fetch from the code
  • properly cached the templates
  • users are automatically made buddies (admincp option)
  • updated default invitation description option
  • moved permissions from global_start hook to the actual invitation manager where it belongs
  • added an option for displaying an invitation block template in usercp
  • full auto template (supports 'Icons for UserCP' mod as well)
  • not accepted invitations expire after X days and inviting user is credited back (admincp option)
  • possibility to invite multiple friends

OPEN:
  • additional invitations will be given or removed based on posts
  • additional invitations will be given or removed based on reputation
  • different user groups can have different default invitations (can be unlimited)
  • changes to the number of default invitations for groups will be applied to the user as well
  • X number of invitations are lost if a user in inactive for Y number of days.

FUTURE UPDATE:
  • invitation reminders
  • invitation tree
  • contact grabber
  • Looking into the mentioned anti-spam system compliance. If someone has link for me where it is described I'll check it out.

Any other wishes?

I'll post an update here once I completed all the open items... Guess it will be by the end of next week. My time's limited this week.

Alfa1 04-07-2008 09:43 PM

I have version 2.0.2b installed on vb 3.7B3. (My test forum)
I have sent out several invitations to try this out. So far one worked as designed and one did not. One person got the invitation, followed the link and signed up. But the invitation is still listed as 'Not Confirmed Yet'.
The forum account of the person lists me as the referrer though.

Does anyone have an idea where the problem lies?

Scythe42 04-07-2008 10:15 PM

Quote:

Originally Posted by Alfa1 (Post 1485522)
Does anyone have an idea where the problem lies?

What settings do you use on your forum? Invite only? Invite and normal registration? Email Verfication needed? Any errors in your php.log? Any special cookie related settings on your end or the users' browser? How does the entry in the invitation table for that invitation code looks like? Where any signups successful or do they all fail in regards to the invitation code?

If you provide me with some more details I can try to reproduce it and find a solution for the scenario.

The code that updates the table is pretty simple. It's called on "register_addmember_complete". It checks for the invitationcode cookie that was set when the signup process started. If present it continues and updates the table for that code. If it is not present an error message is shown when normal registration is disabled. If normal registration is still enabled, the user is passed through like a normal registration.

nyqnzguju 04-07-2008 10:55 PM

Dont see option In UserCp... Left Side...

Like Ur attachment

https://vborg.vbsupport.ru/attachmen...4&d=1207409366

theparentpack 04-08-2008 08:10 AM

Love it! Installed, and voted for MOTM!!!

theparentpack 04-08-2008 09:24 AM

I installed this on two of my forums. Now one of them is lacking the link in admincp/vb options/invitation system to change the outgoing message. One of my forums has a link for me to edit the ougoing message, and the other one does not. Any ideas?

Lee G 04-08-2008 12:42 PM

Where do I find the words "Invite Friends" used in the nav bar, so I can change them from white to black in my nav bar

Thanks for any help
Lee G

Alex_Volovenko 04-08-2008 12:49 PM

Plugin Parse Templates
Add This Code
PHP Code:

if ($vbulletin->options['invite_automatic_link_creation'] == 0)  
{  
    
$template_hook['usercp_navbar_bottom'] .= '<!--  invite_usercp_link -->
    <tr><td class="alt2" nowrap="nowrap"> 
   <a class="smallfont" href="profile.php?'
.$session['sessionurl'].'do=invitation">'.$vbphrase['invitation'].'</a></td></tr>
    <!--  END invite_usercp_link -->'
;  


Change This Code setting
PHP Code:

<setting varname="invite_automatic_link_creation" displayorder="50">
                <
datatype>number</datatype>
                <
optioncode>radio:piped
0
|Create Link in User CP
1
|Create Link in Navbar
2
|Create Link in Quick Links</optioncode>
                <
defaultvalue>1</defaultvalue>
            </
setting


dancue 04-08-2008 02:38 PM

Quote:

Originally Posted by Scythe42 (Post 1485513)
Just an development update:

DONE:
  • fixed table prefix issues
  • if an invited user is deleted the row gets removed from the invitation table
  • if an invited user is deleted the inviting user gets an invitation back
  • removed not existing template fetch from the code
  • properly cached the templates
  • users are automatically made buddies (admincp option)
  • updated default invitation description option
  • moved permissions from global_start hook to the actual invitation manager where it belongs
  • added an option for displaying an invitation block template in usercp
  • full auto template (supports 'Icons for UserCP' mod as well)
  • not accepted invitations expire after X days and inviting user is credited back (admincp option)
  • possibility to invite multiple friends

OPEN:
  • additional invitations will be given or removed based on posts
  • additional invitations will be given or removed based on reputation
  • different user groups can have different default invitations (can be unlimited)
  • changes to the number of default invitations for groups will be applied to the user as well
  • X number of invitations are lost if a user in inactive for Y number of days.

FUTURE UPDATE:
  • invitation reminders
  • invitation tree
  • contact grabber
  • Looking into the mentioned anti-spam system compliance. If someone has link for me where it is described I'll check it out.

Any other wishes?

I'll post an update here once I completed all the open items... Guess it will be by the end of next week. My time's limited this week.

You guys are great! Thanks for listening!

Can't wait for the future updates!

Any thought on whether or not you are going to add the ability for the user to attach a note to the e-mail? Also the increase in x reputation points per successful registration?

Scythe42 04-08-2008 10:33 PM

Quote:

Originally Posted by dancue (Post 1485982)
Any thought on whether or not you are going to add the ability for the user to attach a note to the e-mail? Also the increase in x reputation points per successful registration?

The note is already included. You don't see the actual message anymore. It was moved to the phrases for allowing easy localization. Instead there is a textarea for adding custom notes now.

The add X reputation for inviting a new user is no problem. Ist a simple query. But I think if you rebuild your reputation it will be lost because it's not associated with a post. Need to check if there is a hook I could use.

PS: first test of contact grabbing with gmail works. But I'm not sure how to display them without making everything look ugly with a ton of checkboxes. I'm open for layout suggestions.


All times are GMT. The time now is 03:06 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.01710 seconds
  • Memory Usage 1,762KB
  • 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_php_printable
  • (3)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