vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - VSa - Advanced Registration (https://vborg.vbsupport.ru/showthread.php?t=236117)

basilrath 09-26-2011 12:31 PM

Quote:

Originally Posted by bluebare (Post 2249007)
Hi

Just installed no problems on 4.1.6 with operations, but have a style problem. I have a dark background, and the invite page. Has Dark input box & Dark Font. I had this problem on another item but can't seem to find it on the templates. Could you please assist?

Same here its a style thing

Not sure of the fix yet

edit

add.......
{vb:raw headinclude_bottom}

above
</head>

Onto templates:

vsa_areg_editquestion
vsa_areg_invite
vsa_areg_manage

bluebare 09-26-2011 05:47 PM

this fix the problem thank you

oldfan 09-27-2011 04:21 PM

Just installed on 4.1.5, no errors and looks like its running ok.

thanks

oh for some reason my Human Verification image isn't showing now?

k6rikko 10-10-2011 01:02 AM

hello sorry about my question but is the following possible, ithink this is the right place with people they can help me in this

I need at the registration 2 times the input for the date of birth for couple registrations, also shown than at the profile too .
Exists a mod or is it possible to modificate this ?
I would be very happy if someone can help me in this

Sooo many thanks Rikko :)

fxwoody 10-25-2011 02:22 PM

1 Attachment(s)
Well, your hack works perfectly on my forum Valter!
Tho, i was missing something because it's a bilingual forum so, i did the French translation for it!

Hope it will help some of you ;)

Just one little bug, when using the invitation system, the page layout get totally out of the original built! Any idea how to fix this one?

I put the image in attachment ;)

Tks guys

evilthoutz 11-28-2011 04:14 AM

Hello the server that I have hosted in Russia seems to have a BlackListed SMTP. Which sucks because the new owner of the server "me" is affected by this. Now I love this plugin so I can't use the email function so I wanted to edit it to just spit out the Code that was generated to the user instead. So that user who wants to invite someone can send them the code there self + also get the code.


I am using this code but it will only spit out the first code that the user sends out. I am having issues creating this array to show all the codes for that user :( If anyone can help guide me that would be awesome!

Code:

$theuserid = $vbulletin->userinfo['userid'];
$result = $vbulletin->db ->query_read("SELECT * FROM vsa_advreg_invite WHERE inviter='$theuserid'");
while($row = $vbulletin->db->fetch_array)
 {
$getcode =  "You invited: " . $row['invited']. "<br> Your Code to Give: ". $row['code'] . "<br>";
 }

And to register the variable

Code:

$templater->register('getcode', $getcode);

evilthoutz 11-28-2011 02:03 PM

Found the answer out from another user on the forums :)

Working Code if anyone else is interested in using in case they don't want to use email function:

FYI: Some may have to change MySQL Query because its not selecting the Prefix from vBulletin if anyone has a Prefix set for table_names!

Code:

$getcode = '';
$theuserid = $vbulletin->userinfo['userid'];
$result = $vbulletin->db ->query_read("SELECT * FROM vsa_advreg_invite WHERE inviter='$theuserid'");
while($row = $vbulletin->db->fetch_array($result))
 {
 $getcode .=  "You invited: " . $row['invited']. "<br> Your Code to Give: ". $row['code'] . "<br>";
 }


Alan_SP 12-08-2011 06:30 AM

Is it possible that users can see where they sent invitations? Something similar like admins (usergroup 6, as it is hard coded now) now can see it, but only for everyone else, just for their invitations?

I know that now it isn't possible, but if Valter would consider this in next version?

Alan_SP 12-08-2011 09:45 AM

As a bug, when invited user registers, he's email address is still listed as unaccepted invitation. At least that's how it is for me.

LuDawgs 12-13-2011 01:50 AM

Does this integrate with member referrals? ie, I send an invitation, they visit through the link that is sent to them and register...do I get credit?


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