|
| |||||||
| 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 |
| Join Date: Oct 2005 Posts: 15 | This mod will allow your phpLD directory script to display site thumbnails next to each link. Instructions -------------- 1. If you use this mod it'd be great if you'd give me a link. Thanks! Code: Content visible to registered users only. 3. Open /templates/pagerank.tpl and find... Code: Content visible to registered users only. Code: Content visible to registered users only. 5. Save pagerank.tpl file 6. Open /main.css and find... Code: Content visible to registered users only. 8. Save main.css 9. Enjoy! You're done! Others have contributed some great tweaks and variations of this mod in this thread and others where you can find out how to update/create the Alexa thumbnail, show thumbnails for featured links only, create a link for visitors to update thumbnails, show the thumbnail without the pagerank, and more so read on. PS: If you like this mod and you're using Firefox, you can get the same effect for Google, Yahoo, MSN and other search engines with BetterSearch or Google and Yahoo searches with GooglePreview. Last edited by David; 05-29-2010 at 05:14 AM. |
| |
| | #2 |
| Join Date: Aug 2005 Location: Delaware Valley, PA Posts: 221 | VERY nice! Yes, if I ever get done with paying work and get back to working on my own projects, seek locally will benefit by this one . . . just wish we could use it without that pr bar . . . |
| |
| | #3 |
| Mentor Join Date: Aug 2005 Location: New Jersey Posts: 331 | Code: Content visible to registered users only. __________________ Free Webmaster Directory, Add your link! |
| |
| | #4 |
| Join Date: Oct 2005 Posts: 15 | Code: Content visible to registered users only. Just replace steps 2-5 above with this for no PR bar... Open up a new file paste this Code: Content visible to registered users only. no PR bar for you! oh and I guess this also links the image with nofollow attrib and click track ID Last edited by David; 08-21-2008 at 04:33 AM. |
| |
| | #5 |
| Supporter Join Date: Oct 2005 Posts: 50 | While going through your site, if you find items that do not have current Alexa thumbnails, you can update them by going by visiting: htxp://thumbnails.alexa.com/update_thumbnail?url=nameofsite.com I click on the link, and paste "http://thumbnails.alexa.com/update_thumbnail?url=" before the url and press enter. Alexa will update the thumbnail within 2 days. Last edited by David; 08-21-2008 at 04:33 AM. |
| |
| | #6 |
| Supporter Join Date: Aug 2005 Location: Sweden Posts: 218 | Maybe you should somehow add a link in the admin approve links section of the phpLD directory script, so that all new sites get a thumbnail. Last edited by David; 05-29-2010 at 05:16 AM. |
| |
| | #7 |
| Supporter Join Date: Oct 2005 Posts: 50 | Since sites change over time, I would also love to see a little php program that goes through the database (starting at a given record number) and opens this window for every record a few seconds apart. Would it be difficult to program such a thing (as a standalone php program). For now, I am counting on the users to update the thumbnails. Therefore, my pagerank.tpl file, which displays the thumbnails, includes an "Update Thumbnail" button for the directory script users: Code: Content visible to registered users only. Code: Content visible to registered users only. Last edited by David; 05-29-2010 at 05:17 AM. |
| |
| | #8 |
| Supporter Join Date: Nov 2005 Posts: 10 | Hey...weird, I just did that this morning on my directory (the update thumbnail thingy) :? I also added that to the approve e-mail. Last edited by David; 08-21-2008 at 04:34 AM. |
| |
| | #9 |
| Supporter Join Date: Oct 2005 Posts: 50 | Tell me how you added this to the email notification function. I looked at adding it to the email "function" at the bottom of dir_approve_links.php, or adding it as a button in dir_approve_links.tpl. Neither of these seemed ideal (besides, I didn't know how to add it to the function, echo?). 0r... are you saying that you added this to the text of the email message that you send, telling the submitter to click on the link (not a bad idea). |
| |
| | #10 |
| Join Date: Sep 2005 Posts: 30 | I love this mod. But I am having a slight problem with it. In FireFox it looks great as you can see at {no longer using thumbnails and link removed} But if you go to the same page in IE the site discription drops down and beneath the alexa thumbnail. Does anyone know what I can do to fix this? Could this be because I am using vkaryl's great mod? Thanks, Jere __________________ {non working links removed from sig} Last edited by David; 03-07-2008 at 09:20 PM. |
| |
| | #11 |
| Join Date: Nov 2005 Posts: 10 | link.tpl Code: Content visible to registered users only. Example : {link removed - no longer using thumbnails} Last edited by David; 08-21-2008 at 04:35 AM. |
| |
| | #12 |
| Supporter Join Date: Oct 2005 Posts: 50 | Hizson: It looks as if you are IE is clearing your alignment after the title. Could you post your link.tpl file and the styles you are using in your stylesheet? |
| |
| | #13 |
| Join Date: Aug 2005 Posts: 260 | Hey Jere.... yep, it's no doubt because this mod wasn't available when I set up the description class for this template. I'll work it over this weekend, and post back when I've got a usable solution. Thanks for the heads up! |
| |
| | #14 |
| Join Date: Sep 2005 Posts: 30 | Great Varkyl...I really appreciate the help. Jere __________________ {non working links removed from sig} |
| |
| | #15 |
| Join Date: Aug 2005 Posts: 260 | Hi Jere (and anyone else who might need this) - See attachment: this includes pagerank.tpl and main.css - fixes both IE and FF for use with the Alexa thumbs mod. This is good with the thumbs but is a tad bit wonky without, so I'm providing it as just these two files instead of including it in the main template distro. Let me know if you run into any problems (but start a new topic in the Design forum, please!); I tested at 800x600, 1024x768, 1280x1024, and 1600x1200 on both FF 1.5 RC3 and IE 6. BTW, I took out the border=0 in the img call, inline css is a real no no, you should have a css selector in your stylesheet to cover no borders on images and images used as links/anchors (and since I'm including my main.css, you WILL have same if using my template). For those not using my template, but not sure what to put in the stylesheet, see following (implements no borders on images and images used as links/anchors): img, img a { border:0; } Other than that, relinkd, this is an OUTSTANDING mod, and thank you very very much for providing it to this community for free. |
| |
| | #16 |
| Join Date: Sep 2005 Posts: 30 | Thanks Varkyl. That straightened everything out for my directory. As always, great work. Jere __________________ {non working links removed from sig} |
| |
| | #17 |
| Join Date: Aug 2005 Posts: 260 | For anyone who's the same sort of "validation control freak" I am, here's an amended call which validates: Code: Content visible to registered users only. Follow the rest of the original instructions.... Relinkd, thanks again, and I'm linking as requested.... Last edited by David; 08-21-2008 at 06:46 PM. |
| |
| | #18 |
| Join Date: Jun 2005 Location: The world Posts: 813 | I'm using Alexa on one of my sites, but in the Link Details sections. What I did though was create it as a seperate mod. Also, I wrote a function that when Alexa gives their No Image available image, it goes ahead and contacts them so their's no need for human contact. It wouldn't be hard to add something like that into the Validate section, so the bot would know to check all the links :lol: later -Casey __________________ Casey Wilson / Ap0s7le Freelance Programmer Need help with PHPLD? PM me |
| |
| | #19 |
| Supporter Join Date: Dec 2005 Posts: 484 | Hi, im trying to attempt alexa thumbshots for featured links only. If this takes some timely coding then perhaps a way to supress page rank being attached to featured links? |
| |
| | #20 |
| Join Date: Jul 2005 Posts: 46 | Code: Content visible to registered users only. did you alredy finish this Link Details mod?I like the idea to have alexa image on details page. Is this mod available from where? Free,payable? |
| |