News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

SMF Wrapper for custom website

Started by moazam, September 28, 2007, 11:38:30 AM

Previous topic - Next topic

moazam

Hello all,
     
         I am running SMF 1.1.3 and I have a custom CMS for an entertainment website, I  have about 70000+ users.. just wondering if I can make wrapper for SMF so instead of using SMF user table it should use my users table..

I have following fields in users table

userid,
roleid (foreign key)
user_name
pswd
email
country
gender
date of birth (Y-m-d)
registration date (datetime)
active

SMF is using different db.

If any one have developed similar kind of thing please share it with me.

Also I did lots of customization in SMF 1.1.3 and changed theme too.. what if I install new upgrade will this affect on my current theme and mods too?

Thanks,
Moazam

Kindred

Look at the tutorials linked from the integrations, portals and bridges board....

SMF will not use your existing user records, but there is a way to link SMF and your system and duplicate information between the two databases. (see the mambo, XOOPS and E107 bridges for examples of this)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

moazam

so does this mean.. whenever user updates record on my website it will should also update on SMF too? If yes then what about SMF updates.. i.e password changes, profile etc?

Kindred

this really depends on how you do the integration.  If you include "integrate" code into your custom CMS functions for updating the user record, then yes... the first bit would work.

Updating YOUR records on a SMF change is slightly more complicated, but still do-able.

Please look at the mambo bridge for examples of doing that. Please look at the "integrate" function list/tutorial for more specific information.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

moazam


moazam

What would you like to say about SMF update?

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

moazam

Quote from: Kindred on September 28, 2007, 05:01:42 PM
???

smf update?

I did lots of customization in SMF 1.1.3 and changed theme too.. what if I install new upgrade will this affect on my current theme and mods too?

Kindred

it won't affect the theme...    it may affect the mods.   I suggest you use the package manager update rather than the manual upload update.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

moazam

Quote from: Kindred on September 28, 2007, 05:08:43 PM
it won't affect the theme...    it may affect the mods.   I suggest you use the package manager update rather than the manual upload update.

OK, Thanks

Advertisement: