eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > User interface > Custom Templates

Custom Templates You have come up with a new really appealing template and keep silence? Why not share it with others. Somebody might love it.

Reply
 
Thread Tools Display Modes
Old 03-13-2007   #1
orchie
Newbie
 
Join Date: Mar 2007
Posts: 17
orchie is on a distinguished road
Default Help with PHPBB linking to esyndicat auth (MySQL)

Tried this on Yahoo! answers but am still stuck I want to use one table for authentication between esyndicat and PHPBB, I've managed to create one database with tables from both DB's combined so esyndicat uses tables starting dir_ and PHPBB uses tables starting PHPBB_ my knowledge of MySQL is very basic, can someone take me step by step as to how I can have the username and password field in PHPBB update automatically when someone registers in esyndicat?? I know this is asking alot but any help would be much appreciated.

Last edited by orchie; 03-13-2007 at 11:54 PM.
orchie is offline   Reply With Quote
Old 03-14-2007   #2
Simon Gooffin
Administrator
 
Simon Gooffin's Avatar
 
Join Date: Sep 2005
Location: Intelliants LLC
Posts: 8,644
Simon Gooffin is a glorious beacon of lightSimon Gooffin is a glorious beacon of lightSimon Gooffin is a glorious beacon of lightSimon Gooffin is a glorious beacon of lightSimon Gooffin is a glorious beacon of lightSimon Gooffin is a glorious beacon of light
Default

what version of phpBB are you using? We used to have phpBB on our site and used simultaneous registration

Please try to add the following code in your registration code:

Code:
		/** forum account adding **/
		$sql = "INSERT INTO `phpbb_users` (`user_id`, `user_active`, `username`, `user_password`, `user_session_time`, ";
	   	$sql .= "`user_session_page`, `user_lastvisit`, `user_regdate`, `user_level`, `user_posts`, `user_timezone`, `user_style`, ";
		$sql .= "`user_lang`, `user_dateformat`, `user_new_privmsg`, `user_unread_privmsg`, `user_last_privmsg`, `user_emailtime`, ";
		$sql .= "`user_viewemail`, `user_attachsig`, `user_allowhtml`, `user_allowbbcode`, `user_allowsmile`, `user_allowavatar`, ";
		$sql .= "`user_allow_pm`, `user_allow_viewonline`, `user_notify`, `user_notify_pm`, `user_popup_pm`, `user_rank`, ";
		$sql .=	"`user_email`, `user_website`, `user_newpasswd`) ";
		$sql .= "VALUES ({$id}, 1, '{$aName}', '{$md5pass}', 0, 0, 0, ".time().", 0, 0, 0.00, 1, 'english', 'D M d, Y g:i a', 0, 0, 0, NULL, ";
		$sql .= "0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, '{$aEmail}', '{$aUrl}', NULL)";
		$this->mDb->query($sql);
user correct values instead of name, md5pass, email, etc
__________________
Best Regards,
Web Directory Script, Auto Classifieds Script , Affiliate Management Script, Article Directory Script

Recommended Hosting

IF YOU NEED TO CONTACT ME DO THIS IN HELPDESK. All PMs will be ignored

Last edited by Simon Gooffin; 03-14-2007 at 05:01 AM.
Simon Gooffin is offline   Reply With Quote
Old 03-22-2007   #3
orchie
Newbie
 
Join Date: Mar 2007
Posts: 17
orchie is on a distinguished road
Default

Hi Simon, I'm using PHPBB 2.0.22, I've tried your code above but I get the following error:

"Fatal error: Call to a member function on a non-object in /home/justsme/public_html/register.php on line 92"

Where line 92 is, $this->mDb->query($sql); have I just missed something out do you know?
orchie is offline   Reply With Quote
Old 03-23-2007   #4
Simon Gooffin
Administrator
 
Simon Gooffin's Avatar
 
Join Date: Sep 2005
Location: Intelliants LLC
Posts: 8,644
Simon Gooffin is a glorious beacon of lightSimon Gooffin is a glorious beacon of lightSimon Gooffin is a glorious beacon of lightSimon Gooffin is a glorious beacon of lightSimon Gooffin is a glorious beacon of lightSimon Gooffin is a glorious beacon of light
Default

