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)

rsuplido 08-04-2008 12:48 AM

Quote:

Originally Posted by mangel.ajo (Post 1589085)
Uhh, I have to check that.

For me it's working:

If I search here for "pruebecita" it works
http://www.economiahoy.es/foro/search.php

this forum is using the user database from:

http://www.foropymes.es/foro/

Could you give some details of your problem?

It seems like when it is set to FULLSEARCH it doesn't work. I decided to use the key words option and it works now.

ps2wiz 08-04-2008 01:12 AM

Quote:

Originally Posted by rsuplido (Post 1590847)
Store the avatars back to the database and add 'customavatar' to the list.

Thank you very much, that did the trick. :)

lovevn 08-04-2008 01:28 AM

It works well but I have some problems:
-Private message text is broken in the slave board.
-User's title is broken in the slave board.
-signature is broken in the slave board

My board is using utf-8 charset(vietnamese languages)

mangel.ajo 08-04-2008 06:54 AM

Quote:

Originally Posted by ps2wiz (Post 1590838)
I got it up and running and every thing seems to function perfect besides one thing.

I store my avatars on disk (file system) instead of the database storage. Anyone know how to properly link this? I am scratching my head on this, as avatars do not show up.

Yes, that's one of the things that cannot be used with this patch "directly"

If you can enter the machine as root you could make a hard-link from the secondary forum avatars directory to the main one using "ln" (I'm assuming it's a U*IX/Linux machine)

mangel.ajo 08-04-2008 06:56 AM

Hello loven! :)

That seems strange since str_replace shouldn't affect the strings encoding.

Could you please check if both forums are running using the same encoding? The problem could be there...

Could you provide the urls for us to test? :)


Quote:

Originally Posted by lovevn (Post 1590865)
It works well but I have some problems:
-Private message text is broken in the slave board.
-User's title is broken in the slave board.
-signature is broken in the slave board

My board is using utf-8 charset(vietnamese languages)


lovevn 08-04-2008 09:04 AM

Quote:

Originally Posted by mangel.ajo (Post 1590990)
Hello loven! :)

That seems strange since str_replace shouldn't affect the strings encoding.

Could you please check if both forums are running using the same encoding? The problem could be there...

Could you provide the urls for us to test? :)

Hello
Thanks for your reply.
Both forums are running the same ecodeing. However, in my main board
I turn this off

Quote:

$config['Mysqli']['charset'] = 'utf8';
And on my slave board(which is vbulletin chinese version) it is on.

I try to turn this off on the slave board but I got some error.

Could you tell me how to fix on this case?

Thanks again

ps2wiz 08-04-2008 09:41 PM

Quote:

Originally Posted by mangel.ajo (Post 1590988)
Yes, that's one of the things that cannot be used with this patch "directly"

If you can enter the machine as root you could make a hard-link from the secondary forum avatars directory to the main one using "ln" (I'm assuming it's a U*IX/Linux machine)

Yeah, I just transferred them back into the database and added "customavatar" to the list of shared tables.

I also let people host their signature pics on my forum. So I also added "sigpic" to the list of shared tables.

ps2wiz 08-19-2008 03:02 AM

Also, I figured if both board share the same PMs, then why not visitor messages too?

Just add:

"visitormessage","visitormessage_hash"

And you are good to go :)

Zate 08-26-2008 02:09 AM

Interesting way of doing it.

we've been running shared users for about 3+ years now and it has some minor "issues".. we initially did ours with PHP edits, then eventually by static links.. works well but has some issues with groups not updating sometimes. Currently looking at what modifications I'd need to make the functions affecting registration, changing password, changing username, changing email address... ideally i'd love to just share username, password and email address, and nothing else. Much to do.

z4media 09-02-2008 01:54 PM

Hello

I´am very intersted in this modification, but there is no howto.

Please explain the implementation of this mod.

Where do i put the code in the class_core.php, btw. in which line ?

thx

Flo


All times are GMT. The time now is 03:50 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.02953 seconds
  • Memory Usage 1,745KB
  • 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)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