Previous Thread
Next Thread
Print Thread
Hop To
#187526 06/18/2007 1:58 PM
Joined: May 2007
Posts: 145
member
member
Joined: May 2007
Posts: 145
I thought clearing the cache would reset the total # views next to the "comments" link on the portal page items. Obviously not.

How do I reset these since I already know they're all me! Thanks.


[Linked Image from shorthandclasses.com]
Trixie #187528 06/18/2007 2:19 PM
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
AFAIK you can't remove them without going into the actual database and manually modifying the count. They are auto generated on purpose for tracking.

ntdoc #187537 06/18/2007 3:17 PM
Joined: May 2007
Posts: 145
member
member
Joined: May 2007
Posts: 145
Thanks nt. Can I change this count from inside Dreamweaver? Is it difficult to get to the database? I'd like to start off with a true #, that's all. Bye.


[Linked Image from shorthandclasses.com]
Trixie #187542 06/18/2007 3:41 PM
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
No not really from Dreamweaver. It is not a Website entry, it is stored in a MySQL database table.

You would have to access it via SQL commands from the Administrator Control Panel or a 3rd party tool that allows access to the MySQL database, or a SHELL account on the system.

Sorry I don't know the commands right off hand to clear that for you or I'd help you. I don't currently have a local copy installed for testing. Perhaps Rick or one of the other guys here can assist you with that. (it's possible there is a method from within control panel but if there is I don't recall ever seeing it).

Hang in there and I'm sure one of the other guys can assist you with the correct commands to clear the view count.

ntdoc #187547 06/18/2007 4:26 PM
Joined: May 2007
Posts: 145
member
member
Joined: May 2007
Posts: 145
Thanks. I'm pretty sure I know how to get into MySQL database from the webhost control panel. But seems I could get there an easier way; maybe from our ubb forum control panel.

In the meantime, I've got to drop a gov application off to my son so I should return in an hour. I'll check back then.

BTW, what is AFAIK? I work at the Air Force Academy but I don't think the AFA is for that! smile

Thanks for being here today. I don't usually work on the forum stuff until the weekend but took a day off today. Thank you for your help. Later,


[Linked Image from shorthandclasses.com]
Trixie #187549 06/18/2007 4:36 PM
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
AFAIK - As Far As I Know

To be honest if you are unsure about how to edit a MySQL database, I would leave well alone - if you make a mistake you can take your whole site down.

Ian #187553 06/18/2007 4:48 PM
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
BACK UP BACK UP BACK UP

Before your play / change anything that's not a function,
backup first, if it goes wrong all the work time and effort
is out the window any your going to have to start again.

Personally i wouldn't worry about those views.
There going to change as soon as some one looks at a topic.

If it isnt broke don't fix it wink


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Mark S #187591 06/18/2007 6:36 PM
Joined: May 2007
Posts: 145
member
member
Joined: May 2007
Posts: 145
Thank you Mark and Ian. Good advice.

But, since my topic was "Clearing Cache," what exactly does this do? I clicked the button but it didn't seem to make a difference with anything visible.


[Linked Image from shorthandclasses.com]
Trixie #187594 06/18/2007 6:44 PM
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
2 parts

Cache
Is like a buffer that sent to a users machine.
So they dont have to pull down the information again and again.

Sometimes to see the results you require
we clear the cache to get the most up to date results.

If there was no cache everything would run slower.

But your ok to clear the cache when you want to see
any changes you may have made in the cp.

So its a clear cache and page refresh wink

Example : if i changed the number of say members to appear as
top posters, viewed the main index again they may look
the same as previously.

But clear the cache forces you browser to get the latest
information from the cache wink

Hope that helps.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Mark S #187595 06/18/2007 6:46 PM
Joined: May 2007
Posts: 145
member
member
Joined: May 2007
Posts: 145
Very clear Sir Mark! Tank oo! smile


[Linked Image from shorthandclasses.com]
Trixie #187603 06/18/2007 7:38 PM
Joined: Jun 2006
Posts: 16,301
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,301
Likes: 116
1. Never, ever, ever, edit your UBB files from within a web editing program; it will add its own formatting on what it THINKS needs to be added (frontpage for example will add a bunch of meta lines); these will break things. If editing your UBB files please only use notepad or wordpad (or some other text only editor).

2. to edit mysql you use a script capable of editing them; most isp's use PHPMyAdmin; editing the MySQL databases is beyond the scope of the UBB, hence the inability to do it from within the UBB (other than the line query section, but you'd need to know the query to update things and these aren't as simple to people as just pasting them in).


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!
Gizmo #188097 06/21/2007 9:15 PM
Joined: May 2007
Posts: 145
member
member
Joined: May 2007
Posts: 145
Good info and I understand. Thanks Giz.


[Linked Image from shorthandclasses.com]

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
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
Who's Online Now
3 members (ahmed047, Nightcrawler, 1 invisible), 566 guests, and 148 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 20240506)