Vbulletin + Pligg bridge co-op

Register an Account
Pligg Chat Room
Closed Thread
 
LinkBack Thread Tools Display Modes
  #41 (permalink)  
Old 02-01-2007, 11:38 PM
Casual Pligger
 
Join Date: Jan 2007
Posts: 53
I found part of the problem I think. Turns out the import did work - for everyone except me (userid: 1). When I query the pligg_users table everyone else is there, just not me. It makes me sad.
  #42 (permalink)  
Old 02-01-2007, 11:39 PM
Casual Pligger
 
Join Date: Jan 2007
Posts: 53
could it be because the "god" account is already using user id 1 in pligg?
  #43 (permalink)  
Old 02-02-2007, 08:20 AM
Constant Pligger
 
Join Date: Mar 2006
Posts: 537
It is possible - if it is a fresh install, best thing to do would be to wipe the pligg user table clean, and re-import, then change user 1 (you) to god status manually.
  #44 (permalink)  
Old 02-02-2007, 08:31 AM
Casual Pligger
 
Join Date: Jan 2007
Posts: 53
weird.... I tried that, but it still didn't bring my account over...

even setting the import range to 1 and 1 didn't solve it. No error messages, just no account shows up in the pligg_users table.

Last edited by AyeCapn; 02-02-2007 at 08:35 AM.
  #45 (permalink)  
Old 02-02-2007, 08:38 AM
Casual Pligger
 
Join Date: Jan 2007
Posts: 53
tried manually inserting my account in the pligg tables then re-running the import. None of the vB data came over to fill in the blanks like password hash and salt.
  #46 (permalink)  
Old 02-02-2007, 08:44 AM
Casual Pligger
 
Join Date: Jan 2007
Posts: 53
Manually setting the Pligg password to match my vB password seems to let me login. Could also be since I inserted my vB userid manually as well it is making the cookie functional.

I'll keep playing with it to see if it is really working the way you intended or if I just tricked it. That import thing is gonna bug me though...
  #47 (permalink)  
Old 02-02-2007, 07:56 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 537
You might want to try replacing the INSERT query in the user import file with an equivalent UPDATE query. It won't fill in any blanks with INSERT, but should with UPDATE. I'm not really sure why it isn't populating the pligg user table correctly when starting off with it completely blank. Sorry, I can't really test it at this point.
  #48 (permalink)  
Old 02-05-2007, 12:42 PM
Casual Pligger
 
Join Date: Jan 2007
Posts: 53
hi simon. Thanks for the note. For the time being i am comfortable with how it is working.

Another issue is that my users are finding is that they can't login directly to the Pligg page. It gives them errors. That being said, if they login to my vB site and then navigate to Pligg, the cookie works great.
  #49 (permalink)  
Old 02-05-2007, 04:44 PM
Constant Pligger
 
Join Date: Mar 2006
Posts: 537
You'll need to change the login templates to use the forum login system:

Code:
<div class="box" id="loginbox">
<h1><span class="expand"><a id="explogin" class="expand-up"></a></span><a class="htitle">Quick Login</a></h1>
<form action="http://www.yourforumdomain.com/login.php?do=login" method="post" class="login" id="loginform">
<input type="text" name="vb_login_username" class="text" value="" class="text" value="{$login_username}" />
<input type="password" name="vb_login_password" class="text" />
<input type="hidden" name="cookieuser" value="1" />
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="login" />        
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
<p class="left"><input type="submit" value="{#PLIGG_Visual_Login_LoginButton#}" class="submit" style="width:75px" /></p>
<br clear="all" />
</form>
</div>
  #50 (permalink)  
Old 02-06-2007, 12:13 PM
pipin's Avatar
Casual Pligger
 
Join Date: Feb 2007
Posts: 34
Quote:
Originally Posted by Simon View Post
*Added user import function. Takes pre-existing forum user info and imports it into the pligg database. See attachment in previous post.
sorry, but there is no attachment in that previous post.

how do i import the users?

Quote:
Originally Posted by Simon View Post
You'll need to change the login templates to use the forum login system:

Code:
<div class="box" id="loginbox">
<h1><span class="expand"><a id="explogin" class="expand-up"></a></span><a class="htitle">Quick Login</a></h1>
<form action="http://www.yourforumdomain.com/login.php?do=login" method="post" class="login" id="loginform">
<input type="text" name="vb_login_username" class="text" value="" class="text" value="{$login_username}" />
<input type="password" name="vb_login_password" class="text" />
<input type="hidden" name="cookieuser" value="1" />
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="login" />        
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
<p class="left"><input type="submit" value="{#PLIGG_Visual_Login_LoginButton#}" class="submit" style="width:75px" /></p>
<br clear="all" />
</form>
</div>
ih which file is that changed?
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pligg Donation Drive 2009 chuckroast Questions and Comments 0 03-23-2009 04:42 PM
Vbulletin user : Pligg ? frack Questions and Comments 8 12-20-2007 02:16 AM
Vbulletin + Pligg bridge built in as option pipin Questions and Comments 0 02-20-2007 02:28 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development