[SOLVED] field in joomla database on profile page

12 years 1 month ago #147250 by richiebee
Hi,

I have a field telephone in my joomla database,

jos_users

and I would like to show that in the cb profile page

however when I try to add telephone as new field it says it is cb_telephone

how can I show the field in the profile for that user?

Post edited by: krileon, at: 2010/12/13 19:39

Please Log in to join the conversation.

12 years 1 month ago #147262 by nant
richiebee wrote:

Hi,

I have a field telephone in my joomla database,

jos_users

and I would like to show that in the cb profile page

however when I try to add telephone as new field it says it is cb_telephone

how can I show the field in the profile for that user?


How did you get this column in your joomla user table?

modifying your joomla table will cause you problems down the road.

Please Log in to join the conversation.

12 years 1 month ago #147428 by richiebee
Replied by richiebee on topic Re:field in joomla database on profile page
Hi,

Thanks have decided against it.

It was a field I imported from another non joomla database,

O.k. really what it is for is so as administrator I can add telephone number to a users profile.

when I edit the field on the users profile and update... it does not currently update and i am getting errors

[code:1]moscomprofiler::«»store failed: Unknown column 'Telephone' in 'field list' SQL=UPDATE `jos_comprofiler` SET `user_id`=349,`firstname`='test',`lastname`='richie',`hits`='6',`message_last_sent`='0000-00-00 00:00:00',`message_number_sent`='0',`avatarapproved`='1',`approved`=1,`confirmed`=1,`registeripaddr`='217.44.22.86',`cbactivation`='',`banned`='0',`acceptedterms`='1',`location_id`='0',`Firstname`='Default',`Lastname`='Default',`Telephone`='Default',`lastupdatedate`='0000-00-00 00:00:00',`cb_pgenable`='',`cb_pgautopublish`='',`cb_pgautoapprove`='',`cb_pgshortgreeting`='',`cb_pgtotalquotasize`='',`cb_pgtotalquotaitems`='',`cb_pguploadsize`='',`cb_pgtotalitems`='',`cb_pgtotalsize`='',`cb_pglastupdate`='',`cb_pgaccessmode`='',`cb_pgdisplayformat`='',`cb_details`='',`cb_telephone`='000000000' WHERE id='349'[/code:1]

Please Log in to join the conversation.

12 years 1 month ago #147445 by krileon
Replied by krileon on topic Re:field in joomla database on profile page
You made core edits to the database, we can't help you. Please restore the database back to its defaults. You should not be making database edits unless you absolutely know what you're doing. You also must be aware of how CB fields work to ensure it cooperates with that database. Your query is to _comprofiler where Telephone does not exist as you stated you created it in _users.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 1 month ago #148404 by richiebee
Replied by richiebee on topic Re:field in joomla database on profile page
O.K

solved i reloaded my original Data can edit the fields again,

thanks for the help...

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.237 seconds

Facebook Twitter LinkedIn