 |
 |
 |
 |
#237059 - 02/19/03 02:24 PM
Re: Threads Links Directory (TLD)
[Re: ]
|
Code Monkey
Registered: 04/19/02
Posts: 631
Loc: Enid, Oklahoma
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#237080 - 02/20/03 04:54 AM
Re: Threads Links Directory (TLD)
[Re: Mojojojo]
|
Member
Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#237098 - 03/14/03 10:48 AM
Re: Threads Links Directory (TLD)
[Re: Hal_dup2]
|
Member
Registered: 01/29/03
Posts: 258
Loc: SF, CA
|
Hey Mark,<br /><br />GREAT work on this. I have one minor change I made, which was to make your category input fields 50 chars in width. The DB column is set to Varchar(50) but the fields are only 20, and I was losing data in long category titles.<br /><br />Also, I was thinking that adding an ORDER field to the categories might be cool, so people could order the categories to appear how they want. If left NULL the default behaviour would be to sort alphabetically like you are already.<br /><br />Not sure what the protocol is for development like this, and I certainly do not want to step on any toes, but if you want some help hammering some of this out, I have a few spare cycles. I am really interested in using this thing and just want to see it get fully-fledged ASAP!<br /><br />Cheers,<br /><br />Chris
_________________________
"Some dream of doing great things, while others stay awake and get on with it." -- Anonymous
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#237100 - 03/15/03 12:48 PM
Re: Threads Links Directory (TLD)
[Re: ]
|
Enthusiast
Registered: 06/19/02
Posts: 307
Loc: Fernandina Beach, FL
|
Thanks for the feedback! Actually, all items in your post are on the to do list, some of which I have already done, such as the renaming of cats and changing a links cat. The hold up is only my finding the time to code, and of course some studying in my php book. <img src="/forum/images/graemlins/wink.gif" alt="" /> This will be my first script made from scratch that is for public release. I've done a few others, though very very simple, for personal use, so I want to try and make this as clean and professional as possible with good docs.<br /><br />I really was trying to do something on my own, just so I could say I did it, but I realize that most people take help and add to their scripts whenever possible. Also, quite a few people, it seems, are waiting for this. So, that being said, I'll gladly accept any help I can get.<br /><br />Thanks again for the input.<br /><br />Mark
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#237113 - 04/02/03 02:09 PM
Re: Threads Links Directory (TLD)
[Re: ]
|
Code Monkey
Registered: 04/19/02
Posts: 631
Loc: Enid, Oklahoma
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#237138 - 04/10/03 02:30 PM
Re: Threads Links Directory (TLD) BETA Version 1 Released!
[Re: ]
|
Member
Registered: 01/29/03
Posts: 258
Loc: SF, CA
|
Here is the dump of the error including the Magic Quotes setting and the query:<br /><br />Magic Quotes ON<br />Q = INSERT INTO w3t_links_links (cat_id, approved, title, url, description, date_added, name, hits, submitter, linkratingsummary, totalvotes, totalcomments) VALUES ('10', 0, 'Fluval Canister Filters', 'http://www.hagen.com/uk/aquatic/sub_category.cfm?CAT=1&SUBCAT=107', 'Excellent encapsulated filtration systems.', '1050002925', 'Raconteur', 0, '79', '0.0000', 0, 0)<br /><br />PHP Warning: php_hostconnect: connect failed in /s101/home4/syngnathids/ubbthreads/links/links_submit_link.php on line 79 PHP Warning: fopen("http://www.hagen.com/uk/aquatic/sub_category.cfm?CAT=1&SUBCAT=107", "r") - Bad file descriptor in /s101/home4/syngnathids/ubbthreads/links/links_submit_link.php on line 79 FAILED<br />
_________________________
"Some dream of doing great things, while others stay awake and get on with it." -- Anonymous
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#237142 - 04/10/03 04:12 PM
Re: Threads Links Directory (TLD) BETA Version 1 Released!
[Re: ]
|
Member
Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#237145 - 04/10/03 11:17 PM
Re: Threads Links Directory (TLD) BETA Version 1 Released!
[Re: ]
|
Enthusiast
Registered: 06/19/02
Posts: 307
Loc: Fernandina Beach, FL
|
Yes, that will be in the next update. I haven't decided how I want to go about it. I'm thinking of maybe moving all links into a que when a category is deleted as if waiting for approval. I can't imagine how often, though, that someone would want to delete a category that was full of links. Lots easier just changing the name, which is in this release. When you are talking about a mass move, are you thinking of generating a list with select boxes and then a drop down of cat to move them to?<br /><br />I also need to work on paginating, with the user selecting the number of links to display, say a choice between 10, 20 or as high as 50. Any ideas on how to do this, otherwise I'll pull out the old php how to book. <img src="/forum/images/graemlins/laugh.gif" alt="" /><br /><br />A couple of other things I want to add is a 'My Favorite Links' for registered members. Of course the ratings and and other features like maybe a review or recomended links by the staff, etc. One thing at a time. I need to figure out why that link won't work on your server. php.net, here I come. <img src="/forum/images/graemlins/wink.gif" alt="" />
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#237167 - 04/16/03 07:38 AM
Re: Threads Links Directory (TLD) BETA Version 1 Released!
[Re: sf49rminer]
|
Enthusiast
Registered: 06/19/02
Posts: 307
Loc: Fernandina Beach, FL
|
Chuck, I just went to your installation of TLD. You've got the right files, but soon after I posted the release, I noticed a couple of cosmetic issues and re-uploaded an updated version. Notably, when you go to the links page, there is a link in the main menu that says "Links-Meister: Bucaru". I took that out because it was a change that Reconteur had done for his install and I overlooked it when applying some of his changes.<br /><br />Also, I don't know if you are aware of this, but when I try to surf your site, no matter if it's the home page or the Main Index, I keep getting the following error:<br /><br />Problems with this web page might prevent it from being displayed properly or functioning properly.<br /><br />Line: 20<br />Char: 1<br />Error: Object Expected<br />Code: 0<br />URL: http://www.reeftalk.com/ubbthreads/postlist.php?Cat=&Board=News<br /><br /><br />The URL changes on each link I go to. I'm using IE 5 on the particular machine I'm talking about. Probably an IE5 thing but thought you might want to know in case it was something else.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#237184 - 04/17/03 03:33 PM
Re: Threads Links Directory (TLD) BETA Version 1 Released!
[Re: gailg]
|
Enthusiast
Registered: 06/19/02
Posts: 307
Loc: Fernandina Beach, FL
|
[]extremebikini said:<br />Maybe this is already voered, but there are too manyposts to read:<br /><br />1) The output after you submit a link is not in a table, therefore doesnt show up on my dark background<br />1b) Same with the invalid url submitted error.<br />2) The user is already authenticated, but asks for a Name and Email address; these are already available, why ask again?<br />3) The profile link doesnt work as it puts the name in the place of there the usernumber should be<br />4) When you submit a link there should be a "return to main index" page.<br /><br />Looks like a great start! [/]<br /><br />1 and 1b. Next release.<br />2. Working on this. As it stands, the changes Reconteursent did have it authenticated and correct, however, there was nothing set for an anonymous user to submit a link, should the admin desire to allow anonymous submissions. This will be added in the next release which I hope to get by this weekend.<br />3. See number two.<br />4. Didn't think of it. Will add it.<br /><br />I realize that many may think I'm moving kind of slow on this, but understand this is my very first script writing from the ground up. Everything else I've done have been hacks. What I'm trying to do first is get a code base done that is stable and ready for production site with minimal features (those which are there) and any major bugs eliminated. I'm hoping that after this weekends beta release, if everything goes A-OK, we can consider it stable, but again not until the few annoying things are worked out. Once I have a stable script, then I want to start adding all of the other bells and whistles. You're correct, though, this thread is getting quite long, so I'm wondering if maybe a new post for TLD feature requests and one for TLD bug reports would be in order. What do y'all think?
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#237198 - 04/18/03 05:11 AM
Re: Threads Links Directory (TLD) BETA Version 1 Released!
[Re: jfrosch]
|
Member
Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#237199 - 04/18/03 11:03 AM
Re: Threads Links Directory (TLD) BETA Version 1 Released!
[Re: sf49rminer]
|
Addict
Registered: 08/08/00
Posts: 1802
Loc: North Carolina
|
Some notes, I don't know if they've been brought up. I have TLD up unlinked on my site.<br /><br /> http://www.drumlines.org/threads/links.php<br /><br />When you submit a link, then click on "add another link", it just takes you back to links.php. Maybe there should be two options here? One could be "Add another link to this category" which would take you back to the link submission form, and the other could be "Return to links home".<br /><br />I have added another column to w3t_links called "order". I edited the PHP and tmpl files so that the categories are ordered according to the number in the "order" column. I did this since alphabetically wasn't working since my High School and College categories have so many sub-cats. I wanted to put them side-by-side so that the page would not be twice as long as it is now.<br /><br />I'm looking forward to the script picking up that a user is logged in and adds his/her information to the link. Personally, I would want only logged in members to be able to submit links. This would keep things more uniform and add yet another reason to sign-up. <img src="/forum/images/graemlins/grin.gif" alt="" /><br /><br />If you look at my "Drum Corps" category, you will see that the sub-cat "DCI" has 2 links. However, the category "Drum Corps" says it has zero total. Shouldn't this number reflect the total of links in "DCI" and "DCA"?<br /><br />And what the heck is up with the link-meister??? I took this out since it didn't make any sense to me. Hope it doesn't offend anyone.<br /><br />I like it when, just below the site's description, the actual URL appears in small text. Can this be added? <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />A "NEW" function would be GREAT! It could show users what, if any, links are new since they've last logged in, akin to new posts in the forum. They could also have an option for the links to "mark all read". <img src="/forum/images/graemlins/grin.gif" alt="" /><br /><br />Can a small text date/time stamp be added to the link for when it was submitted (not approved)?<br /><br />Maybe there could be an extra link by each link that could say something like, "Comment on this site". It could take them to a forum that would be hidden from being shown in postlist, like the shout box, and they could enter their comments, if any, about the site that's linked.<br /><br />If you made it this far into my post, you must have as much of a life as I do! <img src="/forum/images/graemlins/grin.gif" alt="" /><br /><br />So anyways, just some stuff I had on my mind. If some of it has already been discussed, send me to my room without dinner. I'll understand. <img src="/forum/images/graemlins/wink.gif" alt="" />
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#237202 - 04/18/03 03:01 PM
Re: Threads Links Directory (TLD) BETA Version 1 Released!
[Re: eslmix]
|
Enthusiast
Registered: 06/19/02
Posts: 307
Loc: Fernandina Beach, FL
|
Hello, 'Other' Josh! <img src="/forum/images/graemlins/wink.gif" alt="" /> I would be interested in seeing your files for the order of listing cats. It's something on my to do list, but since you've already done it perhaps I can use some of the code. Don't forget you can change the number of columns displayed as well. The variable is at the top of links.php.<br /><br />Yes, member/anon will be configurable, eventually from the admin.<br /><br />Linkmeister? <img src="/forum/images/graemlins/laugh.gif" alt="" /> You obviously were one of the 5 that got hold of the beta script before I could upload the correction for that. That's something Reconteur did for his site. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />The totals in the cats are for the number of links directly in that cat, but I've been thiking of changing this. Here's my thought. When the main cat is clicked it gives you a list of sub cats within that category of course, right? So, I'm thinking of setting up either a featured link list in the main category, which of course features links recomended by the admin, or perhaps is top rated (yes, ratings are in the future), or possibly the latest (new) links. The total of links next to the main cat would be total of links in the subcats. How does that sound. The more I think of it, I was planning on adding a 'New' category, so the idea of making the main cats for featured/popular links seems more appropriate. Essentially, if an admin wanted to, they could charge a fee for sites being featured near the top. Comments and ratings I think I've mentioned before. Date and time as well.<br /><br />One step at a time. <img src="/forum/images/graemlins/wink.gif" alt="" />
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#237217 - 05/14/03 04:42 PM
Re: Threads Links Directory (status update)
[Re: SurfMinister]
|
Enthusiast
Registered: 06/19/02
Posts: 307
Loc: Fernandina Beach, FL
|
Thanks Allen, oh and yeah, happy birthday!<br /><br />I thought I would update on where I am at on TLD.<br /><br />I've just completed the email notification - admin receives an email when a link has been submitted. The admin can optionally turn this off if they so desire.<br /><br />If the admin submits a link, it is automatically approved and entered into the database without further action.<br /><br />Users have been implemented, configurable as well. You can now dis-allow nonmembers the ability to submit links. Each link will have a link to the submitters profile. If you allow anonymous link submits, then the script will determine wether they are a member or not and provide either a link to their profile or a mailto link to email the nonmember.<br /><br />Anyway, that's where I am at. All of the above have been tested and proved flawless, but you can help me test it by going to the test site and trying it out, logged out and logged in. Thanks.<br /><br />The next steps will be to:<br /><br />add Popular Links, or Hot Links if you want to call them that (admin can determine how many hits a link must have before being considered popular)<br /><br />Ratings will be next. I figure a drop down box next to the link (convenient), or should it be a different page?<br /><br />These shouldn't be too difficult, I think, but I won't give a release date until I get them coded.<br /><br />Again, suggestions, or have I forgotten anything, Please let me know.<br /><br />Later.
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|