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.


All times are GMT. The time now is 09:40 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.01759 seconds
  • Memory Usage 1,773KB
  • 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
  • (8)bbcode_html_printable
  • (9)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