Previous Thread
Next Thread
Print Thread
Hop To
Joined: Mar 2008
Posts: 12
J
stranger
stranger
J Offline
Joined: Mar 2008
Posts: 12
Hi everyone! I'm going to post this question at UBBDev, but I thought I'd mention it here, in case there's already a way to do it in the Ubbthreads software.

Is there a way to periodically clear the messages in the ShoutBox? I don't use the shoutbox on the portal page, but want to experiment with the "Naked Shoutbox." I have all of the other coding in place, however, the only problem is that when I opened the shoutbox, it had the last posts still listed (and the shoutbox has been turned off since like the beginning of March.)

I would like to empty the shoutbox from time to time, so that people aren't seeing months-old conversations. This may be a coding thing, but thanks for any help!

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
I believe the shoutbox only stores the last 30 or so posts; anything after that, each new post will scroll one off, to maintain 30 posts in the box... so as long as it's used, old content will scroll off.


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: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
just go to your admin cpanel -- database tools - SQL command

SQL Query
TRUNCATE TABLE ubbt_SHOUT_BOX

you can even save it with a description, so you can re-use it at a later date smile

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
I love the description field; I just wish it was easier to edit the description wink...


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: Mar 2008
Posts: 12
J
stranger
stranger
J Offline
Joined: Mar 2008
Posts: 12
Thanks, guys, much help!


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
3 members (rootman, Gizmo, Nightcrawler), 562 guests, and 186 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)