|
#1
|
||||
|
||||
Poll won't work as sidebar
I use
Code:
include("poll.php"); to include it as sidebar but it don't work when "vote" is pressed site just refreshes any suggestions tried to change Code:
<form method=\"post\" action=\"index.php\"> Code:
<form method=\"post\" action=\"#\"> |
#2
|
||||
|
||||
try changing
PHP Code:
PHP Code:
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
#3
|
||||
|
||||
nope still just refreshes maybe there is something in index.php i have missed
|
#4
|
||||
|
||||
look for a open <form some where maybe
easy way to make sure is to add a </form> before it
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
#5
|
||||
|
||||
thats not it
maybe it's because index php has Code:
include("header.php"); can it even call for Code:
global $db, $db_prefix; |
#6
|
||||
|
||||
you have a open form tag in your theme changer.
HTML Code:
<h3>Theme Change</h3><p align="center">Theme</p> <form id="acp_styles" type="hidden" method="post" action="#"><p><select id="template_file" name="theme_change" onchange="if (this.options[this.selectedIndex].value != '') this.form.submit();"><option selected value="bitfarm">bitfarm</option> </select></p>
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
#7
|
||||
|
||||
intresting
Code:
OpenTable('Theme Change'); echo "<p align=\"center\">Theme</p>\n"; echo "<form id=\"acp_styles\" type=\"hidden\" method=\"post\" action=\"#\">"; echo "<p><select id=\"template_file\" name=\"theme_change\" onchange=\"if (this.options[this.selectedIndex].value != '') this.form.submit();\">".themechange()."</select></p>"; echo "<p align=\"center\">Language</p>\n"; echo "<p><select id=\"language_file\" name=\"language_change\" onchange=\"if (this.options[this.selectedIndex].value != '') this.form.submit();\">".languagechange()."</select></p>"; echo " <input class=\"butns btog\" type=\"submit\" value=\"Select\" /></form>"; CloseTable(); |
#8
|
||||
|
||||
ok try this
In poll.php find PHP Code:
PHP Code:
PHP Code:
PHP Code:
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
#9
|
||||
|
||||
that did the trick thanks m8
|
Tags |
poll , sidebar , work |
|
|