FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Single User Database Hack?
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Single User Database Hack? [message #9059] Mon, 10 March 2003 20:51 Go to next message
jim(at)xeongaming(dot)com is currently offline  jim(at)xeongaming(dot)com   United States
Messages: 1
Registered: March 2003
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Anyone know what I'd have to do to allow multiple installations of these forums to run off of one user database?

Any information would be very helpful.

Thanks!
Re: Single User Database Hack? [message #9088 is a reply to message #9059] Thu, 13 March 2003 09:30 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Easy, install 2 forums separately, then modify the SQL settings of one of the forums to use the same database as the other forum. The other thing you'll need to do is symlink the directory where the files are stored (messages) to the other forum.

FUDforum Core Developer
Re: Single User Database Hack? [message #16662 is a reply to message #9059] Tue, 10 February 2004 19:07 Go to previous messageGo to next message
WhiteFire is currently offline  WhiteFire   United States
Messages: 16
Registered: March 2002
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Does that allow you to have the same users with a different set of forums?

Or does it cause the two to be clones of each other?

[Updated on: Tue, 10 February 2004 19:07]

Report message to a moderator

Re: Single User Database Hack? [message #16663 is a reply to message #16662] Tue, 10 February 2004 19:11 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
different set of forums, with a common user database.

FUDforum Core Developer
Re: Single User Database Hack? [message #16664 is a reply to message #16663] Tue, 10 February 2004 19:14 Go to previous messageGo to next message
WhiteFire is currently offline  WhiteFire   United States
Messages: 16
Registered: March 2002
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
One more question: by same database, do you mean the prefix as well?

Thanks for the help, between this and the hack you posted elsewhere about using Fud's user authentication, I can do some nice things with my site. Smile
Re: Single User Database Hack? [message #16665 is a reply to message #16664] Tue, 10 February 2004 19:21 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
of course, the two forums must be using the same db prefix.

FUDforum Core Developer
Re: Single User Database Hack? [message #17671 is a reply to message #16665] Sat, 10 April 2004 09:01 Go to previous messageGo to next message
alansmith is currently offline  alansmith   United Kingdom
Messages: 49
Registered: February 2004
Location: Seaton Devon
Karma: 0
Member
add to buddy list
ignore all messages by this user
Nah i tried it and got common forums but with a different container.
icon5.gif  Re: Single User Database Hack? [message #20171 is a reply to message #17671] Thu, 30 September 2004 07:40 Go to previous messageGo to next message
vrom is currently offline  vrom   Russian Federation
Messages: 1
Registered: September 2004
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
I have the same problem Crying or Very Sad
Do you fined any solution?

----
Can I install 3 different forums on
www.mysite1.com
www.mysite2.com
www.mysite3.com
and use ONE user list (one user table in database).
All site will be on one server and will can use one MySQL database. Of course I will pay for 3 licences.

Thank you in advance
Valery

Re: Single User Database Hack? [message #20186 is a reply to message #20171] Thu, 30 September 2004 18:43 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
There are no licenses for FUDforum, so it does not really matter Razz

If you can figure out how to do it yourself , you can hire us to do it Smile


FUDforum Core Developer
Re: Single User Database Hack? [message #27544 is a reply to message #20186] Sun, 11 September 2005 23:19 Go to previous messageGo to next message
MrLeN is currently offline  MrLeN   Australia
Messages: 1
Registered: September 2005
Location: Melbourne, Australia
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
How much?

MrLeN
Re: Single User Database Hack? [message #27546 is a reply to message #27544] Mon, 12 September 2005 10:02 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Depending of the specs, feel free to send an e-mail to sales(at)prohost(dot)org and we can discuss the pricing and project specifics.

FUDforum Core Developer
Re: Single User Database Hack? [message #28717 is a reply to message #27546] Sun, 06 November 2005 17:51 Go to previous messageGo to next message
Tharo is currently offline  Tharo   Germany
Messages: 4
Registered: November 2005
Location: Germany
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Hmm Ilia i have to make such an "Matrix" Hack for this Forums in near Future.

The Matrix Hack includes unlimited Forums running on the same Engine, sharing the same db tables and php Files to kill out overheads.

I want (or in other words i HAVE to support)
- Multible Forums running on the same Engine
- Using the Same or Differen Users - this will be optional.

- Full featured admin and forums Settings for each admin of his own matrix cell.
- World Forums/Categorys. Forums or Categorys that would displayed in each Matrix cell and got controled by the mastermind (lol) On the different users setting this may cause that one user is posing on multible nicknames / accounts without an evil spirit behind that. But i think inserting a "Meta User" management into the hack would go to far.

icon6.gif  Single User Database Hack ! [message #28872 is a reply to message #28717] Mon, 14 November 2005 10:57 Go to previous message
ambitionen is currently offline  ambitionen   Germany
Messages: 3
Registered: November 2005
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Tried a very simple way to have one common user database (on the same server) and it seems to work:

Install the 2nd forum in a new directoy with the same database, but change the prefix from e.g. "fud26_" to "fud1_"

Replace in the source code all "fud26_users" with "fud1_users". In my case 267 matches have been found.

Under Linux with root rights you may install "rpl" from Joe Laffey to this, under Windows there are also some free tools available to avoid hours of hand work.

At the end the new forum starts with a counter of 0 posts, but any user can login with his name.
I left the "cookies" different for the moment, as I do not know the outcome otherwise.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Templeates Hack
Next Topic: Modified version of popfud.php: popfudx.php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Dec 14 10:20:20 EST 2017

Total time taken to generate the page: 0.00931 seconds