MyBB Community Forums

Full Version: Some problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'd like to get rid of some problems my users are complaining about and I'll be grateful about any relevant tips you can give.
site: [deleted link]

Problem #1
Forum statistics show "<" instead of actual info.
Evidence: [deleted link]
[attachment=27427]

Problem #2
Recently this script stopped working: when you press forum marker, it should change color indicating that posts in this forum are marked as read. Now it works only on page refresh.
Evidence: [deleted link] (forum index, try pressing images)
[attachment=27428]
bump? anyone?
For the ajax mark read to work the images need to be gifs. You may need to change that template to have the functionality.

Not sure what is causing the < on the stats page.
For the stats, could you please post the contents of the following template:

AdminCP -> Templates & Style -> Templates -> Your Theme's Templates -> Statistics Templates -> stats
(2012-10-19, 09:02 AM)Leefish Wrote: [ -> ]For the ajax mark read to work the images need to be gifs. You may need to change that template to have the functionality.
I've already changed .gif to .png in templates and in javascript files. It worked fine until recently when all javascript started to act strangely.

(2012-10-19, 09:19 AM)Vernier Wrote: [ -> ]For the stats, could you please post the contents of the following template:

AdminCP -> Templates & Style -> Templates -> Your Theme's Templates -> Statistics Templates -> stats

<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->board_stats}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->board_stats}</strong></td>
</tr>
<tr>
<td class="tcat" width="50%"><strong>{$lang->totals}</strong></td>
<td class="tcat" width="50%"><strong>{$lang->averages}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top">
{$lang->posts} <strong>{$stats['numposts']}</strong><br />
{$lang->threads} <strong>{$stats['numthreads']}</strong><br />
{$lang->members} <strong>{$stats['numusers']}</strong>
</td>
<td class="trow1" rowspan="3" valign="top">
{$lang->ppd} <strong>{$postsperday}</strong><br />
{$lang->tpd} <strong>{$threadsperday}</strong><br />
{$lang->mpd} <strong>{$membersperday}</strong><br />
{$lang->ppm} <strong>{$postspermember}</strong><br />
{$lang->rpt} <strong>{$repliesperthread}</strong>
</td>
</tr>
<tr>
<td class="tcat" valign="top"><strong>{$lang->general}</strong></td>
</tr>
<tr>
<td class="trow1">
{$lang->newest_member} {$stats['newest_user']}<br />
{$lang->members_posted} <strong>{$havepostedpercent}</strong><br />
{$lang->todays_top_poster}<br />
{$lang->popular_forum}
</td>
</tr>
</table>


<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2"><strong>{$lang->most_popular}</strong></td>
</tr>
<tr>
<td class="tcat" width="50%"><strong>{$lang->most_replied_threads}</strong></td>
<td class="tcat" width="50%"><strong>{$lang->most_viewed_threads}</strong></td>
</tr>
<tr>
<td class="trow1" valign="top">{$mostreplies}</td>
<td class="trow1" valign="top">{$mostviews}</td>
</tr>
</table>
{$footer}
</body>
</html>
Here you go!
Thank you! Smile

I can provide test user account if needed.

Other javascript functions that act strangely:
1) username suggestion functionality in "private message" window and in admin panel as well is not working anymore..
Hi,

Would you mind posting a temporary admin account in the Private Inquiries forum so that I can take a look? Only staff will be able to see these details.

Thanks
I don't mind at all, done it!