Go Back   Pligg Forum > Pligg Development > Pligg Mods
Reply
 
LinkBack Thread Tools Display Modes
  #31 (permalink)  
Old 05-24-2007, 04:08 PM
viulian viulian is offline
New Pligger
 
Join Date: Mar 2007
Posts: 20
Downloads: 4
Uploads: 0
Thanks: 2
Thanked 9 Times in 7 Posts
I'll try to explain more, I *think* maybe I did not explain well but its good you brought it up.

The databases are separate. Pligg will continue to use its database, SMF will continue to use its database.
However, our perspective is different in this point: I intended to use Pligg as an 'add on' to SMF (so the users that use my forum to get some dynamics - but I think I failed, somehow they are too bored or something to try anything new )

So, it was easier for me to code the integration as one way only, from SMF to Pligg. Everything will continue to work as is on SMF (as the database remains intact). What got changed in Pligg was in fact the authentication part (expecially the generateHash method you will find called from a couple of files in Pligg source code).

What I needed was a single way of encrypting the passwords, and given my constraints (SMF user base as a starting point), I had to tweak Pligg sources so when Pligg will read its database (populated with username/encrypted passwords from SMF) it will still allow the logins.

So if you plan on starting from Pligg and then later on adding SMF, I guess this mod doesn't fit (as it is only able to copy users from SMF to Pligg and not vice versa).

