Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
Re:Additional Info icons with Community Builder (1 viewing) (1) Guest
TOPIC: Re:Additional Info icons with Community Builder
#25087
Re:Additional Info icons with Community Builder 1 Year, 3 Months ago  
thank you very much this is really useful.
great job

ah, and something which does not regard this plugin but someone might know - is it possible to show the FB contact list when fully integrated with CB.. i like the FB one more, but don't want users to have 2 profiles - the CB and FB ones, it annoys them
begem0t (User)
Junior Boarder
Posts: 43
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 160063099 Gender: Female BIO Location: Sofia Birthdate: 1985-10-17
Logged Logged
 
Last Edit: 2007/09/28 22:50 By begem0t.
 
?@>10 40;8 @01>B8 :8@8;8F0B0
 
 
#25177
Re:Additional Info icons with Community Builder 1 Year, 3 Months ago  
Thx a lot for the mod! I worked right out of the 'box'.
fxstein (Moderator)
FB Core Team
starVmax
Moderator
Posts: 1213
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fxstein starVmax Location: Silicon Valley, USA
Logged Logged
 
 
 
#27154
Re:Additional Info icons with Community Builder 1 Year, 3 Months ago  
It work perfect!
just one issue:
When user update their profile, they must fill in the data again.
(whenever user update profile, the field form will be blank again)

Is it me only facing this problem or this is a bug?
amerz (User)
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Hawaq.org amerz_x
Logged Logged
 
 
 
#27232
Re:Additional Info icons with Community Builder 1 Year, 3 Months ago  
Works perfekt! Only one wish, is it possible to calculate the AGE of the user instead of showing his Birtday?
n0fear (User)
Junior Boarder
Posts: 24
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#28777
Re:Additional Info icons with Community Builder 1 Year, 2 Months ago  
n0fear wrote:
Works perfekt! Only one wish, is it possible to calculate the AGE of the user instead of showing his Birtday?

Good idea, and how can change date format as d/M/Y ?
mobilist (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#28797
Re:Additional Info icons with Community Builder 1 Year, 2 Months ago  
mobilist wrote:
n0fear wrote:
Works perfekt! Only one wish, is it possible to calculate the AGE of the user instead of showing his Birtday?

Good idea, and how can change date format as d/M/Y ?


Although both of these have been ideas I have thought about, I have yet to actually do these yet. This would require several changes and some PHP coding to move things around and do calculations. Now, don't get me wrong, it would be pretty easy to do, I just haven't really had the chance to try. If I get a free moment sometime, I will see what I can do.

-- Scott
rockandchelle (User)
Fireboard is Cool!
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
Static Student Ministries
Logged Logged
 
 
#29442
Re:Additional Info icons with Community Builder 1 Year, 2 Months ago  
rockandchelle,

This code is not PHP5 compatible:

[code:1] if ($cbinfo->$fbConfig['cb_gender_field'] != '') { [/code:1]

It returns an error:

[code:1]Fatal error: Cannot access empty property in /home/qsobr3/public_html/components/com_fireboard/template/default/view.php on line 531
[/code:1]

It's the $cbinfo->$fbConfig construct that seems to be syntactically incorrect in PHP5. I suspect that it was a syntax that was slated for deprecation in an older version of php, but was still supported in PHP4. Well, the PHP folks evidently rolled it off the backend, because when I switched my server to use PHP5 to handle everything, it broke.

There in view.php there are many calls to the $fbConfig from line 531 to 578 that need to be fixed. PHP4 supports the non '$'-preceded calls constructed like this: $cbinfo->fbConfig[...

Thanks and great mod by the way.

Dan
dynamodan (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#30293
Re:Additional Info icons with Community Builder 1 Year, 2 Months ago  
Hi! This mod is great!

But I haven't been able to see the gender icon.

I'm using Spanish as my default language, so I created the CB fields in spanish, especially for gender they are:

Gender = Género
Male = Masculino
Female = Femenino

I guess this is why I'm not seeing gender images. I review the files and Mods to see if I could change something but have no success,

I reviewed my spanish.php file to check if the variables _FB_MYPROFILE_MALE and _FB_MYPROFILE_FEMALE were correct, and they are there, I just have to change the spanish definitions to my needs, but they are ready now.

Do you know if there is something else I should check?

All other icons are working ok

Thanks in advance.
jlcampos (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Blogs: Tecnología para Todos Location: México Birthdate: 1971-03-03
Logged Logged
 
Last Edit: 2007/11/06 19:04 By jlcampos.
 
Jorge Luis
León, Gto., México
Blogs: Tecnología para Todos! --> http://blogs.versionti.com/
 
 
#30332
Re:Additional Info icons with Community Builder 1 Year, 2 Months ago  
Inside of the components/com_fireboard/template/default/view.php file, you need to change the following items.

[code:1] if ($cbinfo->$fbConfig['cb_gender_field'] != '') {
$gender = $cbinfo->$fbConfig['cb_gender_field'];

if (strcasecmp($gender,"male"«»)==0) {
$userinfo->gender = 1;
}
if (strcasecmp($gender,"female"«»)==0) {
$userinfo->gender = 2;
}
}[/code:1]

The two if statements with the male and female should be changed as needed. In your case they should be changed to Masculino and Femenino, and then it should work. Let me know.
rockandchelle (User)
Fireboard is Cool!
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
Static Student Ministries
Logged Logged
 
Last Edit: 2007/11/07 01:28 By rockandchelle.
 
 
#30417
Re:Additional Info icons with Community Builder 1 Year, 2 Months ago  
Thank you Rock, But I already tried that... let me verify, but guess is not the complete solution...

Verified, it was already done, I have although tried with the first letter capital and without it and ... it didn't work.

Any more ideas? Thanks for your support

Jorge Luis
jlcampos (User)
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Blogs: Tecnología para Todos Location: México Birthdate: 1971-03-03
Logged Logged
 
Jorge Luis
León, Gto., México
Blogs: Tecnología para Todos! --> http://blogs.versionti.com/
 
 
Go to top