|
| |||||||
| 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 | This mod will list Featured Links above other links in New Listings, Popular Listings, and Top Rated Listings. Open index.php, and change: Code: Content visible to registered users only. Code: Content visible to registered users only. 1. Yours may look at little different as my index.php is modified. 2. Ignore case 'r' block if you are not using the Rating mod. __________________ 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! |
| |
| | #2 |
| Mentor Join Date: Aug 2005 Location: New Jersey Posts: 331 | Hey Dan, you have a demo up? Thanks __________________ Free Webmaster Directory, Add your link! |
| |
| | #3 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,184 | You bet - you can go here to see it in action: http://www.monster-submit.com/directory/ New Listings | Popular Listings | Top Rated ...any one of these will show that Featured Listings display first ahead of others. Not for everyone, but I wanted Featured Listings to show up first across the board. __________________ 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! |
| |
| | #4 |
| Supporter Join Date: May 2006 Posts: 1,279 | This feature works only showing the featured link on the category you choose it to be on. Is there a way to get the featured link to show up on ALL of the pages, including the main page? Thanks |
| |
| | #5 |
| Supporter Join Date: May 2006 Posts: 1,279 | Do we have a mod for this on 3.05? I want to get the featured links on the main page like this <--- look at the bottom. Last edited by David; 05-17-2010 at 11:34 PM. |
| |
| | #6 |
| Join Date: Aug 2006 Posts: 118 | Ya id like to get it working for 3.06 so the featured links are showing in the top rated, top hits etc...say with a maximum of 5 random featured links. Im gonna have sponsored links on the frontpage which will be dealt with differantly |
| |
| | #7 |
| Join Date: Sep 2006 Location: UK Posts: 53 | Great mod, now my top sites and latest link pages, show the featured sites first, brilliant __________________ Directory Blog |
| |
| | #8 |
| Join Date: Nov 2006 Posts: 53 | great mod but how show 5 random feature links in top of latest, top ... tks |
| |
| | #9 |
| Supporter Join Date: Feb 2006 Location: As far from you as humanly possible! Posts: 2,860 | Code: Content visible to registered users only. ORDER BY hits desc to ORDER BY RAND() |
| |
| | #10 |
| Supporter Join Date: Dec 2006 Posts: 96 | Is it valid for v2.1 ? |
| |
| | #11 |
| Mentor Supporter Moderator Join Date: Dec 2006 Location: Indiana Posts: 5,146 | yes it works on versions 2.x __________________ The Help Line :: The Best Place To Get Free Link Building, Traffic & PR Wesece :: General Free Directory Offering Detailed Website Statistics & Advanced SEO & Directory Tools phpLD & Webmasters Resource Forum Foamiki :: Foamy The Squirrel Wiki & Directory |
| |
| | #12 |
| Join Date: Sep 2005 Location: NC Posts: 796 | How about featured by pr for instace on this page /directory/index.php?p=d I have featured but I want to show feature by pr also how can I get just feature to show thumbnails Code: Content visible to registered users only. __________________ JoDee $10-5 & $5-3 deep links JoDeesWebDirectory.com HealthDirectory To succeed in Life its not always what you know but who you know Last edited by David; 05-17-2010 at 11:35 PM. Reason: added to description |
| |
| | #13 |
| Join Date: Jan 2007 Posts: 44 | I was able to get this to work for 3.1. Question: The featured listings are blended in with the regular listings. Example: /index.php?list=latest Anyone have a suggestion on how I can get the featured links in the "Latest links" and "Top links" to display like this: /Shopping/ on top of the other regular links? This will make the advantages of having a featured link more visible to visitors and potential advertisers. Last edited by David; 05-17-2010 at 11:35 PM. |
| |
| | #14 |
| Join Date: Jan 2007 Posts: 44 | Anyone know how to accomplish this? |
| |
| | #15 |
| Join Date: Sep 2006 Posts: 185 | How to get this work with v3.1 ?? I cant find the following code ... Code: Content visible to registered users only. __________________ BEST Web Directory Permanent Regular links with 3 Deep Links for $14.95 Only Free Blog Directory ~ PHPLD_Vault Rocks |
| |
| | #16 |
| Join Date: Sep 2005 Location: NC Posts: 796 | Do I add it where I have this case 'latest': $links = $db->GetAll ("SELECT * FROM `{$tables['link']['name']}` WHERE `STATUS` = '2' {$expire_where} ORDER BY `DATE_ADDED` DESC LIMIT 0, ".LINKS_TOP); $path[] = array ('ID' => '0', 'TITLE' => _L('Latest Links'), 'TITLE_URL' => '', 'DESCRIPTION' => ''); break; case 'top': $links = $db->GetAll ("SELECT * FROM `{$tables['link']['name']}` WHERE `STATUS` = '2' {$expire_where} ORDER BY `HITS` DESC LIMIT 0, ".LINKS_TOP); $path[] = array ('ID' => '0', 'TITLE' => _L('Top Hits'), 'TITLE_URL' => '', 'DESCRIPTION' => ''); break; __________________ JoDee $10-5 & $5-3 deep links JoDeesWebDirectory.com HealthDirectory To succeed in Life its not always what you know but who you know |
| |
| | #17 |
| Supporter Join Date: Jun 2007 Posts: 140 | Code: Content visible to registered users only. Showing featured as a seperate list above normal listing: hi, i have used the following code to show featured links as a seperate list in New Listings, Popular Listings, and Top Rated Listings. Demo : http://www.dir.vc Tested on phpLD 2.1.2 requesting feedback on other versions, Code: Content visible to registered users only. Regards M. __________________ |
| |
| | #18 |
| Mentor Supporter Moderator Join Date: Dec 2006 Location: Indiana Posts: 5,146 | thanks msolution dan why isn't the rate part of it working? eh i'll get off my lazy butt and scan your forum here in a bit __________________ The Help Line :: The Best Place To Get Free Link Building, Traffic & PR Wesece :: General Free Directory Offering Detailed Website Statistics & Advanced SEO & Directory Tools phpLD & Webmasters Resource Forum Foamiki :: Foamy The Squirrel Wiki & Directory |
| |
| | #19 |
| Join Date: Jul 2007 Posts: 128 | Hi msolution, Great mod! It works on v3.20 too! Last edited by David; 05-31-2010 at 03:00 AM. |
| |
| | #20 |
| Mentor Supporter Moderator Join Date: Dec 2006 Location: Indiana Posts: 5,146 | for linkbid 3.2 find Code: Content visible to registered users only. Code: Content visible to registered users only. __________________ The Help Line :: The Best Place To Get Free Link Building, Traffic & PR Wesece :: General Free Directory Offering Detailed Website Statistics & Advanced SEO & Directory Tools phpLD & Webmasters Resource Forum Foamiki :: Foamy The Squirrel Wiki & Directory |
| |