Go Back   Pligg CMS Forum > Other > Suggestions

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 10-15-2007, 06:56 PM
spartacus's Avatar
Casual Pligger
 
Join Date: Mar 2007
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Combining Pligg Installations

Guys

I'm trying to follow this thread to combine two Pligg installations (one in the root and the other a sub-directory) but I'm still not clear. Can anyone share a step by step guide to this? Much appreciated if anyone can assist.

Thx
Reply With Quote
  #22 (permalink)  
Old 11-11-2007, 07:52 PM
New Pligger
 
Join Date: Sep 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
same question

Quote:
Originally Posted by spartacus View Post
Guys

I'm trying to follow this thread to combine two Pligg installations (one in the root and the other a sub-directory) but I'm still not clear. Can anyone share a step by step guide to this? Much appreciated if anyone can assist.

Thx
can anyone share a step by step guide for multiple pliggs ?
Reply With Quote
  #23 (permalink)  
Old 11-11-2007, 07:57 PM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,367
Thanks: 169
Thanked 437 Times in 276 Posts
Quote:
Originally Posted by adlene View Post
can anyone share a step by step guide for multiple pliggs ?
There already is a step by step guide in this thread on post #4
MultiPLIGG
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
  #24 (permalink)  
Old 01-12-2008, 02:56 PM
Casual Pligger
Pligg Version: 9.8.2
Pligg Template: none
 
Join Date: Dec 2007
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Is there any way to link two sites occupying separate databases?

Last edited by mntbikeracer1; 01-12-2008 at 03:03 PM..
Reply With Quote
  #25 (permalink)  
Old 01-12-2008, 03:34 PM
Yankidank's Avatar
Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 1,822
Thanks: 110
Thanked 182 Times in 128 Posts
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
The multipligg documentation I posted a while ago should work on multiple domains as long as they are on the same server and able to access the same mysql database. I haven't tried it in a while, but if you figure out a way document it for others to see how you did it.
__________________
Need a Pligg Host?
Get 3 free months
when you buy a year of hosting.
Use the coupon PLIGG at either...
MidPhase hosting starting at $7.95/month.
ANhosting hosting starting as low as $4.95/month.
Reply With Quote
  #26 (permalink)  
Old 01-12-2008, 03:47 PM
Casual Pligger
Pligg Version: 9.8.2
Pligg Template: none
 
Join Date: Dec 2007
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Yankidank View Post
The multipligg documentation I posted a while ago should work on multiple domains as long as they are on the same server and able to access the same mysql database. I haven't tried it in a while, but if you figure out a way document it for others to see how you did it.
Ok I am going to dig into trying to make this work for separate databases. Which would be 3 total db's.
Reply With Quote
  #27 (permalink)  
Old 07-20-2008, 04:45 PM
New Pligger
 
Join Date: Jun 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
can anyone verify this is how to do it with version 9.9.0? i think the config file is different. i would really like to use this.
Reply With Quote
  #28 (permalink)  
Old 07-20-2008, 08:07 PM
New Pligger
 
Join Date: Jun 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
/libs/define_tables.php is the table that needs to be edited. Just figured it out on my own, which seems to be what the case with everything i have needed help on.
Reply With Quote
  #29 (permalink)  
Old 08-07-2008, 05:45 PM
Casual Pligger
 
Join Date: May 2008
Posts: 49
Thanks: 16
Thanked 5 Times in 5 Posts
Does this work with newest version of Pligg?

I am throwing errors when trying to log-in;

Quote:
Warning: Cannot modify header information - headers already sent by (output started at mysite.com/html/libs/define_tables.php:57) in mysite.com/html/libs/login.php on line 60

Warning: Cannot modify header information - headers already sent by (output started at mysite.com/html/libs/define_tables.php:57) in mysite.com/html/libs/login.php on line 61

Warning: Cannot modify header information - headers already sent by (output started at mysite.com/html/libs/define_tables.php:57) in mysite.com/html/login.php on line 60
Though, the site works, just the userid is wrong for the story, as I just exported the users from the old user tables and inserted them into the new table. I just cant login or register.


Code:
define('table_users', "global_users" );
Was what was used in the define_tables.php
__________________
OSS Supporter.
Reply With Quote
  #30 (permalink)  
Old 08-15-2008, 09:47 AM
Pligg Donor
 
Join Date: Feb 2007
Posts: 28
Thanks: 1
Thanked 2 Times in 1 Post
I am sure I have had this working before... but now it wont

so if main domain uses config db X and has pligg_users table to global_users
and if(!defined('table_users')){ define('table_users', "global_users" ); }
then main domain login = success

however if

subdomain sub.main.com uses config db Y with no global_users table how will
if(!defined('table_users')){ define('table_users', "global_users" ); } know to get the users table from db X ?
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Search Engine Friendly URLs by vBSEO 3.2.0