• In Chat
  • About
  • Contact
  • Browse

    Latest Coding

    Latest Daily

    Latest Health

    Featured Story

Coding 2018

| Begin | File Bank |  Register | Reply | Search | Statistics | Manual |
Opensource Coding / Opensource /  
 

minibb multi-forums with reg and auto-login or out on all

 
Author Admin
Admin


#1 | Posted: 4 Oct 2018 14:30 | Edited by: Admin 
Not hard to do. These were the steps I took ...

1. Installed minibb forum
2. Uploaded minibb forum software to new forum directories WITHOUT installing
3. Edited the _install_mysql.sql file found in the root of each new forum removing everything bar the tables for forums, posts and topics
4. Altered the remaining forum, posts and topics tables in _install_mysql.sql to reflect the name of the new forum, such as:

CREATE TABLE minibbmusic_forums
CREATE TABLE minibbmusic_posts
CREATE TABLE minibbmusic_topics

5. Installed the new forums
6. Edited each forum setup_options.php file to reflect the new table names such as:

$Tf='minibbmusic_forums';
$Tp='minibbmusic_posts';
$Tt='minibbmusic_topics';

7. Altered the cookie path to the ROOT of the domain such as:

$cookiepath='/';

That was all it took. A breakdown of the above is quite simple. Steps 1-6 allocate new tables for forum, posts and topics, whilst ALL other database tables are common. Step 7 forces ALL the forums to share the same cookie, which holds the logged in or out information. Handily, registration on one forum registers the user for all.
Website Designer

Your Reply Click this icon to move up to the quoted message


 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.

 

 
Coding Powered by Forum Software miniBB ®
Online now: Guests - 1
Members - 0
Max. ever online: 33 [10 May 2019 12:44]
Guests - 33 / Members - 0
No Of Posts

  • Latest Daily Post ...

  • Latest Health Post ...

CONTACT

Phone: +01 0775 8107 427

sport4u2018@gmail.com

WEBMASTER

email icon Mark Jones

Latest Story

RANDOM CODING

  • Copyright © 2018 MKJ Brainwaving
↑ TOP