MyBB Community Forums

Full Version: when i click the button vote it shows me up a white page?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
from when i upgrade to 1.6.4 a lot problems for me came out spammers ,that kind of problemConfused i dont know if it only happens to me but seems im unlucky^^
may i know your mybb forum url ?
and a demo user account details
(2011-07-30, 03:11 PM)Ultimated Wrote: [ -> ]when i click the button vote it shows me up a white page?

Same with me, v1.6.4

demo user:

username: test
pwd: mybbforum

example link:
http://www.alainbarriere.com/forum/showt...hp?tid=696

I have remove all my headerinclude prgm in template and same bug, new with v1.6.4 ???

Suggestions ?

Thanks
Revert your showthread_poll template to original.
(2011-08-06, 11:54 AM)faviouz Wrote: [ -> ]Revert your showthread_poll template to original.

Where is showthread_poll in template ?

I have never change this ...

Thanks for your answer

Other suggestion ?
Go to Admin CP > Templates & Style > Templates > Your Template Set > Show Thread Templates > showthread_poll > Options > Revert to Original.
(2011-08-06, 09:33 PM)faviouz Wrote: [ -> ]Go to Admin CP > Templates & Style > Templates > Your Template Set > Show Thread Templates > showthread_poll > Options > Revert to Original.

OK, thanks

showthread_poll has default template and never change by me:

<form action="polls.php" method="get">
<input type="hidden" name="action" value="vote" />
<input type="hidden" name="pid" value="{$poll['pid']}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="4" class="thead" align="center"><strong>{$lang->poll} {$poll['question']}</strong></td>
</tr>
{$polloptions}
</table>
<table width="100%" align="center">
<tr>
<td><input type="submit" class="button" value="{$lang->vote}" /></td>
<td valign="top" align="right"><span class="smalltext">[<a href="polls.php?action=showresults&amp;pid={$poll['pid']}">{$lang->show_results}</a>{$edit_poll}]</span></td>
</tr>
<tr>
<td colspan="2"><span class="smalltext">{$publicnote}</span></td>
</tr>
</table>
</form>

Thanks for your answer ... Other suggestion ?
This is the default code:

<form action="polls.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="vote" />
<input type="hidden" name="pid" value="{$poll['pid']}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="4" class="thead" align="center"><strong>{$lang->poll} {$poll['question']}</strong></td>
</tr>
{$polloptions}
</table>
<table width="100%" align="center">
<tr>
<td><input type="submit" class="button" value="{$lang->vote}" /></td>
<td valign="top" align="right"><span class="smalltext">[<a href="polls.php?action=showresults&amp;pid={$poll['pid']}">{$lang->show_results}</a>{$edit_poll}]</span></td>
</tr>
<tr>
<td colspan="2"><span class="smalltext">{$publicnote}</span></td>
</tr>
</table>
</form>
(2011-08-06, 10:31 PM)faviouz Wrote: [ -> ]This is the default code:

<form action="polls.php" method="post">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="action" value="vote" />
<input type="hidden" name="pid" value="{$poll['pid']}" />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="4" class="thead" align="center"><strong>{$lang->poll} {$poll['question']}</strong></td>
</tr>
{$polloptions}
</table>
<table width="100%" align="center">
<tr>
<td><input type="submit" class="button" value="{$lang->vote}" /></td>
<td valign="top" align="right"><span class="smalltext">[<a href="polls.php?action=showresults&amp;pid={$poll['pid']}">{$lang->show_results}</a>{$edit_poll}]</span></td>
</tr>
<tr>
<td colspan="2"><span class="smalltext">{$publicnote}</span></td>
</tr>
</table>
</form>

YES faviouz, you are the best ...

But why I have not the good showthread_poll for my personnal template ???

And for Defaults Templates, I have the same problem. I change also this ?

Thanks
Yes, you should also change it in the Default theme. Updates usually modify templates, after which you should run the Find Updated Templates tool to revert all templates to default.
Pages: 1 2