Author Topic: Joomla-4images single login (solved kinda)  (Read 3571 times)

0 Members and 2 Guests are viewing this topic.

Offline MadSci

  • Full Member
  • ***
  • Posts: 102
    • View Profile
Joomla-4images single login (solved kinda)
« on: March 28, 2008, 10:06:32 PM »
Ok the pro and con first:

1. pro - single login
2. con - the users still have to register 2 times: once for joomla and then for 4images with the same username and password.

how to do:

1) install Joomla
2) install this component : http://joomlacode.org/gf/project/wrapper_login/ (  you need wrapper loiggin 1.5)
3) in Joomla goto Components -> WLXT --> create user_categories (like 4img)
4) Components --> WLXT --> Site Categories (something like 4img)
5) Components --> WLXT --> Sites --> fill in the blanks
for URL: use http:www.your_domain_name.com/4images_directory/login.php
for Username: put this: user_name
for Password: put this: user_password
the last 2 are the names of the 4images login form fields so paste them as they are;
6) goto Menus --> main menu --> new and click on the Wrapper_login component
on the right side fill in the blanks the user groups and the site...

remember to make all the links for registered users only so on the main page the link will show after you log to Joomla. Clicking on the link will automatically submit your joomla username and password to 4Images database and the front page will be shown as wrapper. The templates can be edited to fit the Joomla outlook.

Now about the registration problem the same wrapper may be used to submit your Joomla username and password to the 4images registration page which could solve the issue with the dual registration with different user names.

well at least its a start. :mrgreen:

ms


Offline MadSci

  • Full Member
  • ***
  • Posts: 102
    • View Profile
Re: Joomla-4images single login (solved kinda)
« Reply #1 on: March 31, 2008, 03:46:24 PM »
Ok I see the interest is low so let me make it interesting:

to the PHP gurus:

can we make a PHP based registration wizard which can take the username password email etc.. and insert this data into both databases ?
Like:

1. Show terms and conditions
2. Get the user data for Joomla and 4images
3. Click next
4. Insert the data into 4images
5. show OK msg. click nex
6 Insert data into Joomla ( same username same password same email etc..etc..)
7. Show Ok msg

then we use the above wrapper to combine both applications.

so any takers ?

ms