Home arrow Forum CB Plugins for SMF (v2.1)
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 05, 2008, 01:00:29 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  CB Plugins for SMF (v2.1)
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 3 ... 6 Go Down Print
Author Topic: CB Plugins for SMF (v2.1)  (Read 21011 times)
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
CB Plugins for SMF (v2.1)
« on: October 26, 2006, 11:16:16 PM »

I have reworked Brat's plugins and made some improvements to them.  Mainly I added an install process that publishes the plugins.  I also reworked the code such that the absolute minimum of db queries are used.  Please let me know any problems you might encounter

NOTE:The avatar sync may fail until you install JSMF 2.0RC2(which should be released this week).  I have not been able to confirm early reports of it failing but I suspect it was related to JSMF 2.0RC1.

All credit goes to Brat for taking the time to figure out these plugins.  These plugins are a major contribution, so thanks Brat!  Wink

edit: cb_plugin_smf_info_2_1_1.zip updated friday 10-27 930pEST
« Last Edit: December 29, 2006, 10:23:38 PM by -Wolverine » Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Peter
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 20


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #1 on: October 27, 2006, 09:21:50 AM »

Awesome Wolverine...Thank you Smiley  Is there anyway to just have the Signature box from SMF profile appear on the Profile Tab/CB Profile Config...I mentioned it to Brat previously...It would be good to prevent users from touching the SMF profile completely and just allow them to change sigs.

On the SMF_Info plugin I am geting an error (whenever someone clicks on a Username to view the profile, the following box pops up)

Attached is a screenshot of the box.

This prevents anyone from viewing profiles, as it fails to load the page after it.
« Last Edit: October 27, 2006, 09:26:16 AM by Peter » Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: CB Plugins for SMF (v2.1)
« Reply #2 on: October 27, 2006, 10:15:21 AM »

hmmmm, lemme look into that
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Mark
Joomla Newbie
*

Karma: +0/-4
Offline Offline

Posts: 13


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #3 on: October 27, 2006, 01:41:22 PM »

I just installed the SMF_Profile Plugin and am now getting the same error as Peter.  I tried uninstalling the CB Profile plugin but the error is still there and now no one can access their CB Profile.
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: CB Plugins for SMF (v2.1)
« Reply #4 on: October 27, 2006, 01:54:26 PM »

yep, my bad, here is the change, in file components/com_comprofiler/plugins/user/plug_smfinfo/smf_info.php change line 59 from this:
Code:
            if (empty($user_id)) {
to this
Code:
            if (empty($user->smf_id)) {

That should fix it.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Mark
Joomla Newbie
*

Karma: +0/-4
Offline Offline

Posts: 13


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #5 on: October 27, 2006, 02:47:00 PM »

Nope, didn't fix it.  Made the change you suggested and still getting a blank screen when going to a users profile.
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: CB Plugins for SMF (v2.1)
« Reply #6 on: October 27, 2006, 02:49:54 PM »

you reported getting the same error as peter.  Does that fix that problem?  If so, please state so.  If you are having further problems then please be clear about it. 
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Mark
Joomla Newbie
*

Karma: +0/-4
Offline Offline

Posts: 13


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #7 on: October 27, 2006, 03:01:04 PM »

yep, my bad, here is the change, in file components/com_comprofiler/plugins/user/plug_smfinfo/smf_info.php change line 59 from this:
Code:
            if (empty($user_id)) {
to this
Code:
            if (empty($user->smf_id)) {

That should fix it.

I was getting the same error as peter when clicking on a users profile, after applying the above mentioned code all I get now is a blank screen, no error, but a blank white screen.
Logged
Mark
Joomla Newbie
*

Karma: +0/-4
Offline Offline

Posts: 13


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #8 on: October 27, 2006, 03:27:16 PM »

Now I can't even log into the backend of my Joomla website.  Everytime I enter the admin username and password it just loops back around to the login screen again.  This really sucks!
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: CB Plugins for SMF (v2.1)
« Reply #9 on: October 27, 2006, 05:19:29 PM »

well I seriously doubt that that is due to the plugin.  Have you tried clearing your cookies and cache?
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Mark
Joomla Newbie
*

Karma: +0/-4
Offline Offline

Posts: 13


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #10 on: October 27, 2006, 07:23:21 PM »

Yes, I have deleted the cookies and cleared the cache, I've also tried both IE and Firefox browsers.  I'm not suggesting that it was caused by the Joomla-SMF bridge, it's just very strange because it started happening at the same time and I hadn't even logged into the backend to do anything.  Still cannot get it to work.  If this continues I'm going to scrap the whole site and re-installing everything.  What a pain in the butt!
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: CB Plugins for SMF (v2.1)
« Reply #11 on: October 27, 2006, 09:13:30 PM »

well, you aren't being very descriptive, I thought you *only* installed the cb plugins.  Are you telling me you installed the whole bridge when this happened or what?
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
christiaan
Joomla Newbie
*

Karma: +0/-2
Offline Offline

Posts: 25


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #12 on: October 28, 2006, 02:10:48 AM »

Awesome Wolverine...Thank you Smiley  Is there anyway to just have the Signature box from SMF profile appear on the Profile Tab/CB Profile Config...I mentioned it to Brat previously...It would be good to prevent users from touching the SMF profile completely and just allow them to change sigs.

On the SMF_Info plugin I am geting an error (whenever someone clicks on a Username to view the profile, the following box pops up)

Attached is a screenshot of the box.

This prevents anyone from viewing profiles, as it fails to load the page after it.

I got the same error! I will try the fix from wolverine

Edit
Everything is working fine now! See on my profile:
http://www.berggeit.nl/index.php?option=com_comprofiler&task=userProfile&user=62

How can I change the tab forum posts? The numbers on the left are not nice #1,#2 etc, see the tab Forum Berichten (dutch) on my profile

I am realy glad with these plugins!!!
Thanks!

Regards Christiaan
« Last Edit: October 28, 2006, 02:23:48 AM by christiaan » Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: CB Plugins for SMF (v2.1)
« Reply #13 on: October 28, 2006, 10:26:37 AM »

got any suggestions for the numbering.  I just kept what Brat had there but it can be whatever.  I can probably make it configurable if we have multiple suggestions.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Brat
Developer
Joomla Pro
*****

Karma: +11/-0
Offline Offline

Posts: 52


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #14 on: October 29, 2006, 01:26:00 AM »

got any suggestions for the numbering.  I just kept what Brat had there but it can be whatever.  I can probably make it configurable if we have multiple suggestions.

The numbering is really just a crude, down and dirty ordered list I threw in the SMF Posts plugin. Unfortunately, this is hard-coded in, and not elegant. I may be able to add some CSS options to it so you can set this in your Joomla template's CSS file. Let me know.

Ugh... the signature thing! I'd let that slip due to a crazy work week. If the plugins are stable enough at this point (let me know, Wolverine), I can go in and play with a signature plugin. Regarding not touching the user profile... that's kinda hard to do, when you want people to be able to alter signatures and so forth. Please explain exactly what you mean by not wanting members to access the forum profile at all.

Regards,
Brat.
Logged
Pages: [1] 2 3 ... 6 Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login