|
| |||||||
| Mods and contribution Discussion This forum is only for discussion of modding phpLD. For specific mod releases, please see the appropriate forum. |
![]() |
| | topic widgets |
| | #1 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,184 | Not sure if this has been done, but this quick mod will allow you display rating images. For example, 10 stars if rated 10 and 1 star if rated 1. Code: Content visible to registered users only. Sample images attached as stars.zip (feel free to download for your use - you can easily change the colours using an application like PainShop or PhotoShop, to name a few) Cheers. Dan Virtual Solutions monster-submit.com Last edited by VSDan; 10-09-2006 at 06:51 PM. |
| |
| | #2 |
| Join Date: Jun 2005 Posts: 350 | Thank for sharing VSDan! __________________ Greatest fear in a coder\'s world: A minute bug with correct syntax. Math Captcha - Database Backup Tool - PHP Background Image |
| |
| | #3 |
| Join Date: Oct 2005 Location: Moscow, Russia Posts: 4 | Code: Content visible to registered users only. Code: Content visible to registered users only. |
| |
| | #4 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,184 | Code: Content visible to registered users only. Code: Content visible to registered users only. Would not work in cases where rating was not a whole number or decimal as .5 - for example, 5.4 would equal 10.8. You need to round off to nearest whole number (round($link.RATE * 2)), which I believe requires {php}{/php} - something I was trying to avoid at the time. __________________ Dan █ phpLD Mods :: phpLD_Vault █ Webmaster Resources Directory █ phpLD_Vault Support IMPORTANT NOTE: phpLD_Vault Support not handled in this forum AND not via PM here. Click on link above for support. NO exceptions! |
| |
| | #5 |
| Join Date: Jan 2006 Location: NYC Posts: 7 | VSDan- nice work Sorry for being a newbie @ this but where would one put your code for it to work. Thanks in advance. |
| |
| | #6 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,184 | Sorry about that, in the link.tpl template file =) __________________ Dan █ phpLD Mods :: phpLD_Vault █ Webmaster Resources Directory █ phpLD_Vault Support IMPORTANT NOTE: phpLD_Vault Support not handled in this forum AND not via PM here. Click on link above for support. NO exceptions! |
| |
| | #7 |
| Join Date: Jan 2006 Location: NYC Posts: 7 | Code: Content visible to registered users only. thanks in advance. |
| |
| | #8 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,184 | Pretty much, anywhere you want the images to display. Play around with it until you get it right. __________________ Dan █ phpLD Mods :: phpLD_Vault █ Webmaster Resources Directory █ phpLD_Vault Support IMPORTANT NOTE: phpLD_Vault Support not handled in this forum AND not via PM here. Click on link above for support. NO exceptions! |
| |
| | #9 |
| Join Date: Jan 2006 Location: NYC Posts: 7 | thanks much... guess i wont know if it works until i fully launch the site and start to get some traffic. Thanks for all the help and nice mods VSDan |
| |
| | #10 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,184 | Thanks, and you're welcome =) __________________ Dan █ phpLD Mods :: phpLD_Vault █ Webmaster Resources Directory █ phpLD_Vault Support IMPORTANT NOTE: phpLD_Vault Support not handled in this forum AND not via PM here. Click on link above for support. NO exceptions! |
| |
| | #11 |
| Supporter Join Date: Nov 2005 Posts: 180 | You are the best! thanks buddy for sharing, all the best to you for the new year. |
| |
| | #12 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,184 | Thanks, and the same back at ya! __________________ Dan █ phpLD Mods :: phpLD_Vault █ Webmaster Resources Directory █ phpLD_Vault Support IMPORTANT NOTE: phpLD_Vault Support not handled in this forum AND not via PM here. Click on link above for support. NO exceptions! |
| |
| | #13 |
| Join Date: Nov 2005 Posts: 159 | Is this for if the rating mod is installed? |
| |
| | #14 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,184 | Yes, you need to have the Rating mod installed. __________________ Dan █ phpLD Mods :: phpLD_Vault █ Webmaster Resources Directory █ phpLD_Vault Support IMPORTANT NOTE: phpLD_Vault Support not handled in this forum AND not via PM here. Click on link above for support. NO exceptions! |
| |
| | #15 |
| Join Date: Jan 2006 Posts: 29 | Where is the rating mod? __________________ Please check your signature link |
| |
| | #16 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,184 | __________________ Dan █ phpLD Mods :: phpLD_Vault █ Webmaster Resources Directory █ phpLD_Vault Support IMPORTANT NOTE: phpLD_Vault Support not handled in this forum AND not via PM here. Click on link above for support. NO exceptions! Last edited by David; 06-22-2010 at 11:49 PM. |
| |
| | #17 |
| Supporter Join Date: Mar 2006 Posts: 15 | Link is broken. Where can I find the rate mod? |
| |
| | #18 |
| Join Date: May 2006 Posts: 168 | How do you install this mod? |
| |
| | #19 |
| Join Date: Feb 2006 Posts: 101 | i used this code so the image does not link to the site Code: Content visible to registered users only. Last edited by David; 06-22-2010 at 11:47 PM. |
| |
| | #20 |
| Supporter Join Date: May 2006 Posts: 293 | Where can I obtain the Rate Link System for 3.0.5? Thanks. |
| |