Customizing polls

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

Quote · 30 May 2008

Backup your file templates/base/scripts/BxBaseIndex.php first Wink

 

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.
Quote · 30 May 2008

thanks for the advice, i NEVER would have figured that out

Quote · 30 May 2008

You are welcome Wink 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.
Quote · 30 May 2008

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.

Quote · 30 May 2008

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

Quote · 30 May 2008

that's how mine behaves too if there are no member polls.  you may want to add a couple member polls and test it.

Quote · 30 May 2008

Yes I get the same problem when I alter that code. Has anybody got any ideas??

Thanks in advance

Quote · 31 Jul 2008

anyone has the solution for this?

Quote · 30 Aug 2008

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..... Sealed

Quote · 6 Nov 2008

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

Quote · 12 Nov 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.