Previous Thread
Next Thread
Print Thread
Hop To
#252656 04/19/2013 6:38 PM
Joined: Jun 2006
Posts: 693
Addict
Addict
Joined: Jun 2006
Posts: 693
Many of our users are using our forums to track goals - like "reach 125 pounds" or "walk 5k" or so on. It would be cool if we could add an optional field in their left-hand profile area where their goal was listed if they wished.

So for example Lori is tracking her daily food goals -

http://forums.bellaonline.com/ubbthreads.php/ubb/showflat/Number/817051/

There's lots of empty space in the left with her profile info. If she could post a "Weight Goal: 125lb" note there, it would be cool. That way it doesn't get lost in the signature area, and it's always available. A given user could set their goal to be whatever they wanted, or have it not show if they wanted.

Is there a way to make an optional field that they can choose to display or not display, to go there? I.e. some might want to track their goal but not show it to others.


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 58,000 members / 850,000 posts
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
sure..

1 way to do it is to hijaack 2 extra fields

1st one is yes/no for public/private
2nd one is the actual value

other way to do it is to combine them into one ( if you don't want to kill 2 extras )

so for example:

1,Weight Goal: 125lb ( shows )
0,Weight Goal: 125lb ( hidden )

then post_side.tpl, post_top.tpl could display, with the heavy lifting done by showflat.inc.php

2c

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
I something similar for Gender on A Gardeners Forum by renaming the profile field and then editing the html for that field to be a dropdown.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 693
Addict
Addict
Joined: Jun 2006
Posts: 693
OK I'll take a look into those - thank you so much!


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 58,000 members / 850,000 posts

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
0 members (), 166 guests, and 137 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)