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-12-2008 10:34 PM

Quote:

Originally Posted by ram94401 (Post 1488039)
If your hack has some kind of configuration by which you make the referrer field read-only, that would be nice.

This can be acomplished by a simple template change by adding readonly to the input type or for XHTML compliance readonly="readonly"

Just look for the input tag in your register template (search for id="referrerfield")

On my site I have completly removed the referrid input field and instead using an hidden input tag to pass on the referrer. I'll look into including this as an auto template change for one of the next versions.

Dilldogs 04-12-2008 11:00 PM

I like this invite system, Works great. few miss spelled words, but it is an easy fix for that. All in All it is working fine and I hope you continue putting out great product.

Suggestion:

1. Maybe adding MSN, yahoo and aol Contact Grabber.

2. Maybe you should take over visionscripts. they had great product but he had to let it all go and now he is not planning to upgrade his product.

Scythe42 04-13-2008 12:03 AM

Quote:

Originally Posted by Dilldogs (Post 1489386)
Maybe adding MSN, yahoo and aol Contact Grabber.

Already on the to-do list and will be included in one of the next versions.

But before that I need to code some stuff so that new entries vom vbBlog show up under New Posts. That's currently more important for my site.

Hasann 04-13-2008 03:26 AM

https://vborg.vbsupport.ru/

just a screen it shows to you how it goes :S

Deepdog009 04-13-2008 02:28 PM

Beauts Hasann

This one is steam rolling down the lanes...

I took a peek at your code and it's interesting... Im taking notes...

Keep the ball rolling...;)

dancue 04-13-2008 03:24 PM

Quote:

Originally Posted by Hasann (Post 1489491)
http://img338.imageshack.us/img338/3170/finalsa8.jpg

just a screen it shows to you how it goes :S

Nice, I see you've added multiple invitees, and the ability to attach a note.

It's looking beautiful so far. You guys really do listen to our suggestions. Thank you!

dancue 04-13-2008 03:29 PM

When should we expect the next update?

No rush, just curious. And will the next one have the contact grabbers?

whitlecj 04-13-2008 09:32 PM

With this mod currently, can you tell who the referrer was when a new member signs up from an invitation? Thanks.

AngelBlue 04-13-2008 09:49 PM

A tip for your mod...

If you replace :
Code:

if ($vbulletin->options['invitation_automatic_link_creation'] == 1) {
      $template_hook['navbar_buttons_left'] .= '<td class="vbmenu_control"><a href="profile.php?'.$session['sessionurl'].'do=invitation">'.$vbphrase['invitation'].'</a></td>';
}

if ($vbulletin->options['invitation_automatic_link_creation'] == 2) {
      $template_hook['navbar_quick_links_menu_pos1'] .= '<tr><td class="vbmenu_option"><a href="profile.php?'.$session['sessionurl'].'do=invitation">'.$vbphrase['invitation'].'</a></td></tr>';

}

with :

Code:

if ($vbulletin->options['invitation_automatic_link_creation'] == 1) {
    if ($canuseinvitation) {
      $template_hook['navbar_buttons_left'] .= '<td class="vbmenu_control"><a href="profile.php?'.$session['sessionurl'].'do=invitation">'.$vbphrase['invitation'].'</a></td>';
    }
}

if ($vbulletin->options['invitation_automatic_link_creation'] == 2) {
    if ($canuseinvitation) {
      $template_hook['navbar_quick_links_menu_pos1'] .= '<tr><td class="vbmenu_option"><a href="profile.php?'.$session['sessionurl'].'do=invitation">'.$vbphrase['invitation'].'</a></td></tr>';
    }
}

In the mod file, then the invitation link in the navbar will only show up to people who can actually use it. This avoids frustrating users with links they can't use.

Boofo 04-13-2008 11:31 PM

Actually this will work better, I think:

Code:

if ($vbulletin->options['invitation_automatic_link_creation'] == 1 AND $canuseinvitation) {
    $template_hook['navbar_buttons_left'] .= '<td class="vbmenu_control"><a href="profile.php?'.$session['sessionurl'].'do=invitation">'.$vbphrase['invitation'].'</a></td>';
}
 
if ($vbulletin->options['invitation_automatic_link_creation'] == 2 AND $canuseinvitation) {
    $template_hook['navbar_quick_links_menu_pos1'] .= '<tr><td class="vbmenu_option"><a href="profile.php?'.$session['sessionurl'].'do=invitation">'.$vbphrase['invitation'].'</a></td></tr>';
}



All times are GMT. The time now is 09:12 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.01479 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_code_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