UBB.Dev
Posted By: FREAK1 Some dumb questions !! - 09/10/2005 2:28 AM
Ok here is my list of stupidity.....

For UBB.classic 6.7.2

#1 What is cache hit % and what is a good %? Is it the higher the number or the lower.

#2 How do I shut off members profiles, for whatever reason you can click on their name in the forum, and it takes you to their sign up info when they joined the board.

#3 How do you get a listing of recent members, I have mine checked in the control panel, but it doesn't show anywhere on the board. I would like it to be invisible to the site, but only I can see it, if that is even possible. I don't want people to be able to click on names and get info.

If you can help me I would appreciate it. I had some help by a staff member here, so I know someone can help this silly old man.

Thanks
Posted By: Gizmo Re: Some dumb questions !! - 09/10/2005 3:31 AM
The cache is a list of files already visited, for instance, this tread is cached after you look at it and after i post on it as to speed up display.

A good cache hit percentage is above 10-15%.

I don't believe there is a way to turn off profiles; they're there on a "stock behavior" basis; why would you want to turn off the profiles? All they're there for is to show information about the user.

For recent members look at the Directory, it'll show the last 5 people to sign up and the top 5
Posted By: FREAK1 Re: Some dumb questions !! - 09/10/2005 7:31 PM
Gizzy thanks. My hit cache is over 35%, I guess that is good.

Member profiles, I would want shut off, because I ask specific questions when they register. So now anyone can look at their answers. I don't want that.

As far as the last part, I want to see how many people have visited the site in say the last 30 minutes, I hope that clarifies that question.


Also an issue has just started, on my board I have it set up where I have to approve the membership. I would get e-mails telling me that someone applied. It has stopped the last day for no reason. I haven't made any changes that I know of, not that I would know how anyway.

On a side note to that, is there a way to edit the message that goes out to them when approved? If so where, I haven't been able to find it at all.


Thanks again.
Posted By: LK Re: Some dumb questions !! - 09/10/2005 8:16 PM
I wouldn't say 15% is a good cache hit percentage, though 35% is fine smile

Turning off member profiles - go to ultimatebb.cgi.
Find:
Code
if ($ubb eq 'get_profile') {
Add below:
Code
my @user_profile = &OpenProfile($user_number); &StandardHTML("The profile is only visible to our forum administrators.") if ($user_profile[8] ne 'Administrator');
It's untested, so you should log in through a non-admin account and try to view profile to check if it works.

Recent Visitors - go to public_forum_summary.pl, find: $pntf_locations[0], $pntf_locations[1], $pntf_locations[2], $pntf_locations[3] and remove them. Do the same for public_forum_page.pl. Note that there may be more than one instance for each variable.
Then go to ultimatebb.cgi, find:
Code
	if($ubb eq "pntf") {
and add the same as above (the answer to your other question).

Email problem - if you haven't changed anything, it could be a temporary problem or a problem with your host.

Editing messages that go out - that's impossible AFAIK, but you can just edit them the moment you approve.
Posted By: FREAK1 Re: Some dumb questions !! - 09/12/2005 8:28 PM
LK Thank you #1 worked. I am not too smart on this but I figured out how to do it, without messing it up.

Now on to the second part.
Posted By: FREAK1 Re: Some dumb questions !! - 09/12/2005 9:00 PM
LK

I can't find the following at all

Recent Visitors - go to public_forum_summary.pl

Any idea on where I would look to find it?

Thanks
Posted By: LK Re: Some dumb questions !! - 09/12/2005 11:02 PM
.pl files are under /ubb/Templates (or /noncgi/Templates) folder.
Posted By: FREAK1 Re: Some dumb questions !! - 10/04/2005 8:17 AM
LK thanks I found it all, made all the changes, and nothing will show period.

Any ideas?

Thanks for your help.
Posted By: LK Re: Some dumb questions !! - 10/04/2005 8:28 PM
Did you clear cache? (CP - Clear Cache - Submit)
Posted By: FREAK1 Re: Some dumb questions !! - 11/24/2005 5:50 AM
To this day I still can't get this to work !
© UBB.Developers