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,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
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, Scouters World
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
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (Nightcrawler), 606 guests, and 134 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)