I will maybe write to Pligg team and suggest an integration API (much the same as SMF has, one doesn't necessarily has to reinvent the wheel). Basically let an external entity do the authentication/authorisation/encryption as well as also notify an external entity that user changed his details (email/avatar/password) or maybe deleted his account.
Given the work is done on Pligg at the moment, I do not have the time to write the integration API myself (nor the knoledge) - I think myself more like a Java programmer than PHP. I do ok with PHP too but not up to the scale of coding an integration API.

Sorry if this isn't what you want - this is the best I could given the time constraints I had..
Reply With Quote
The Following User Says Thank You to viulian For This Useful Post:
Sponsored Links
Check out the New Modules at the Pligg Pro Shop.
  #32 (permalink)  
Old 05-24-2007, 06:05 PM
911 911 is offline
Casual Pligger
 
Join Date: May 2007
Posts: 39
Downloads: 1
Uploads: 0
Thanks: 8
Thanked 1 Time in 1 Post
Thanks for your detailed Post. I think I understand it better now.

So If I want to use your bridge I have to use SMF from beginning. I could do this, but I want to focus on the Pligg area and bring some user activity in it first. Until I got some active Users I want to focuse on bringing up the Forum. I dont think I can do this for both smf and pligg simmilar. So it would be irritating users to register in an inactiv Forum to contribute to the"actve" news area.

So it sounds that I have to wait until a new Pligg version with an API is released if I want a 100% symetric working for smf and pligg. At all I just need the abillity to import Pligg Users to SMF to a later time, if new users are registered by SMF until the bridge is activated is not the Problem. Only if they Change their password in the Pligg Profil and it is not syncronised to SMF.

I could start the Forum to a later time but I think then I will never be able to use Pligg and SMF bridged (if one User has registered in SMF and Pligg with different User Name and password).

Another question: I read a lot that in the next Versions (Betas) of Pligg their will be big Changes in Code/Strukture and it is better to wait (building up a new site/ custom template / etc) until this changes are done (does this mean the next beta release or until the stable version comes out). So if there could be bigger Problems updating to new Pligg releases I think it is not the best Idea to build up an complex bridged Pligg/SMF Combi until this Changes are done (I would do this and perhaps reject to update on an upcoming version of Pligg/SMF if I could setup a - "no problems" Pligg/SMF combi like I imagine - at this time). What du you think.

I think I have to wait.

Quote:
I will maybe write to Pligg team and suggest an integration API (much the same as SMF has, one doesn't necessarily has to reinvent the wheel). Basically let an external entity do the authentication/authorisation/encryption as well as also notify an external entity that user changed his details (email/avatar/password) or maybe deleted his account.
Given the work is done on Pligg at the moment, I do not have the time to write the integration API myself (nor the knoledge) - I think myself more like a Java programmer than PHP. I do ok with PHP too but not up to the scale of coding an integration API.

Sorry if this isn't what you want - this is the best I could given the time constraints I had..
Viulian, thanks for your great support and developing! I I have no programming skills but I can imagine how many work and time people like you spent and I appreciate this a lot! So I am Sorry.

Keep up the great Support! I think their will be more Users then just me wich are interesstet in this Pligg bridge.

Cheers
Holger
Reply With Quote
  #33 (permalink)  
Old 05-28-2007, 10:17 AM
Lickmymonster Lickmymonster is offline
New Pligger
 
Join Date: Apr 2007
Posts: 5
Downloads: 26
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
lost admin access

I installed the bridge and lost the ability to log in to the pligg god account.
How would I go about getting my god/admin account back without lossing my posts.
There are no member accounts.

Thanks

L
Reply With Quote
  #34 (permalink)  
Old 05-28-2007, 10:44 AM
viulian viulian is offline
New Pligger
 
Join Date: Mar 2007
Posts: 20
Downloads: 4
Uploads: 0
Thanks: 2
Thanked 9 Times in 7 Posts
A workaround is to create a god account on your SMF forum, make it Administrator, and then copy all the users from SMF to Pligg making sure that the Overwrite check box is on.

Manually, if you don't want to copy all the users, you need to create a god account in SMF, give it your pligg password, then copy the encoded password (you must use phpmyadmin) from SMF to Pligg.

If you don't want/rush to copy/create users in SMF, I will post a small script here but later in the evening once I get home, and you can adapt it to generate an encoded password. Then you will copy that password onto Pligg DB and it will work again.
Reply With Quote
  #35 (permalink)  
Old 09-02-2007, 07:27 PM
jkjunkfilter jkjunkfilter is offline
Casual Pligger
 
Join Date: May 2007
Posts: 86
Downloads: 15
Uploads: 0
Thanks: 9
Thanked 1 Time in 1 Post
Any new progress?

Any new progress?
Reply With Quote
  #36 (permalink)  
Old 09-08-2007, 09:07 PM
evilopinions evilopinions is offline
New Pligger
 
Join Date: Sep 2007
Posts: 1
Downloads: 5
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
hi viulian


do you have the bridge for pligg 9.7...any help on this would be appreciated
Reply With Quote
  #37 (permalink)  
Old 09-09-2007, 07:10 PM
boardsource boardsource is offline
Casual Pligger
 
Join Date: Oct 2006
Posts: 95
Downloads: 20
Uploads: 0
Thanks: 8
Thanked 1 Time in 1 Post
i dont really understand the installation guides for this, it seems as if the smf files are all mixed up. what does this step mean

a) You need to install the mod.

its a bit vague. after replacing the pligg files, with the bridge files (login, profile,etc) i have no idea what else to do

and does this make it so that you can no longer log in from pligg? only from smf?
Reply With Quote
  #38 (permalink)  
Old 09-10-2007, 06:51 PM
boardsource boardsource is offline
Casual Pligger
 
Join Date: Oct 2006
Posts: 95
Downloads: 20
Uploads: 0
Thanks: 8
Thanked 1 Time in 1 Post
just noticed that viulian hasnt been here in 3 months. so im guessing the module has been abandoned... anyone else here succesfully go this to work
Reply With Quote
  #39 (permalink)  
Old 09-17-2007, 07:58 PM
NiteShdw NiteShdw is offline
New Pligger
 
Join Date: Aug 2007
Posts: 10
Downloads: 1
Uploads: 0
Thanks: 0
Thanked 1 Time in 1 Post
I have SMF and I'm using Pligg 9.8 I'm going to be working on getting the two sites integrated. I'll post any progress that I make here.
Reply With Quote
  #40 (permalink)  
Old 10-04-2007, 03:49 PM
jkjunkfilter jkjunkfilter is offline
Casual Pligger
 
Join Date: May 2007
Posts: 86
Downloads: 15
Uploads: 0
Thanks: 9
Thanked 1 Time in 1 Post
Any new progress NiteShdw?
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Pligg integration with osc albert Customization Assistance 4 08-06-2008 09:20 PM
PHPBB Integration with Pligg Yankidank Drawing Board 64 06-07-2008 05:54 AM
performance of Pligg + karma integration dollars5 General Help 8 02-01-2007 02:50 AM
Page titles & breadcrumbs AshDigg Core Development 11 06-30-2006 06:35 PM


LinkBacks Enabled by vBSEO 3.0.0