Home arrow Forum CB Plugins for SMF (v2.1)
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 05, 2008, 12:35:22 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 ... 3 4 [5] 6 Go Down Print
Author Topic: CB Plugins for SMF (v2.1)  (Read 20958 times)
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: CB Plugins for SMF (v2.1)
« Reply #60 on: December 06, 2006, 08:57:22 PM »

CB is sending the alias as the username and we cannot get the SMF user id if we don't have the real username.  I would avoid using aliases.
Logged

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

Karma: +1/-1
Offline Offline

Posts: 99


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #61 on: December 07, 2006, 12:57:51 AM »

unfortunately for me :-(

The alias is something i need. I have several users/investigators that form a group/institution. Each of them will publish articles in the frontpage, but the institution name has to be shown instead of each of their user names :-(

iŽll see how i manage.

Thanks,
Nico(
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 #62 on: December 07, 2006, 10:53:57 AM »

Thats the difficult thing with two systems and two separate ids.  The only unifying field is the username. 
Logged

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

Karma: +1/-1
Offline Offline

Posts: 99


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #63 on: December 07, 2006, 05:23:41 PM »

however, the link of the Alias still has the joomla user id in it. I mean, the URL that it points to is the same as if an Alias is not used and the username is is shown instead.

i donŽt understand then what happens to the smf_info plugin that it gets confused. The Alias is only set in the Joomla jos_content for that specific content item, not for the user, so it shouldnŽt affect the plugin.

excuse me for insisting, but i want to understand it, i am a bit confused.
Thanks,
NiCo

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 #64 on: December 07, 2006, 06:57:56 PM »

read again what I said.  SMF db knows nothing about a joomla user id.  Joomla knows nothing about the SMF user id.  They are not the same.  The only thing that is the same is the username.  And in this case, CB is sending the alias as the username.  That is why the smf profile plugin cannot find the smf information because there is no such username.
Logged

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

Karma: +1/-1
Offline Offline

Posts: 99


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #65 on: December 09, 2006, 08:02:12 PM »

Good news  Grin

i just finished updating to CB 1.0.2 and i also updated to latest version of cb_authorbot (1.02) and the magic happens. Now clicking on the Alias link in the "Written by...." below the content title, shows the correct profile  Smiley

Cheers,
NiCo
Logged
p9939068
Joomla Expert
****

Karma: +18/-5
Offline Offline

Posts: 173


View Profile WWW
Re: CB Plugins for SMF (v2.1)
« Reply #66 on: December 09, 2006, 10:30:07 PM »

Good news  Grin

i just finished updating to CB 1.0.2 and i also updated to latest version of cb_authorbot (1.02) and the magic happens. Now clicking on the Alias link in the "Written by...." below the content title, shows the correct profile  Smiley

Cheers,
NiCo
Just a heads-up since you're using the CB authorbot. There's a hack on the authorbot over at joomlapolis that adds the author's avatar thumbnail beside the author's name on the content. Cool feature, thought you'd like that Smiley

Rgds, Mike
Logged

-----
Owner of http://mike.simbunch.com
Creator of ParaInvite, AJAX Sandbox, AJAX SMF Polls, Profile URL etc..
GlingGlo
Joomla Pro
**

Karma: +1/-1
Offline Offline

Posts: 99


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #67 on: December 09, 2006, 10:34:54 PM »

i am planning on starting my site online without the avatars for users, and once the community grows a little bit i will enable that option. When i do that, iŽll definetely be interested in that cb_authorbot hack you mentioned.

thanks for pointing that out ;-)
NiCo
Logged
GlingGlo
Joomla Pro
**

Karma: +1/-1
Offline Offline

Posts: 99


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #68 on: December 10, 2006, 03:21:45 PM »

I will take a look at what he did and most like roll it into the core plugin if he has no objections.

i see that in the smf_posts plugin still any user can see what topics and forums are other users subscribed to. No update on this?  Huh

Cheers,
NiCo
Logged
MetalHellsAngel
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #69 on: December 18, 2006, 11:25:16 PM »

Anyone ever get a fix on this

Quote
The page you are trying to access does not exist

I have the same issue
« Last Edit: December 18, 2006, 11:28:41 PM by MetalHellsAngel » Logged
MetalHellsAngel
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #70 on: December 19, 2006, 12:19:44 AM »

Nevermind I fixed it by uninstalling and reinstalling it
Logged
GlingGlo
Joomla Pro
**

Karma: +1/-1
Offline Offline

Posts: 99


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #71 on: December 22, 2006, 10:39:47 AM »

Replace your comprofiler/plugin/user/plug_smfposts/smf_posts.php with this uploaded file.

Note: only super admin and owner can see subscribed topics/boards.

i have tried the modification in the latest version of the plugin but there is a lot of modified code now...it looks a lot different(i guess improved by Wolverine)

i guessed the piece of code where i could try the same thing and modified it manually:

Code:
if ($my->id == $user->id || $my->usertype == "Super Administrator") {
        SMFPosts_HTML::displayTopicNotifications();
        SMFPosts_HTML::displayBoardNotifications();
        }

But it just hides the notifications for everybody. What am i missing?

Thanks anybody for any advice,
NiCo
Logged
chrissie85
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #72 on: December 22, 2006, 06:41:23 PM »

Nevermind I fixed it by uninstalling and reinstalling it

Hello I was wondering if there is an fix for the double index.php?
Logged
p9939068
Joomla Expert
****

Karma: +18/-5
Offline Offline

Posts: 173


View Profile WWW
Re: CB Plugins for SMF (v2.1)
« Reply #73 on: December 23, 2006, 12:23:33 AM »

i have tried the modification in the latest version of the plugin but there is a lot of modified code now...it looks a lot different(i guess improved by Wolverine)

i guessed the piece of code where i could try the same thing and modified it manually:

Code:
if ($my->id == $user->id || $my->usertype == "Super Administrator") {
        SMFPosts_HTML::displayTopicNotifications();
        SMFPosts_HTML::displayBoardNotifications();
        }

But it just hides the notifications for everybody. What am i missing?

Thanks anybody for any advice,
NiCo

You did not call $my as a global variable. add $my in the global line above.
Code:
global $my;
Logged

-----
Owner of http://mike.simbunch.com
Creator of ParaInvite, AJAX Sandbox, AJAX SMF Polls, Profile URL etc..
ivytony
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 21


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #74 on: December 23, 2006, 12:48:12 AM »

If I have installed the plugins in the package of JSMF 2.0 RC3, do I still need to 'upgrade' to the plugins attached to the first post in this thread??

I know this kind of sounds st$p$d, but I saw the version (2.1) of the plugins in the first post looks higher than those in the JSMF 2.0 RC3 package. In addition, JSMF 2.0 rc3 was released later than the first post. right???

thanks
« Last Edit: December 23, 2006, 12:49:47 AM by ivytony » Logged
Pages: 1 ... 3 4 [5] 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