rmon008 Posted September 21, 2013 Posted September 21, 2013 (edited) solved Solved Edited September 23, 2013 by rmon008
breaker7 Posted September 25, 2013 Posted September 25, 2013 i have a problem the vote sites doesnt show up in my fluxcp help. http://gate-ro.net/cp/?module=voteforpoints i got same problem like you.. i try install at my local computer, and this addon runing well.. but when i install this addon at my server.. i got this message "No Voting Site Founds" at vote page but at admin panel ( view list, edit, delete ) i can see voting list any one can help me?
retroflav Posted October 12, 2013 Posted October 12, 2013 HELP ! Message: MySQL error (SQLSTATE: 42000, ERROR: 1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 New: Notice: Undefined offset: 0 in/home/***/public_html/cp/addons/voteforpoints/modules/voteforpoints/index.phpon line 44Notice: Trying to get property of non-object in/home/***/public_html/cp/addons/voteforpoints/modules/voteforpoints/index.phpon line 44
ghodelein Posted November 26, 2013 Posted November 26, 2013 i have a problem the vote sites, i see "Invalid voting site" can you help me please Help please :/
nicoscene Posted January 14, 2014 Posted January 14, 2014 Notice: Undefined offset: 0 in /addons/voteforpoints/modules/voteforpoints/index.phpon line 44Notice: Trying to get property of non-object in /addons/voteforpoints/modules/voteforpoints/index.phpon line 44 How do i fix this? I am using Xantara's FluxCP. Thank you!
Nasterro Posted January 17, 2014 Posted January 17, 2014 I have had problems with my voteforpoints .. you can see in the pictures that I gave and I think what I did was right .. can you tell me what I have a problem with voteforpoints?? I need some help from you ...
Break Posted January 24, 2014 Posted January 24, 2014 Points vote counted even voting in the tops, just click on the button Vote now. Please fix it.
Renji Abarai Posted February 14, 2014 Posted February 14, 2014 I'm Still new in Flux CP editing.can i have the Step by step process of this Vote For Points with screen shots???i will really appreciate it
Snaehild Posted July 20, 2014 Posted July 20, 2014 Just like other errors encountered here. Notice: Undefined offset: 0 in /addons/voteforpoints/modules/voteforpoints/index.php on line 44 Notice: Trying to get property of non-object in /addons/voteforpoints/modules/voteforpoints/index.php on line 44 My index.php http://upaste.me/bc0b137729fecd962
Dolphin86 Posted October 2, 2014 Posted October 2, 2014 (edited) where should i add the vote html code? bump still waiting Edited October 2, 2014 by dolphincute
moraru Posted October 13, 2014 Posted October 13, 2014 Works well, and you only need to move the folder into Addons and import sql, clean and simple.But is exploitable click to vote and you already given 1 point, and no real check if voted or not, gues is not possible anyway if you dont recive response values from voting site. Anyway works perfectly +10
Igniz Posted January 6, 2015 Posted January 6, 2015 Someone found the fix for this? Notice: Undefined offset: 0 in /public_html/addons/voteforpoints/modules/voteforpoints/index.php on line 44 Notice: Trying to get property of non-object in /public_html/addons/voteforpoints/modules/voteforpoints/index.php on line 44 When clicked "Vote" button this appears: Notice: Undefined index: HTTP_X_FORWARDED_FOR in /public_html/addons/voteforpoints/modules/voteforpoints/vote.php on line 16 Warning: Cannot modify header information - headers already sent by (output started at /public_html/addons/voteforpoints/modules/voteforpoints/vote.php:16) in /public_html/lib/Flux/Template.php on line 860 I think it's PHP version related :/
Dogpatch Posted March 18, 2015 Posted March 18, 2015 Someone found the fix for this? Notice: Undefined offset: 0 in /public_html/addons/voteforpoints/modules/voteforpoints/index.php on line 44 Notice: Trying to get property of non-object in /public_html/addons/voteforpoints/modules/voteforpoints/index.php on line 44 When clicked "Vote" button this appears: Notice: Undefined index: HTTP_X_FORWARDED_FOR in /public_html/addons/voteforpoints/modules/voteforpoints/vote.php on line 16 Warning: Cannot modify header information - headers already sent by (output started at /public_html/addons/voteforpoints/modules/voteforpoints/vote.php:16) in /public_html/lib/Flux/Template.php on line 860 I think it's PHP version related :/ Back read a little. There is already a solution for that along with the others having problems adding vote sites.
Moonshadows Posted January 25, 2018 Posted January 25, 2018 (edited) Amazing Addon. Really nice and simple to install. Thank you for this! The only problem seems to be when users vote, it automatically counts before they even vote. Edited January 25, 2018 by Moonshadows
CyberDevil Posted April 24, 2018 Posted April 24, 2018 Everything seems to work fine but if I try to delete a site I get this error before confirming (debug mode is active): When I press "Yes", this happens: This is my /addons/voteforpoints/themes/default/voteforpoints/delete.php <?php if (!defined('FLUX_ROOT')) exit; ?> <br/> <h2>Delete Voting Site - Administrator</h2> <?php if(count($error)>0){ ?> <h3>Error:</h3> <ul> <?php foreach($error as $err){ ?> <li><?php echo $err; ?></li> <?php } ?> </ul> <?php } ?> <form action="<?php echo $this->url ?>&sid=<?php echo $site_id; ?>&return=edit_site" method="post" enctype="multipart/form-data" class="generic-form"> <table class="vertical-table" width="100%"> <tr> <th align="left"> <?php echo Flux::message('SITE_NAME_LABEL'); ?> </th> <td> <?php echo $vp->site_name; ?> </td> </tr> <tr> <th align="left"> <?php echo Flux::message('ADDRESS_LABEL'); ?> </th> <td> <?php echo $vp->address; ?> </td> </tr> <tr> <th align="left"> <?php echo Flux::message('BANNER_LABEL'); ?> </th> <td> <?php if($vp->banner_url==""): ?> <i><?php echo Flux::message('BANNER_IS_UPLOADED'); ?>. <?php endif; ?> <?php if($vp->banner_url!=""): ?> <?php echo $vp->banner_url; ?> <?php endif; ?> </td> </tr> <tr> <th align="left"> <?php echo Flux::message('BLOCK_TIME_LABEL'); ?> </th> <td> <?php echo $hours.":".$minutes.":00"; ?> </td> </tr> <tr> <th align="left"> <?php echo Flux::message('POINTS_LABEL'); ?> </th> <td> <?php echo $vp->points; ?> pt('s) </td> </tr> <tr> <td colspan="2" align="right"> Are you sure you want to delete this:? <input type="submit" name="Delete" id="Delete" value="Yes"/> | <a href="index.php?module=voteforpoints&action=list">No</a> </td> </tr> </table> </form> <script type="text/javascript" language="javascript"> $('#id_cbox_banner_url').change(function(){ var checked = $(this).attr('CHECKED'); $('#id_banner_url').attr('DISABLED',!checked); $('#id_banner_upload').attr('DISABLED',!!checked); }); </script> Any help please?
iwillnot Posted December 19, 2018 Posted December 19, 2018 I recommend using my fork of User Feefty's Flux CP Addons VoteForPoints. He last updated his code in 2015. I've fixed some bugs and tested that it works as of this date (Dec 2018). https://github.com/darrensapalo/FluxCP_Addons-VoteForPoints
Tupac Posted February 28, 2019 Posted February 28, 2019 click site vote: unable to vote for the server. Err no. 4
Sergardo Posted October 12, 2019 Posted October 12, 2019 'IP_BLOCKING' => true, //Set false the blocking system is Account per Site not Both Account and IP per Site even set on true after creating new account you can vote again
Sanasol Posted May 21, 2020 Posted May 21, 2020 https://github.com/sanasol/FluxCP_Addons-VoteForPoints There is some fixes since last year. Just to keep everyone noticed on 7th page of this topic 2
CyberDevil Posted May 22, 2020 Posted May 22, 2020 (edited) On 5/21/2020 at 9:56 PM, Sanasol said: https://github.com/sanasol/FluxCP_Addons-VoteForPoints There is some fixes since last year. Just to keep everyone noticed on 7th page of this topic There is a problem with the time format when I add a new voting site... for example my FluxCP is setted with the italian time format "d/m/Y - H:i:s" (PHP) Quote Critical Error An error was encountered during the lifetime of the application. This could be due to a variety of problems, such as a bug in the application. However, normally it is caused by misconfiguration. Exception Details Error: Flux_Error Message: MySQL error (SQLSTATE: 22007, ERROR: 1292): Incorrect datetime value: '22/05/2020 - 23:50:07' for column 'datetime_created' at row 1 File: /home/mysite/domains/mysite.it/public_html/lib/Flux/Connection/Statement.php:27 File Line Function/Method /home/mysite/domains/mysite.it/public_html/addons/voteforpoints/modules/voteforpoints/add.php 116 Flux_Connection_Statement::execute() /home/mysite/domains/mysite.it/public_html/lib/Flux/Template.php 375 include() /home/mysite/domains/mysite.it/public_html/lib/Flux/Dispatcher.php 170 Flux_Template::render() /home/mysite/domains/mysite.it/public_html/index.php 169 Flux_Dispatcher::dispatch() Exception Trace As String #0 /home/mysite/domains/mysite.it/public_html/addons/voteforpoints/modules/voteforpoints/add.php(116): Flux_Connection_Statement->execute(Array) #1 /home/mysite/domains/mysite.it/public_html/lib/Flux/Template.php(375): include('/home/mysite/...') #2 /home/mysite/domains/mysite.it/public_html/lib/Flux/Dispatcher.php(170): Flux_Template->render() #3 /home/mysite/domains/mysite.it/public_html/index.php(169): Flux_Dispatcher->dispatch(Array) #4 {main} Edited May 22, 2020 by CyberDevil
Sanasol Posted May 23, 2020 Posted May 23, 2020 (edited) @CyberDevil fixed, noticed it before and thought that looks not good, but kept as is to avoid other unexpected bugs https://github.com/sanasol/FluxCP_Addons-VoteForPoints/commit/86f91449633826cbd0b95c7146ce6943570943dd Edited May 23, 2020 by Sanasol 2 1
Recommended Posts