Home arrow Forum Change SMF's user information through CB interface
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 05:10:16 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)
| | | |-+  Change SMF's user information through CB interface
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] Go Down Print
Author Topic: Change SMF's user information through CB interface  (Read 7094 times)
Peter
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 20


View Profile
Re: Change SMF's user information through CB interface
« Reply #15 on: February 16, 2007, 07:15:00 AM »

Sorry,

I find these instructions too cryptic.

p9939068 & Denney...Your alterations - The examples you put to locate in CB file, they are different in my own.

Does this work with the latest version of JSMF?  I'd appreciate if it does, if you could attach the modified file so I can compate.

Thanks for the instructions though...I'd love to get this working.

P.
Logged
herbsie
Joomla Newbie
*

Karma: +0/-2
Offline Offline

Posts: 19


View Profile
Re: Change SMF's user information through CB interface
« Reply #16 on: February 20, 2007, 04:29:24 AM »

Excuse me for being a bit dumb, but should the signature be a text field?  When I do this it only displays the url and not the sig?

thanks
Logged
herbsie
Joomla Newbie
*

Karma: +0/-2
Offline Offline

Posts: 19


View Profile
Re: Change SMF's user information through CB interface
« Reply #17 on: February 20, 2007, 02:21:35 PM »

Ok seem to of fixed that.

The Forum Profile tab is not listed in drop down menu when creating a new field, only contact info,additional info and online status.

Any ideas guys?

thanks


EDIT: Found the problem,  needed to change a line in smf_profile.xml (before installing),

from this:
Code:
<tab name="Forum Profile" description="" class="getSMFProfileTab" fields="1" position="cb_tabmain" displaytype="tab">

to this:
Code:
<tab name="Forum Profile" description="" class="getSMFProfileTab" fields="0" position="cb_tabmain" displaytype="tab">

So the Forum Profile tab is shown when creating a new cb field.
« Last Edit: February 24, 2007, 04:07:57 AM by herbsie » Logged
Ryan
Joomla Newbie
*

Karma: +2/-0
Offline Offline

Posts: 21


View Profile WWW
Re: Change SMF's user information through CB interface
« Reply #18 on: April 12, 2007, 03:15:50 PM »

Just kinda of trying to help lol but line 332 is where you want to put this correct? and why not accauly make the file and distrubute to make a bit eaiser i think i will do it once i get it working
Logged

CB= 1.0.2
CB_SMF_plug= 2.0.3
SMF= 1.1.2
Joomla= newest one
Ryan
Joomla Newbie
*

Karma: +2/-0
Offline Offline

Posts: 21


View Profile WWW
Re: Change SMF's user information through CB interface
« Reply #19 on: April 19, 2007, 08:32:25 PM »

Ok i NEED to know will this work with 1.0.2 CB? becasue that is what im using and honestly ive put alot of work in to the site and i really dont want to have to do the people's sig input for them that would just SUX

CB= 1.0.2
CB_SMF_plug= 2.0.3
SMF= 1.1.2
Joomla= newest one
Website: WWW.LOSCLAN.COM
AIM: IG88L0S
MSN: Ryan_Griffeth@Charter.net
Yahoo: IG88L0S
« Last Edit: April 19, 2007, 08:51:44 PM by Ryan » Logged

CB= 1.0.2
CB_SMF_plug= 2.0.3
SMF= 1.1.2
Joomla= newest one
asteroidjay
Joomla Newbie
*

Karma: +3/-1
Offline Offline

Posts: 47


View Profile
Re: Change SMF's user information through CB interface
« Reply #20 on: April 20, 2007, 09:06:18 AM »

Here's the modified smf_cb.php that works for me. (2.0.2)

To get the forum tab to show up in your Field drop down menu, go into your MySQL database and go to jos_comprofiler_tabs and find "Forum Profile" and change the "fields" table from 0 to 1.
« Last Edit: April 20, 2007, 09:07:55 AM by asteroidjay » Logged

Joomla! 1.0.11
SMF 1.1 RC3
Database Version:  5.0.18-standard-log 
PHP Version:  4.4.2 
Web Server:  Apache/1.3.33 (Unix)
RJ
Joomla Newbie
*

Karma: +1/-2
Offline Offline

Posts: 34


View Profile WWW
Re: Change SMF's user information through CB interface
« Reply #21 on: April 20, 2007, 03:34:18 PM »

I may have missed this bit.... however- does anyone know what/where Brat's plugin is that Mike is speaking of in his beginning post?
Logged

RJ
Atlanta, GA
Ryan
Joomla Newbie
*

Karma: +2/-0
Offline Offline

Posts: 21


View Profile WWW
Re: Change SMF's user information through CB interface
« Reply #22 on: April 20, 2007, 06:26:51 PM »

Alright much thanks im getting stoked im in to the socom community and we are the first to use joomla i think this will put us above the rest as having a well orginized user interface to bad that you know the people on your site most will never understand the flustrations of making one
Logged

CB= 1.0.2
CB_SMF_plug= 2.0.3
SMF= 1.1.2
Joomla= newest one
Berkant Akarcan
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: Change SMF's user information through CB interface
« Reply #23 on: September 29, 2007, 06:11:39 PM »

Thanks for the hack, but I've got a problem with it.

I add the code to my smf_cb.php file as described (everything's correct). But when a member tries to update his profile, this error message appears:

Code:
Fatal error: Call to a member function on a non-object in /public_html/components/com_comprofiler/plugin/user/plug_smfcbplugin/smf_cb.php on line 668

And this is what I got on the line 668:

Code:
$database->setQuery($sql);

So, how can I fix this problem?

Thanks.

Versions of things on my site
CB = 1.1
SMF = 1.1.2
JSMF = 2.0.2
Joomla = 1.0.13
Logged
YT!
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: Change SMF's user information through CB interface
« Reply #24 on: March 09, 2008, 11:45:42 AM »

After i have sync all tables from CB to SMF
i have  311 queries executed

This one reapet all the time
SELECT memberName FROM smf_members WHERE ID_MEMBER = '0' LIMIT 1

What i have to do?
Logged
Pages: 1 [2] 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