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:59:05 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 ... 4 5 [6] Go Down Print
Author Topic: CB Plugins for SMF (v2.1)  (Read 21008 times)
GlingGlo
Joomla Pro
**

Karma: +1/-1
Offline Offline

Posts: 99


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #75 on: December 23, 2006, 10:32:11 AM »

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

Nice!!!
 Grin
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 #76 on: December 24, 2006, 12:41:19 PM »

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

Here is what I came up with and will be in the next version

Code:
        if (strcasecmp($user_info['username'], $user->username) == 0 ||
            strstr($my->usertype, 'Administrator') !== false || $user_info['is_admin']) {
            SMFPosts_HTML::displayTopicNotifications();
            SMFPosts_HTML::displayBoardNotifications();
        }
Logged

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

Karma: +0/-1
Offline Offline

Posts: 27


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #77 on: January 03, 2007, 11:24:25 AM »

Maybe this helps i found a working link.

current link(non working):
http://xxx.com/index.php?index.php?option=com_smf&Itemid=99&action=profile2

working link:
http://xxx.com/forum/index.php?action=profile;u=20;sa=forumProfile

A fast fix is:
Creating a menu wrapper item eg. Profile with: http://xxx.com/forum/index.php?action=profile

I add this on the bottom of smf_profile.html.php
Code:
  <b><a class="cb_plug_smfprofile" href="<?php echo $jsmf->fixLink('index.php?option=com_wrapper&Itemid=99;u='.$user->smf_id.';sa=forumProfile');?>" title="<?php echo $txt['profileEdit'];?>" target="_blank"><?php echo $txt['profileEdit'];?></a></b>&nbsp;::&nbsp;
                         

For the record, I found smf_profile.html/php at the following location;

components/com_comprofiler/plugin/user/plug_smfprofile/

However, the above fix does not work for me. It produces the Joomla homepage under a 'wrapper' banner. Maybe this is because I have SMF wrapped in the first place??

Any thoughts on how to resolve the issue raised by Cornickle of the failure to save user settings acess through Cb 'modify profile' link?Huh

(HAVE INSTALLED SMF_PROFILE 2.1.1 TO NO AVAIL)

Peter
« Last Edit: January 03, 2007, 11:53:18 AM by peter mee » Logged


Did you find this post helpful? If you saved time or money, you might like to make a small contribution.
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: CB Plugins for SMF (v2.1)
« Reply #78 on: January 03, 2007, 12:13:15 PM »

For the record, I found smf_profile.html/php at the following location;

components/com_comprofiler/plugin/user/plug_smfprofile/

However, the above fix does not work for me. It produces the Joomla homepage under a 'wrapper' banner. Maybe this is because I have SMF wrapped in the first place??

Any thoughts on how to resolve the issue raised by Cornickle of the failure to save user settings acess through Cb 'modify profile' link?Huh

(HAVE INSTALLED SMF_PROFILE 2.1.1 TO NO AVAIL)

Peter
are you running JSMF 2.0 final?  I believe I fixed the inital problem cornickle mentioned in 2.0 final.
Logged

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

Karma: +0/-1
Offline Offline

Posts: 27


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #79 on: January 03, 2007, 02:18:52 PM »

are you running JSMF 2.0 final?  I believe I fixed the inital problem cornickle mentioned in 2.0 final.
I was not (was at RC01). I have now uninstalled all plugs/mods and JSMF itself, reinstalled everything from 2.0Final package and re-configured everything.

