| |||||||
| Register | Projects | FAQ | Members List | Mark Forums Read |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Hi can some one help me make the Top 10 block into Top Rated i kinda have an idea but it does not work right. $query = "select * from idx_link where suspended = 0 and rating = 1 order by rating desc, last_updated desc limit $params[max_item]"; Thanks in advance. Sorry! This works $query = "select * from idx_link where suspended = 0 and rating order by rating desc, last_updated desc limit $params[max_item]"; Last edited by DGTALGOODIES; 05-28-2009 at 10:46 PM. |
| |||
|
You are so overthinking this. <%block_rss_feed url="<%$site_url%>/rss.php?type=top" template="block.rss_feed.html" max_item="5" cache_time="86400"%> Done
__________________ Apparently Dody didn't like my signature saying "not the admin" so he deleted it. Did he not notice the fact that my title still says "administrator" and I haven't been the admin for months? |
| |||
| Code: Content visible to registered users only. Please register at http://www.nicecoder.com/community/register.php LOL what u mean i am overthinking this, i tough i did it the right way. Its working!Iam using this $query = "select * from idx_link where suspended = 0 and rating order by rating desc, last_updated desc limit $params[max_item]"; ![]() How is this <%block_rss_feed url="<%$site_url%>/rss.php?type=top" template="block.rss_feed.html" max_item="5" cache_time="86400"%> supposed to do the same thing! |
| |||
|
You say you want a top rated block, so I told you how to do it that takes no thinking and no work other than copy/paste. If you want to try and code it out, and get the same results, that would be overthinking it. It's a lot easier to just use the available rss feed.
__________________ Apparently Dody didn't like my signature saying "not the admin" so he deleted it. Did he not notice the fact that my title still says "administrator" and I haven't been the admin for months? |
| |||
|
I see but unfortunately the over thinking way is the only way i can get it to work i tried pasting your code but it does not work it shows partials text of the code prabably due of my lack of skills but its all good it works and i dont need the Top 10 block ![]() Thanks |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting Rated Tab? | Scripter1 | v5.x | 2 | 02-26-2008 07:38 PM |
| Get Rated | mycolumbus | Tutorials, Hints & Tips | 4 | 08-30-2006 10:04 AM |
| Top Rated | aladdin | v5.x | 3 | 06-08-2003 01:04 PM |
| Getting Rated | Andros | Tutorials, Hints & Tips | 1 | 11-14-2001 08:53 PM |
All times are GMT -5. The time now is 06:13 AM.




LOL what u mean i am overthinking this, i tough i did it the right way. Its working!
but its all good it works and i dont need the Top 10 block 
Linear Mode

