Advertisement:

Author Topic: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass  (Read 31520 times)

atomjani

  • Newbie
  • *
  • Posts: 19
Re: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass
« Reply #15 on: January 18, 2013, 12:25:24 pm »
You will have to edit the theme files to do that... you can just use standard HTML and CSS.
Could you please make a plugin for PHPBB bridge?
And for Mybb? ;D

Jesse

  • Hero Member
  • *****
  • Posts: 631
  • Out of my mind, back in 5 minutes
Re: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass
« Reply #16 on: January 18, 2013, 12:52:06 pm »
Not having heard of Mybb, I can't see there would be much demand for such a plugin, so I wont plan on it.  :-\

atomjani

  • Newbie
  • *
  • Posts: 19
Re: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass
« Reply #17 on: January 18, 2013, 04:55:51 pm »
Not having heard of Mybb, I can't see there would be much demand for such a plugin, so I wont plan on it.  :-\
I understanded. Similar as SMF and SMF. There is plugin system, but we must copy plugin modification to plugin dictionary.
The development site: http://www.mybb.com
Work here: http://community.mybb.com/
Demo with user and admin: http://www.opensourcecms.com/scripts/details.php?scriptid=118

Marcelo Mika

  • Newbie
  • *
  • Posts: 17
Re: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass
« Reply #18 on: January 25, 2013, 09:48:44 am »
This is an early release. That means some features wont automatically work until the next version of OSClass is released. Details below...


Plugin Name: SMF Bridge

Description: This bridge will allow your OSClass users to be automatically logged into an SMF forum residing on the same domain.


To use:

Step 1: Install an SMF forum.

Step 2: This step is only needed for Osclass versions 3.0.2 and earlier. You must manually add a line of code to your root file login.php. Simply change this line (around line 110):

From this:
Code: [Select]
$this->redirectTo( $url_redirect ) ;
To this:
Code: [Select]
osc_run_hook("after_login");
$this->redirectTo( $url_redirect ) ;

Step 3: Install the SMF Bridge plugin.
Step 4: Configure the plugin (through the SMF Bridge page listed in the Plugin menu).

That's it!


Use:
Now whenever you log into OSClass, you'll also be logged into your SMF forum. The same goes for all your users. This plugin is NOT intended to integrate with existing SMF forum users.
  • OSClass users can change their forum display name by going into their OSC Dashboard >> Forum settings.

Hopefully Step 2 will be unneeded in the future assuming this hook gets added to the core of OSC.


Hi Jesse, thanks for your work

follow the steps

Is installed on a hosting for practices

1. smf installed in / my domain / smf01
2. Osclass installed in / my domain / Osclass

3. edit the file in the osclass login.php [/ b]
4. Install the plugin

After.

It created two user accounts
Activated with the activation mail.
When you log in osclass says "no account with that username"

Home in as administrator and the user exists
Change the password manually
Try again and do not log
password recovery via email and does not work.

Any idea or solution?

1000 thanks.

Jesse

  • Hero Member
  • *****
  • Posts: 631
  • Out of my mind, back in 5 minutes
Re: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass
« Reply #19 on: January 25, 2013, 11:42:33 am »
Hi,

Just a quick reply here (I'm about to leave for 11 days on vacation)...

The plugin does not interfere at all with Osclass user registration, so you should not be experiencing any issues from this plugin with regards to users registering/logging-in to Osclass.

However, the user will NOT be able to login directly to SMF. The only way a user can be logged into SMF is by logging into Osclass. That is because the users password only works with Osclass, not SMF. There currently is not a way to allow direct login to SMF for users created by this plugin.

I'm not sure if that helps at all, but I really can't dig any further right now... not until I return.

toamitc

  • Newbie
  • *
  • Posts: 19
Re: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass
« Reply #20 on: March 03, 2013, 01:48:57 am »
I installed bridge but getting error when user login to osclass as "Unable to add user to database" i am on latest osclass release, please help..

anaya2007

  • Jr. Member
  • **
  • Posts: 91
Re: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass
« Reply #21 on: March 04, 2013, 11:46:44 pm »
@Jesse

we wait you

admymotor

  • Newbie
  • *
  • Posts: 29
  • www.admymotor.co.uk
Re: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass
« Reply #22 on: March 05, 2013, 10:23:26 pm »
Hello jesse
First of all belated Merry Xmas and advance happy new year

I try your plugin and I install it how to config it

in step2 I already change in root login.php


When I used testing user in my site I see in user dashboard forum setting but when I click it make an error message

Warning: require_once(/home/mydomain/public_html/smf/Settings.php) [function.require-once]: failed to open stream: No such file or directory in /home/mydomain/public_html/oc-content/plugins/smf_bridge/user_menu.php on line 8

Fatal error: require_once() [function.require]: Failed opening required '/home/mydomain/public_html/smf/Settings.php' (include_path='/home/mydomain/public_html/oc-includes/htmlpurifier:.:/usr/lib/php:/usr/local/lib/php') in /home/mydomain/public_html/oc-content/plugins/smf_bridge/user_menu.php on line 8


Im also getting the same errors, but for line 19, followed all the instructions aswell. Any ideas?

rels

  • Newbie
  • *
  • Posts: 28
Re: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass
« Reply #23 on: March 07, 2013, 12:48:25 pm »
would there be a similar plugin for mybb forum? could do with one of them before autumn

admymotor

  • Newbie
  • *
  • Posts: 29
  • www.admymotor.co.uk
Re: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass
« Reply #24 on: March 08, 2013, 01:23:02 am »
Warning: require_once(/home/admymoto/public_html/oc-content/plugins/smf_bridge/Settings.php) [Function.Require-Once]: failed to open stream: No such file or directory in /home/admymoto/public_html/oc-content/plugins/smf_bridge/user_menu.php on line 8

Fatal error: require_once() [Function.Require]: Failed opening required '/home/admymoto/public_html/oc-content/plugins/smf_bridge/Settings.php' (include_path='/home/admymoto/public_html/oc-includes/htmlpurifier:.:/usr/local/php52/pear') in /home/admymoto/public_html/oc-content/plugins/smf_bridge/user_menu.php on line 8





These are the errors im getting when a user tries to log onto my site, any ideas?

toamitc

  • Newbie
  • *
  • Posts: 19
Re: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass
« Reply #25 on: March 09, 2013, 01:04:06 am »
Did some one find solution for this on osclass 3.1?

toamitc

  • Newbie
  • *
  • Posts: 19
Re: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass
« Reply #26 on: March 10, 2013, 07:17:03 am »
Still have issues with SMF bridge, Is any one able to use it?

Burelom

  • Newbie
  • *
  • Posts: 1
Re: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass
« Reply #27 on: March 13, 2013, 08:01:49 am »
Need the opportunity to register via the CMF forum.  It is very necessary!

admymotor

  • Newbie
  • *
  • Posts: 29
  • www.admymotor.co.uk
Re: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass
« Reply #28 on: March 20, 2013, 12:29:57 am »
has this been fixed for 3.1?

okeypinoy

  • Full Member
  • ***
  • Posts: 124
  • Okeypinoy-Your free ADS PROVIDER
Re: [NEW PLUGIN] SMF Bridge - Add a forum to OSClass
« Reply #29 on: March 20, 2013, 02:14:27 pm »
 :) @admymotor

Check my old post it will help your problem ..it was my problem before

you must point your url smf forum in setting

You have to tell the plugin where your SMF directory is.

To do that, login to /oc-admin/, click "Plugins", then "SMF Bridge". There is only one setting there, which is simply the path to your SMF installation.