Go Back   Pligg CMS Forum > Pligg Development > Modification Tutorials

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-09-2006, 12:55 PM
Casual Pligger
 
Join Date: May 2006
Posts: 75
Thanks: 0
Thanked 4 Times in 2 Posts
Lightbulb Integration with vBulletin Forum Software

I ended up paying a coder to build the necessary bridge to vBulletin software using the PHP SOAP extension. Now, when someone registers through my pligg, they are automatically registered in vBulletin. I've avoided the double registration issue. Also, change of passwords are also synchronized.

If anyone is interested, I'll attach the changed files here this weekend. You must have PHP 5+, the vBSOAP plugin and the PHP SOAP extension running on your server.
Reply With Quote
  #2 (permalink)  
Old 06-09-2006, 04:10 PM
Casual Pligger
 
Join Date: Feb 2006
Posts: 94
Thanks: 0
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by agiacosa
I ended up paying a coder to build the necessary bridge to vBulletin software using the PHP SOAP extension. Now, when someone registers through my pligg, they are automatically registered in vBulletin. I've avoided the double registration issue. Also, change of passwords are also synchronized.

If anyone is interested, I'll attach the changed files here this weekend. You must have PHP 5+, the vBSOAP plugin and the PHP SOAP extension running on your server.
Yes Please do! (I would be willing to donate a little to help cut your cost as well)
__________________
http://www.dealspy.org: Hottest deals on the net

((pligg contributer))
Reply With Quote
  #3 (permalink)  
Old 06-10-2006, 02:16 AM
Casual Pligger
 
Join Date: Feb 2006
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
I'll second that!
Reply With Quote
  #4 (permalink)  
Old 06-10-2006, 07:52 AM
Casual Pligger
 
Join Date: May 2006
Posts: 75
Thanks: 0
Thanked 4 Times in 2 Posts
Lightbulb

Folks,

I've attached the necessary files. Please look through the files for the hardcoded URLs. Search for YOURDOMAIN and YOURFORUMDIRECTORY and you should find them. Obviously, change them to your settings.

Please note that I am NOT a coder. I will help to the extent I can. I paid someone to write this up for me and am sharing it with the rest here in the spirit of Open Software. So, I ask for others that may know more about PHP to help those that need help installing this.

Thanks and good luck.
Attached Files
File Type: zip vB integrate.zip (22.3 KB, 192 views)
Reply With Quote
The Following User Says Thank You to agiacosa For This Useful Post:
  #5 (permalink)  
Old 06-10-2006, 12:11 PM
Casual Pligger
 
Join Date: Feb 2006
Posts: 94
Thanks: 0
Thanked 2 Times in 2 Posts
Also would be nice if someone could make it PHP4 compatible..

Agiacosa, Thanks for releasing that, you are helping make the pligg community stronger!
__________________
http://www.dealspy.org: Hottest deals on the net

((pligg contributer))
Reply With Quote
  #6 (permalink)  
Old 06-10-2006, 12:40 PM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
wow soap never used that before (only shower gel just kiddin)

something new to check out.

looking at add_pligguser, someone could create bogus users on your forum.
because the soap server can take input from anywhere, someone could loop and create millions of bogus users.
I don't know anything about soap so this might not be true.

if there was like a secret key you could have on the register.php and add_pligguser.php

so if someone tries to make bogus users, it will check the key which it doesn't have.
and the key is hardcorded into the register.php file.

doesn't vbulletin have salt. what does it do in this case??
Reply With Quote
  #7 (permalink)  
Old 06-10-2006, 04:38 PM
Casual Pligger
 
Join Date: May 2006
Posts: 75
Thanks: 0
Thanked 4 Times in 2 Posts
I'm no coder but I think it is set up to use the pligg registration rather than the vBulletin registration. I think pligg doesn't let you register more than one user from the same IP within a certain time as a flood control. Wouldn't that prevent the use of a loop?
Reply With Quote
  #8 (permalink)  
Old 06-11-2006, 02:37 AM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
if you're regstering through pligg, the pligg code would stop it.

you --->pligg --->soap--->vb

if you remove the pligg, then theres no stopping it.
if you know the filename which adds users (add_pligg_user) then someone can make a php file to add it (i think, have to try it out first)

one way to stop this is simply changing the filename
like pigg_use_add or soemthing more cryptic
and change register.php to that filename. so the attacker would need to keep guessing it.

thanx for the code. see ya
Reply With Quote
  #9 (permalink)  
Old 06-11-2006, 04:50 AM
Casual Pligger
 
Join Date: Feb 2006
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Kudos for posting the code. Your selflessness is right up there with the fine folks devoting time and resources to make Pligg better. Thank you.
Reply With Quote
  #10 (permalink)  
Old 06-14-2006, 01:24 AM
Casual Pligger
 
Join Date: Jun 2006
Posts: 86
Thanks: 8
Thanked 12 Times in 6 Posts
Now we just need a similar script to connect Pligg with phpBB. Any one know about development on this?
__________________
The Hao Hao Report: The Best Stories About China
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
Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Forum software to download aaronpais Off-topic 13 09-08-2008 01:38 PM
Vanilla Forum Integration Simon Modification Tutorials 46 08-18-2008 02:48 PM
Looking To Hire: Developer For Pligg-Wordpress Bridge P1mpPanther Modification Tutorials 50 04-19-2008 10:58 PM
Need help setting up a forum - vBulletin questions P1mpPanther Off-topic 6 03-12-2008 05:34 AM
The importance of achieving vBulletin integration BobdeBilder Suggestions 4 07-14-2007 09:05 AM


Search Engine Friendly URLs by vBSEO 3.2.0