I have a poll on my hompage (extremesportsu.com) and would like to make the admin tab the deafault so it will show my poll and now the latest tab, as no one had created a poll yet. Is this possible?
Thank
I have a poll on my hompage (extremesportsu.com) and would like to make the admin tab the deafault so it will show my poll and now the latest tab, as no one had created a poll yet. Is this possible? Thank |
Backup your file templates/base/scripts/BxBaseIndex.php first
Then line 725 of this file
Replace:
$mode = strlen($_GET['ppoll_mode']) ? $_GET['ppoll_mode'] : 'last';
with:
$mode = strlen($_GET['ppoll_mode']) ? $_GET['ppoll_mode'] : 'admin'; Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine. |
thanks for the advice, i NEVER would have figured that out |
You are welcome but check my info first as I cannot check by myself (still using 6.0.0003) Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine. |
When I've done this, it defaults nicely to the admin poll, but when you then click to the "latest", "top" or "random", those polls don't appear correctly -- just shows the member's name link with no poll text and then the vote button. Can someone see if that happens on their site also. |
LHAdmin mine appears to work fine. although i dont have any member submitted polls it does show me "no polls to display" which makes me believe that it works fine. Good luck |
that's how mine behaves too if there are no member polls. you may want to add a couple member polls and test it. |
Yes I get the same problem when I alter that code. Has anybody got any ideas?? Thanks in advance |
anyone has the solution for this? |
I would like to have a solution to this issue as well. I to have the same problem after setting this function to admin. The other polls do not come up right when you click on them. I would like to have a fix if all possible.
Please..... |
If I click the polls tab at the top of the page it says no polls to display but one of the members has already created a poll and it is displaying on the home page. Any idea how to fix so that the polls will show when you click the tab? I think I am just asking the same question as above LOL Thanks |