Now, when I hit 'Change Profile' in SMF, (having navigated there from 'Modify Profile' link in CB, I get a message similar to the following (excuse caps);

DOWNLOAD OF AVATAR FROM URL PROHIBITED::
HTTP://WWW.MYDOMAIN.COM/IMAGES/COMPROFILER/TN63_45322371572F2.JPG

FROM:/HOME/MYACCOUNT/PUBLIC_HTML/COMPONENTS/COM_SMF/SMF.CLASS.PHP || INTEGRATECHANGEMEMBERDATA || 1332

Thoughts appreciated.
Logged


Did you find this post helpful? If you saved time or money, you might like to make a small contribution.
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: CB Plugins for SMF (v2.1)
« Reply #80 on: January 03, 2007, 02:26:43 PM »

your server has allow_url_fopen disabled in your php.ini which limits the avatar synchronization severly.

edit:  but I see the problem.  Due to the way SMF handles avatars I either needed to copy the file to an smf directory, create it as an smf attachment, name it according to SMF attachments naming, and update the smf table....

...or simply provide a url to the image.  I obviously chose the later.  When I get some time I will set this up so that it does the former method if allow_url_fopen is disabled. 
« Last Edit: January 03, 2007, 02:33:55 PM by -Wolverine » Logged

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

Karma: +0/-1
Offline Offline

Posts: 27


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #81 on: January 03, 2007, 04:33:11 PM »

your server has allow_url_fopen disabled in your php.ini which limits the avatar synchronization severly.

edit:  but I see the problem.  Due to the way SMF handles avatars I either needed to copy the file to an smf directory, create it as an smf attachment, name it according to SMF attachments naming, and update the smf table....

...or simply provide a url to the image.  I obviously chose the later.  When I get some time I will set this up so that it does the former method if allow_url_fopen is disabled. 

Thanks for the usual rapid response. I don't have access to my php.ini but I'll try setting allow_url_fopen in .htaccess to see if that helps...
Logged


Did you find this post helpful? If you saved time or money, you might like to make a small contribution.
fabs
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 18


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #82 on: February 13, 2007, 12:36:37 PM »

Hi Wolverine! Have you made any changes in SMF 2.0.2 that would require new plugins? I have Joomla 1.0.11 and the 2.0.2 bridge with cb connection plugin and cb 1.0.2 installed.

I installed all 4 available cb profile plugins to check them out but only the smf profile and posts plugin create a tab. the info and signature plugin install but don't seem to do anything in the cb profile... no tabs no editing possibilities in cb profile-nothing...
any idea?

moreover:
it would be great to have a plugin to change the smf location, MSN,ICQ and website information through cb... or make a plugin to sync those fields if they already exist in cb profile. ask mr geefland from CBconnector!! he has the profiles more synced automatically on editing in one of the two systems- forum or cb.

---------------------
edit:
I have started a new thread for this feature request here:
http://www.joomlahacks.com/component/option,com_smf/Itemid,94/topic,3368.0
moreover I have requested geeffland from Cbconnector to join in as the CBconnector 2.0 alpha seems to have that ability.
A comparison of CBconnector 2.0 alpha and Joomlahacks SMF bridge can be found here:
http://cbconnector.com/forum/viewtopic.php?t=49
« Last Edit: February 13, 2007, 01:39:50 PM by fabs » 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 #83 on: February 14, 2007, 12:59:28 PM »

CB plugin for JSMF 2.0.3.  You should update to that version.  It prevents a user from actually being able to update their username.
Logged

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

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #84 on: February 14, 2007, 11:57:49 PM »

Can someone help with the following error upon deleting a user from the CB user manager:

Fatal error: Call to undefined function: cleardirectory() in /home/heartwis/public_html/components/com_comprofiler/plugin/user/plug_cbprofilegallery/cb.profilegallery.php on line 1574


I understand the call to clear the directory upon deleting a user, but why the error?

I am running:

Joomla         1.0.12
SMF            1.1.1
CB             1.0.2
JSMF Bridge    2.0.2
smf_cb_plugin  2.0.3
smf_profile    2.1

I have also discovered one other small problem that I know is simple. What directory does CB upload avatar images to? I am getting the error: Error occurred during the moving of the uploaded file.

I assume I just need to chmod the correct directory.
« Last Edit: February 14, 2007, 11:59:48 PM by Jason » 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 #85 on: February 18, 2007, 09:48:48 AM »

images/comprofiler/ is the directory.... I'd check with the author of the cb profile gallery component.  Or is that a core CB plugin?
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Alexander Van Parys Piergili
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #86 on: February 18, 2007, 04:03:39 PM »

Hello,

What should I use to show a tab on the CB Profile with each members forum posts? (I mean in each member profile show its posts).

Thanks!

Regards,

Alex!
Logged
peter mee
Joomla Newbie
*

Karma: +0/-1
Offline Offline

Posts: 27


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #87 on: February 18, 2007, 04:14:03 PM »

Hello,

What should I use to show a tab on the CB Profile with each members forum posts? (I mean in each member profile show its posts).

Thanks!

Regards,

Alex!

smf_posts cb plug in should do what you need.

Peter
Logged


Did you find this post helpful? If you saved time or money, you might like to make a small contribution.
tadej
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: CB Plugins for SMF (v2.1)
« Reply #88 on: July 11, 2008, 02:22:51 PM »

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.

This doesnt work form me, I get error when I upload smf_posts.php: Fatal error: getSMFPostsTab::require() [function.require]: Failed opening required 'cbsmf-sef.php' (include_path='/domains/next-level.si/public_html/administrator/components/com_smf/includes:.:/usr/local/lib/php')

Any idea? Where to get that file?

thx and bye
Logged
Pages: 1 ... 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