|
| |||||||
| 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 |
| Administrator phpLD Administrator Supporter Join Date: Jan 2005 Posts: 12,325 | A big thanks to Dan for this mod. We'll be testing it, and then integrate it into future releases. Description: Allows surfers to suggest categories / subcategories. Suggested categories / subcategories are inactive until webmaster approves them via phpLD Admin - webmaster receives email confirmation when suggestions submitted. Demo: {redirected link removed} (click on 'Suggest Category' menu link) Download: http://www.monster-submit.com/phpld/ To download this and other VS mods, please go here : VS phpLD Mods __________________ Helpful Links: templates supporters forum █ New phpLD User? Start here █ Quality Guidelines for Directories █ Recommended Host Last edited by David; 03-22-2008 at 05:56 AM. |
| |
| | #2 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,184 | Thanks David! About this mod, when a category is suggested, it is added to the SQL database - but as inactive. Admin needs to activate (or delete) via admin. Future enhancement includes having the mod send an email when a category suggested. One phpld problem I discovered is that inactive categories along with active categories are displayed in the pull down category list for submit.php and suggest.php. Maybe have 2 category arrays (user and admin), where user category array only stores active categories? Regards, Dan Virtual Solutions monster-submit.com |
| |
| | #3 |
| Join Date: Aug 2005 Posts: 42 | Hi ! Nice MOD, I just have one suggestion. It would be nice to include the Description field also in the Suggest Category Page so that Admin does not have to key in the description. Of course Admin can always edit the description from the Admin section before approving the Category if description is inappropriate .Best regards, Karni |
| |
| | #4 |
| Join Date: Oct 2005 Posts: 2 | I got it to autoaccept by going into the "categories" table in PHPMyAdmin and changing "STATUS" default from 1 to "2". It worked. ![]() Code: Content visible to registered users only. |
| |
| | #5 |
| Join Date: Aug 2005 Location: Delaware Valley, PA Posts: 221 | Wow, I was just thinking I really needed this mod for SeekLocally, and -- Voila! here it is! This is great! I, for one, would prefer to monitor which categories are getting added, since I'm using this script for very specialized directories, so will leave it as it is, but the email notification to be sent out when the category is added would be VERY cool. I hope that's done soon so I can add it in time for the SeekLocally launch. |
| |
| | #6 |
| Join Date: Oct 2005 Posts: 2 | OK here's a problem I've having with this- if you suggest a category, and it gets approved with no URL title, the URL is all wrong and it just redirects to the home page. I was thinking that having the description field in mysql auto-increment to a number would fix it, but phpmyadmin is telling me only one field per table can auto-increment and the link # owns that already. Any ideas? |
| |
| | #7 |
| Mentor Join Date: Aug 2005 Location: New Jersey Posts: 331 | Code: Content visible to registered users only. Im also running into this same error. __________________ Free Webmaster Directory, Add your link! |
| |
| | #8 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,184 | Try v1.10 of the mod. Fixes title_url issue, and allows person to provide description. __________________ 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: Aug 2005 Posts: 260 | Thanks Dan. Kinda been waiting for this last tweak-fix.... |
| |
| | #10 |
| Join Date: Oct 2005 Posts: 6 | hi nice mod. thank you for sharing this. just one little question. is it possible for the admin to approve the submitted categories before posting it goes live? i am submitting categories as anonymous and it gets automatically added to the directory. |
| |
| | #11 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,184 | Code: Content visible to registered users only. __________________ 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! |
| |
| | #12 |
| Mentor Join Date: Aug 2005 Location: New Jersey Posts: 331 | Code: Content visible to registered users only. Just tested it out and it seems to be working fine! Thanks. __________________ Free Webmaster Directory, Add your link! |
| |
| | #13 |
| Join Date: Sep 2005 Posts: 677 | sorry for being a n00b but when i opened it i found that it was never called. should i add Code: Content visible to registered users only. __________________ Please check your sig links Last edited by David; 08-21-2008 at 04:25 AM. |
| |
| | #14 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,184 | Not a problem, explained in attached readme file. However, you have 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! |
| |
| | #15 |
| Join Date: Sep 2005 Posts: 677 | yeah, the first time i got it it didnt have a readme so i downladed again and it worked __________________ Please check your sig links |
| |
| | #16 |
| Join Date: Dec 2005 Location: New Brunswick, Canada Posts: 7 | Has anyone found a way to have the suggest category show the category it was clicked from instead of [Top] in the Parent box? This works in submit link so it should work in suggest. Right? Thoughts? |
| |
| | #17 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,184 | Try this. Open suggest.php and find: Code: Content visible to registered users only. Code: Content visible to registered users only. __________________ 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! |
| |
| | #18 |
| Join Date: Dec 2005 Location: New Brunswick, Canada Posts: 7 | Bingo! Thanks VSDan, works perfectly. |
| |
| | #19 |
| Join Date: Dec 2005 Location: Stevens Point, WI Posts: 72 | vdan...nice little mod! It was working fine in the original template, but when I switched templates it put the input box to the right of the header. you can view it here. The template maker suggested I ask you first. {old test url removed} Thanks for any help. Kevin Last edited by David; 03-22-2008 at 05:57 AM. |
| |
| | #20 |
| Supporter Moderator Join Date: Sep 2005 Location: Vancouver, BC, Canada Posts: 1,184 | Hi Kevin: I had a look at your site, and do not see a problem. Am I missing something? __________________ 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! |
| |