Ajax star rating bar - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Ajax star rating bar (/showthread.php?tid=6085) |
Ajax star rating bar - El Forum - 06-04-2009 [eluser]developer_rtpl[/eluser] I have used this Ajax Star Rating.It runs properly on my localhost but cant work on live.I am using hosting of Go-dady server.For working in CI,I can use this option only on the server - Code: $config['uri_protocol'] = "REQUEST_URI" Code: $config['uri_protocol'] = "PATH_INFO" Then i tried this ajax Rating on other server, where it runs properly.I can use Code: $config['uri_protocol'] = "PATH_INFO" Can anybody suggest how to use both the uri protocols together or some other solution so that I can run Code Igniter as well as Ajax Rating on Server. Ajax star rating bar - El Forum - 06-04-2009 [eluser]wiredesignz[/eluser] This is one solution. htaccess for PHP-CGI hosting (and use segments with query strings) Ajax star rating bar - El Forum - 08-09-2009 [eluser]lotec[/eluser] I just worked through this and had a few hang-ups along the way. In hopes of helping others ease into a star rating system I have compiled this along with documentation. Hope others find it useful. Download the package HERE Thanks to all the original contributors for their fine work. Ajax star rating bar - El Forum - 10-28-2009 [eluser]handoyo[/eluser] Thanks lotec and wiredesignz Ajax star rating bar - El Forum - 07-01-2010 [eluser]no-cost lab[/eluser] Guys, first of all thank you for this great work! i followed all of lotec's instructions, but i got stuck at the demo part. what i get is: * Currently 0/10 '.$i.''; } } $i=0; // resets the count; ?> '.$id.' Rating: '.$rating1.'/'.$units.' ('.$count.' '.$tense.' cast)'; ?> instead of the rating bars. this is happening because of the dyanmic_rating.php file. something over there is not working properly. any ideas how to solve this? thanks! Ariel Ajax star rating bar - El Forum - 07-02-2010 [eluser]lotec[/eluser] Thanks Handoyo and Ariel, I just finished converting this into a module for pyrocms and ran into the same issue. To fix, change all opening instances of php short form in dynamic_rating.php from <?= to <?php Ajax star rating bar - El Forum - 07-02-2010 [eluser]no-cost lab[/eluser] Thanks for your assistance lotec, but it didn't work for me :-( I tried replacing the "<?=" as you suggested with "<?php", tried it again with the "<?php echo", later i tried replacing the "<?=" before the "for" loop, and i got: Fatal error: Call to undefined function site_url() in C:\wamp\www\codonco2\system\libraries\Loader.php(673) : eval()'d code on line 9 i guess something is off at the link statement. any ideas how to fix it? thanks again! Ariel Ajax star rating bar - El Forum - 07-02-2010 [eluser]lotec[/eluser] Try loading the url helper: $this->load->helper('url'); and update EVERY php start string to <?php Ajax star rating bar - El Forum - 07-04-2010 [eluser]no-cost lab[/eluser] Works now, thanks a lot! Ajax star rating bar - El Forum - 03-10-2011 [eluser]javer[/eluser] From where can i download demo files ? |