MyBB Community Forums

Full Version: Page Numbers won't show
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I'm having the same problem as this guy: http://community.mybb.com/thread-99250.html

The page numbers on my forum won't show at all when I have more than 2 pages. Please help. How do I fix it?
Also, I have the Google SEO plugin installed, if that makes any difference.
What are the contents of your showthread template?
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1603"></script>
</head>
<body>
	{$header}
	{$pollbox}
	<div class="float_left">
		{$multipage}

	</div>
	<div class="float_right">
		{$newreply}
	</div>
	{$ratethread}
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
		<tr>
			<td class="thead" colspan="2">
				<div style="float: right;">
					<span class="smalltext"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
				</div>
				<div>
					<strong>{$thread['threadprefix']}{$thread['subject']}</strong>
				</div>
			</td>
		</tr>
		{$classic_header}
	</table>
	<div id="posts">
		{$posts}
	</div>
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="border-top-width: 0;">
		<tr>
			<td colspan="2" class="tfoot">
				{$search_thread}
				<div>
					<strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
				</div>
			</td>
		</tr>
	</table>
	<div class="float_left">
		{$multipage}
	</div>
	<div style="padding-top: 4px;" class="float_right">
		{$newreply}
	</div>
	<br style="clear: both;" />
	{$quickreply}
	{$threadexbox}
	{$similarthreads}
	<br />
	<div class="float_left">
		<ul class="thread_tools">
			<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
			<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
			<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
		</ul>
	</div>

	<div class="float_right" style="text-align: right;">
		{$moderationoptions}
		{$forumjump}
	</div>
	<br style="clear: both;" />
	{$usersbrowsing}
	{$footer}
</body>
</html>
Try what I suggested in the other thread:

http://community.mybb.com/thread-99250-p...#pid724625
(2011-07-18, 10:53 PM)faviouz Wrote: [ -> ]Try what I suggested in the other thread:

http://community.mybb.com/thread-99250-p...#pid724625

i tried that, it didn't work. The numbers still won't show. All the plugins were disabled, but still the problem remained.
Does this happen on a different theme?
(2011-07-18, 10:59 PM)faviouz Wrote: [ -> ]Does this happen on a different theme?

I'm using the default MyBB theme. I only changed the css to change the background and trow1 background, etc.
I don't have any other themes installed.
You must have modified something. Plugins aren't causing this and the {$multipage} variable is in its place...

Go to Admin CP > Templates & Style > Templates > Your Template Set > Multipage Pagination Templates. If there are any templates colored in green, click on Options and select Revert to Original.
(2011-07-18, 11:04 PM)faviouz Wrote: [ -> ]You must have modified something. Plugins aren't causing this and the {$multipage} variable is in its place...

Go to Admin CP > Templates & Style > Templates > Your Template Set > Multipage Pagination Templates. If there are any templates colored in green, click on Options and select Revert to Original.

No, they haven't been changed at all.
Somebody please help me. I'm getting all worked up over this.
Did you manually modify the ./inc/functions.php file required by Google SEO? It might be possible that you unintentionally erased bits of code related to the multipage. Could you re-upload a copy of the ./inc/functions.php file from a fresh MyBB download? And while you're there, re-upload showthread.php too.

Be aware that this will cause Google SEO not to work, but you can take care of that later.
Pages: 1 2