System for embedding Phorum in other applications (early preview)
Posted by Maurice Makaay
Re: System for embedding Phorum in other applications (early preview) February 24, 2006 08:30PM |
Registered: 21 years ago Posts: 793 |
> I think that my system is better when you want all Phorum features to work.
what phorum features do not work with my system?
every feature i have tested so far works with the exception of the PM system in 5.0.
these issues with 5.0 have been corrected however and it seems to work fine with 5.1
Edited 1 time(s). Last edit at 02/24/2006 09:21PM by rheo.
what phorum features do not work with my system?
every feature i have tested so far works with the exception of the PM system in 5.0.
these issues with 5.0 have been corrected however and it seems to work fine with 5.1
Edited 1 time(s). Last edit at 02/24/2006 09:21PM by rheo.
Re: System for embedding Phorum in other applications (early preview) February 25, 2006 12:22AM |
Registered: 18 years ago Posts: 36 |
I think it's better if I came in the middle of this dicussion ;)
I can see the point where rheo is really heading, and I can also see it from Maurice perspective.
Both of you guys have your own ego, while rheo wanting some help to be implemented with his own way, Maurice doesn't want to help out because of he got his own believe about the right way to do integration and maybe kinda lazy ;) (I know as a programmer, I will state that my code can do anything, and try not to have some more extra work to code again)
Anyway, will you guys cut it out!?
I think what rheo can do, you can use the embed phorum, and put a hook on your own master application. What this hook will do, it will sync the data whenever your master application do the changes in your buddy db, and this will automatically sync with phorum. With this, you can get what you're looking for rheo. Basically this is what Maurice did for his embed_phorum, syncing user data, while prohibiting phorum to change it, but the master application will use the provided API created by maurice to easily sync the data when there is a changes in the master application data.
I can see your point about having a seamless inetgration rheo, but it will be hard to maintain. Most of the time, hook only allow you to modify the current data before it's being processed to the next level, so you won't be able to achieve it when the hook is before db access, because there is no way you want core changes just to make db access to be disabled, if you already provide the data. It will be nicer to have a hook after db access, to overide the whole data with your own. Whicever it is, it's all depend on your own needs.
None of you both have the best solution, because when we talk about integration, we need to know that both application is almost equal, and one way or another, one application need to invade the other application to have the integration. In Maurice case, he would prefer to have master application to invade phorum, while what you want is you want phorum to invade your master application.
So anyway, pardon me for interrupting. Let say this is just a commercial that accidentally interrupt in the middle of this long discussion ;)
I can see the point where rheo is really heading, and I can also see it from Maurice perspective.
Both of you guys have your own ego, while rheo wanting some help to be implemented with his own way, Maurice doesn't want to help out because of he got his own believe about the right way to do integration and maybe kinda lazy ;) (I know as a programmer, I will state that my code can do anything, and try not to have some more extra work to code again)
Anyway, will you guys cut it out!?
I think what rheo can do, you can use the embed phorum, and put a hook on your own master application. What this hook will do, it will sync the data whenever your master application do the changes in your buddy db, and this will automatically sync with phorum. With this, you can get what you're looking for rheo. Basically this is what Maurice did for his embed_phorum, syncing user data, while prohibiting phorum to change it, but the master application will use the provided API created by maurice to easily sync the data when there is a changes in the master application data.
I can see your point about having a seamless inetgration rheo, but it will be hard to maintain. Most of the time, hook only allow you to modify the current data before it's being processed to the next level, so you won't be able to achieve it when the hook is before db access, because there is no way you want core changes just to make db access to be disabled, if you already provide the data. It will be nicer to have a hook after db access, to overide the whole data with your own. Whicever it is, it's all depend on your own needs.
None of you both have the best solution, because when we talk about integration, we need to know that both application is almost equal, and one way or another, one application need to invade the other application to have the integration. In Maurice case, he would prefer to have master application to invade phorum, while what you want is you want phorum to invade your master application.
So anyway, pardon me for interrupting. Let say this is just a commercial that accidentally interrupt in the middle of this long discussion ;)
Re: System for embedding Phorum in other applications (early preview) February 25, 2006 03:40AM |
Registered: 21 years ago Posts: 793 |
Re: System for embedding Phorum in other applications (early preview) March 15, 2006 02:28PM |
Registered: 18 years ago Posts: 6 |
Hi, I am trying to embed Phorum in Mambo and i am getting an error:
Warning: PhorumConnector::get_user_id(./include/cache.php) [function.get-user-id]: failed to open stream: No such file or directory in ..\forum\mods\embed_phorum\connectors\mambo\connector.php on line 129
There is no include/cache.php in my phorum installation (version 5.0.21)...
After commenting of this include statement i am getting another errors, unexpected output and strange behavior of phorum.
Do you have some ideas why cache.php is missing?
Warning: PhorumConnector::get_user_id(./include/cache.php) [function.get-user-id]: failed to open stream: No such file or directory in ..\forum\mods\embed_phorum\connectors\mambo\connector.php on line 129
There is no include/cache.php in my phorum installation (version 5.0.21)...
After commenting of this include statement i am getting another errors, unexpected output and strange behavior of phorum.
Do you have some ideas why cache.php is missing?
Re: System for embedding Phorum in other applications (early preview) March 15, 2006 02:30PM |
Admin Registered: 21 years ago Posts: 9,240 |
Re: System for embedding Phorum in other applications (early preview) March 15, 2006 02:34PM |
Registered: 18 years ago Posts: 6 |
Re: System for embedding Phorum in other applications (early preview) March 17, 2006 11:36AM |
Registered: 19 years ago Posts: 46 |
Re: System for embedding Phorum in other applications (early preview) March 18, 2006 03:26AM |
Registered: 21 years ago Posts: 868 |
Maurice,
Ik heel mooi vinden (Ali Osram)
But anyways, whats the difference between this and the Phorum plugin I use e.g. for Amember? My registrants now use the Amember system to register & login, I just adapted them templates to make sure they dont register and change their pwords through Phorum and thats it. The rest is just template.
Being lazy here, 15 pages is too much for me this early.
Otherwise, if I didnt use Amember I would be using this.
Groetjes,
Sergej
------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
Ik heel mooi vinden (Ali Osram)
But anyways, whats the difference between this and the Phorum plugin I use e.g. for Amember? My registrants now use the Amember system to register & login, I just adapted them templates to make sure they dont register and change their pwords through Phorum and thats it. The rest is just template.
Being lazy here, 15 pages is too much for me this early.
Otherwise, if I didnt use Amember I would be using this.
Groetjes,
Sergej
------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
Re: System for embedding Phorum in other applications (early preview) March 26, 2006 02:26AM |
Registered: 19 years ago Posts: 46 |
Re: System for embedding Phorum in other applications (early preview) April 22, 2006 02:14PM |
Registered: 18 years ago Posts: 202 |
Maurice,
Now that I got your embed mods and embed template working nicely for my site.
I am wanting to know more about your project especially your embed template system.
What is the different between your embed template with the none embed template?
How would I convert a none embed template into embed template or vice versa?
Thanks
[opensourceCMS.com]
[ongetc.com]
Chanh Ong
Now that I got your embed mods and embed template working nicely for my site.
I am wanting to know more about your project especially your embed template system.
What is the different between your embed template with the none embed template?
How would I convert a none embed template into embed template or vice versa?
Thanks
[opensourceCMS.com]
[ongetc.com]
Chanh Ong
Sorry, only registered users may post in this forum.