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 - Automatically Add Friend (https://vborg.vbsupport.ru/showthread.php?t=177269)

King Kovifor 04-28-2008 06:15 PM

Quote:

Originally Posted by Boofo (Post 1501506)
That is because of your setting description. The "Separate usernames with a comma". ;)

Oops. Thanks! I will make that change now. I am thinking of adding a few more things...

Boofo 04-28-2008 08:22 PM

I just installed the new version and am curious, where is the code to send the PM?

King Kovifor 04-28-2008 09:21 PM

Quote:

Originally Posted by Boofo (Post 1501753)
I just installed the new version and am curious, where is the code to send the PM?

Did I seriously forget that?! Wow. I feel like an idiot. But there probably is none (cause I did this release in a rush). I will add this maybe tonight, maybe tomorrow.

Boofo 04-28-2008 10:03 PM

Also, if it uses the activate_process hook, I would have it disable the other code as the queries do not need to run for the other hook.

Should I hold my breath now? ;)

King Kovifor 04-28-2008 10:14 PM

Quote:

Originally Posted by Boofo (Post 1501835)
Also, if it uses the activate_process hook, I would have it disable the other code as the queries do not need to run for the other hook.

Should I hold my breath now? ;)

It does. The other code is only run when validateemail (which turns on the validation) is set to no. I really haven't had time to test this, so if any one notices problems, please let me know.

Boofo 04-28-2008 10:17 PM

I didn't see the code wrapped in the other hook is why I asked.

You didn't test this? Shame on you. ;)

King Kovifor 04-28-2008 10:21 PM

Quote:

Originally Posted by Boofo (Post 1501847)
I didn't see the code wrapped in the other hook is why I asked.

You didn't test this? Shame on you. ;)

I didn't test as I knew that since it was the same code it would work, that validate email was a boolean so !$vbulletin->options['validateemail'] would allow the code to run. It is basically the same code as before, just with some new checks.

Boofo 04-29-2008 02:25 AM

Got a major problem with this now. It added me as a friend to the new user but this is what is shows now in the Friends tab:

Quote:

Showing Friends 1 to 1 of 2
And this shows in the Friends Block but with only my avatar there and no other friends showing in the block:

Quote:

Showing 1 of 2 Friend(s)
I am the only friend this new user has right now. It is also showing me as having 1 more friend than I actually have, too. I am uninstalling until this can be fixed, if it can.

King Kovifor 04-29-2008 10:20 AM

Quote:

Originally Posted by Boofo (Post 1502003)
Got a major problem with this now. It added me as a friend to the new user but this is what is shows now in the Friends tab:



And this shows in the Friends Block but with only my avatar there and no other friends showing in the block:



I am the only friend this new user has right now. It is also showing me as having 1 more friend than I actually have, too. I am uninstalling until this can be fixed, if it can.

What is your configuration (unless of course the validate email didn't actually stop the code from running)?

Boofo 04-29-2008 06:17 PM

What do you mean? I just set the userid to 1.

I think it did as I was talking about earlier and ran both hooks.


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