ok try to change this line to:
$this->query($sql);

I advised for our free version
__________________
Best Regards,
Web Directory Script, Auto Classifieds Script , Affiliate Management Script, Article Directory Script

Recommended Hosting

IF YOU NEED TO CONTACT ME DO THIS IN HELPDESK. All PMs will be ignored
Simon Gooffin is offline   Reply With Quote
Old 01-06-2008   #5
Loren
 
Loren's Avatar
 
Join Date: Apr 2006
Location: UK
Posts: 1,095
Loren is an unknown quantity at this point
Default

Has anyone used this and got it to work? Apart from you Simon, just I want get my site a bit more synchronised with my directory...
__________________
Light and Peace
Spirit Mind Body UK ~ Holistic Directory

Loren is offline   Reply With Quote
Old 01-15-2008   #6
Loren
 
Loren's Avatar
 
Join Date: Apr 2006
Location: UK
Posts: 1,095
Loren is an unknown quantity at this point
Default

Bumpity bump...

Has no one done this?

I would really like some help to achieve this...Sergey or Simon can you please tell me if can use this coding with my version?
__________________
Light and Peace
Spirit Mind Body UK ~ Holistic Directory

Loren is offline   Reply With Quote
Old 03-12-2008   #7
Slava B.
Guest
 
Posts: n/a
Default

Hi there,
We have started to work on "The phpBB forum integration" feature, And I have some assertion and questions for you:
- we can change the eSyndicat registration thereby: when a visitor creates an account via eSyndiCat registration page, the same account is created in forum automatically
- we can't control the forum code upgrades (forum version upgrades), we would not like to modify forums code, that's why we offer to disable forums registration and use esyndicat registration only.
- but after registration the users can edit own accounts at the forum and in directory, separately.
- we can (I hope ) use one user session for directory and for forum, this implyies following: if users login to the forums they get logged in the directory area automatically.

I'm waiting for you questions and suggestions.
  Reply With Quote
Old 04-04-2008   #8
DomainEngineer
 
Join Date: Mar 2008
Posts: 28
DomainEngineer is on a distinguished road
Default

Quote:
Originally Posted by Slava B. View Post
Hi there,
We have started to work on "The phpBB forum integration" feature, And I have some assertion and questions for you:
- we can change the eSyndicat registration thereby: when a visitor creates an account via eSyndiCat registration page, the same account is created in forum automatically
- we can't control the forum code upgrades (forum version upgrades), we would not like to modify forums code, that's why we offer to disable forums registration and use esyndicat registration only.
- but after registration the users can edit own accounts at the forum and in directory, separately.
- we can (I hope ) use one user session for directory and for forum, this implyies following: if users login to the forums they get logged in the directory area automatically.

I'm waiting for you questions and suggestions.
This is a great feature. Any updates on this?
DomainEngineer is offline   Reply With Quote
Old 04-04-2008   #9
Loren
 
Loren's Avatar
 
Join Date: Apr 2006
Location: UK
Posts: 1,095
Loren is an unknown quantity at this point
Default

Domain Engineer

Sorry didn't see that you had answered me, are you asking us to choose from the list you put?

I certainly don't mind as long as it cuts down some user login.

However thinking on this, if someone wants to just be part of the forum, and not the directory, well I guess it would have to be a separate login.

If its not and is dependant on signing up to be an editor, then, and in my experience I am gonna have spammers back in my forum, not that they can do anything in my directory, but it's a bit different if they go in the forum....hmmmm <_<
__________________
Light and Peace
Spirit Mind Body UK ~ Holistic Directory

Loren is offline   Reply With Quote
Old 09-23-2008   #10
websmartpu
 
Join Date: Dec 2006
Posts: 5
websmartpu is on a distinguished road
Default

Where can I grab the "phpBB forum integration"?

Thank you
websmartpu is offline   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
Forum Jump


All times are GMT. The time now is 12:11 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us | SEO Resources