 |
 |
 |
 |
Registered: 04/12/04
Posts: 154
|
|
|
 |
 |
 |
 |
|
 |
 |
 |
 |
#177739 - 02/06/07 12:06 AM
Need some suggestions on tuning / debugging our 7.02 site
|
newbie
|
Registered: 07/07/06
Posts: 32
Loc: USA
|
|
Hi folks, After Rick did a superb job getting our Classic 2+ million board transferred, there are a few things we need advice on. Here's the board: http://www.simhq.com/forum/ubbthreads.phpI've tried to look-up the items here, but having no luck finding the same problems being discussed. Questions: 1) We're seeing periodic pauses or freezing when clicking a post, a thread, a submit button. We've tried to do some tuning in MySQL and PHP, but it's still occurring. It's being reported by admins, mods and members on IE and FireFox. It typically last from 30 seconds to a couple minutes. We're getting too many double-posts because of it. 2) I understand that the first time a reader goes to a thread, they get the first post. Then subsequently jump to the first new unread post when they return. That's what's supposed to happen, right? We're getting first time visits to threads where it jumps to the 4th or 5th post, then the reader has to scroll back up the page. Sometimes it starts on the 2nd post. Sometimes it works as intended. Our complaint thread on it is here: http://www.simhq.com/forum/ubbthreads.php?ubb=showflat&Number=2123596&page=1#Post2123596Those two issues are by far our biggest headaches. Here are a few other items we'd like to change if possible. 3) Is there a way to blank the "1" + "week(s)" in the default advanced search range? 4) Is there a way to allow longer subject titles than 50 characters? 5) Is there a way to move the sticky and hot topic graphics to the left side of the thread? Something you may find interesting. Here's the article we produced to introduce some of the major features to the members: http://www.simhq.com/_commentary/all_031a.htmlTIA.
_________________________
guod@simhq [dot] com
twitter.com/SimHQ youtube.com/SimHQcom livestream.com/SimHQ
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
|
Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#177742 - 02/06/07 02:09 AM
Re: Need some suggestions on tuning / debugging our 7.02 site
[Re: guod]
|
Pooh-Bah
|
Registered: 08/08/06
Posts: 1922
Loc: NJ
|
|
I'm about to run off to bed soon so can't answer all your questions right now, but #3 is easy enough: Open up /templates/default/ search.tplYou'll find this HTML similar to this in there. I say similar, because I changed the default to "Newer than 4 Years":
<input type="hidden" name="daterange" value="1" />
{$lang.MAX_RANGE} {$config.MAX_SEARCH_RANGE_VALUE} {$config.MAX_SEARCH_RANGE_TYPE}.
<br /><br />
{$lang.NEWER} <input type="text" name="newerval" size="2" class="form-input" value="4" />
<select name="newertype" class="form-select">
<option value=""></option>
<option value="d">{$lang.DAY}</option>
<option value="w">{$lang.WEEK}</option>
<option value="m">{$lang.MONTH}</option>
<option value="y" selected="selected">{$lang.YEAR}</option>
</select>
To remove the Day/Week/Month, just remove the portion that says selected="selected", and to remove the numeral, just remove the 4 in portion that says value="4" (in my example) So what you want is this:
<input type="hidden" name="daterange" value="1" />
{$lang.MAX_RANGE} {$config.MAX_SEARCH_RANGE_VALUE} {$config.MAX_SEARCH_RANGE_TYPE}.
<br /><br />
{$lang.NEWER} <input type="text" name="newerval" size="2" class="form-input" value="" />
<select name="newertype" class="form-select">
<option value=""></option>
<option value="d">{$lang.DAY}</option>
<option value="w">{$lang.WEEK}</option>
<option value="m">{$lang.MONTH}</option>
<option value="y">{$lang.YEAR}</option>
</select>
Incidentally, if you just don't like the default, you can change the number to whatever you like, and place the selected="selected" under either DAY, WEEK, MONTH, or YEAR to your liking. I would actually recommend a reasonable default to save users' time. That's why I set mine to the past 4 years to encompass most of the time frame. -- As for #5, if I understand you correctly, that probably wouldn't look too good -- if you mean that those icons would be placed to the left of the thread title. Because then the titles wouldn't line up and look all haphazard. There can be zero, one, two, three or even more icons there. But if I misunderstood, please let me know. And if you still want that, let us know, too... 
_________________________
GangsterBB.NET (Ver. 7.5.6) 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#177771 - 02/06/07 01:19 PM
Re: Need some suggestions on tuning / debugging our 7.02 site
[Re: jgeoff]
|
Post-a-holic
|
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
|
|
#1) Tuning MySQL has a lot of variables. It's not something I have much experience in, but there are a large number of variables that can make a big difference. Over on UBBDev.com there are a couple of posts dedicated to this discussion, they are a bit old but the basics should still apply and you might take a look at these: http://www.ubbdev.com/forums/ubbthreads.php/ubb/postlist/Board/51#2) What happens is it basically tracks off of their last visit to the individual forum. So, say there is a new topic in forum A. User visits that forum and reads the other topics in the forum, but not this new one. They later come back to visit, and it will consider everything since that last visit to be new. So even though they didn't read that particular thread earlier, it will still assume they did and scroll to what's been made since they were in that forum earlier. It's a bit hard to explain, but we can't track on a per topic basis, so we can only go off of the last visit to the forum. What we'll probably do is add in an additional option on the postlist display to either go to the first post or go to the first "new" post. We had this in earlier versions, with a little arrow next to each topic that had new posts. Clicking on the arrow would take you to the new posts, while clicking on the topic would take you to the first post. We may go back to this. #4) Under Display Options -> General -> Post/Reply Options you'll find the bit where you can specify the maximum subject length. Love the article you made, very nice 
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
|
|