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)
-   -   Major Additions - Share users database among many forums (https://vborg.vbsupport.ru/showthread.php?t=185021)

ps2wiz 10-22-2009 08:41 PM

Quote:

Originally Posted by Shadawg (Post 1847258)
Having one problem with this, if a user joins forum a, they are added to the total member list in forum b, but if a member joins forum b, they are not added to forum a.....

how can i fix this?

That is the only problem I myself have also.

Lionel 10-24-2009 05:27 PM

Quote:

Originally Posted by ps2wiz (Post 1903948)
That is the only problem I myself have also.


https://vborg.vbsupport.ru/showpost....&postcount=109

gibgib 11-25-2009 10:25 AM

Can't get this to work with vb 4.0.

There's a lot of extra lines in the class_core.php in the new VB.

cloferba 12-08-2009 02:30 PM

Quote:

Originally Posted by gibgib (Post 1920640)
Can't get this to work with vb 4.0.

There's a lot of extra lines in the class_core.php in the new VB.

please! help!

will this addon be upgrade to v4?? :erm::erm:

lcp03o 05-09-2010 01:50 PM

I have a problem where on my 2nd / slave board when you click on on a members user name it should take you to the member list page for that user. But instead im getting a "Can not find user" error, Does anyone know what I can do to resolve this??

Master board www.pspmod.com
Slave Board www.console-mods.com

Thanks

DragonMasterNYC 05-14-2010 10:10 PM

I've started to get this to work on 4.0.3 PL1 suite. So far only a few of the connections work. I'm still trying to figure out a work around for the avatars.

gibgib 05-15-2010 01:00 AM

I haven't had any luck with it on vB4 so I have stay with 3.8.
If you have any success please let us know.

lcp03o: here is a copy of what I add to classcore & have no problems with sharing the stuff I need, that being the users info only, so the threads & posts etc are unique.

Code:

  $shared_tables = Array("user","useractivation","userban","usertitle","userchangelog","usertextfield","userfield","usergroup","userlist","usernote","profilevisitor","reputation","reputationlevel","spamlog","strikes","pm","pmreceipt","pmtext","avatar","customavatar","profilefield");
 
              $main_prefix = "";
              foreach ($shared_tables as $shared_table)
              {
                      $orig = TABLE_PREFIX.$shared_table;
                      $dst  = $main_prefix.$shared_table;
 
                      $this->sql = str_replace($orig." ",$dst." "  ,$this->sql);
                      $this->sql = str_replace($orig.".",$dst."."  ,$this->sql);
                      $this->sql = str_replace($orig."\r",$dst."\r",$this->sql);
                      $this->sql = str_replace($orig."\n",$dst."\n",$this->sql);
                      $this->sql = str_replace($orig."\t",$dst."\t",$this->sql);
 
              }


DragonMasterNYC 05-16-2010 03:28 PM

If you add "customavatar","customprofilepic","sigpic","sigpar sed" all uploaded images will work between sites. Also "visitormessage" for those who want to share more profile information.

Now it works perfectly on 4.0.3 PL1. I only took out "userban" for my own usage, but it still works in vB4.

Code:

$shared_tables = Array("user","useractivation","usertitle","userchangelog","usertextfield","userfield","usergroup","userlist","usernote","profilevisitor","reputation","reputationlevel","spamlog","strikes","pm","pmreceipt","pmtext","avatar","customavatar","profilefield","customprofilepic","visitormessage","sigpic","sigparsed");

              $main_prefix = "FA";
              foreach ($shared_tables as $shared_table)
              {
                      $orig = TABLE_PREFIX.$shared_table;
                      $dst  = $main_prefix.$shared_table;

                      $this->sql = str_replace($orig." ",$dst." "  ,$this->sql);
                      $this->sql = str_replace($orig.".",$dst."."  ,$this->sql);
                      $this->sql = str_replace($orig."\r",$dst."\r",$this->sql);
                      $this->sql = str_replace($orig."\n",$dst."\n",$this->sql);
                      $this->sql = str_replace($orig."\t",$dst."\t",$this->sql);

              }

Only thing after this is modifications that you might share between sites if they don't use those tables.

gibgib 05-17-2010 07:45 AM

That's amazing.

It did not work for me at all, it completely ignored the added lines in classcore.
I'm a bit scared to try it again as it represents a lot of work creating temp forums.
May try at the weekend :D

gibgib 05-17-2010 07:47 AM

Has anyone tried a common cookie domain yet?
I mean so the users can float between without any logging in at all, on any of the sites.


All times are GMT. The time now is 03:41 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.01167 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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