View Full Version : Programming Tips
webmaster
12-28-2004, 10:22 PM
I'm working on a new section of the site, and I need your help. I've thrown together a PHP script that allows visitors to read, write and rate programming tips: http://www.cprogramming.com/tips/ (http://www.cprogramming.com/tips/listTips.php). I'd like your help adding new and interesting tips for the site's visitors. All tips are moderated, so if you don't see your submission the first time, please don't keep posting it. I'll approve it quickly.
In addition, feedback and suggestions are welcome. (The next order of business will be to add some nice sorting features, so no need to suggest that one.)
I was just thinking, "I should add void main", when the page finished loading (56k line...), and lo and behold, look what Alex has posted!
A very nice idea!
I noticed my tip has been voted for more times than it has been viewed. A glitch?
I also noticed Alex added some more information to my suggesting. Thanks! (but you forget the closing parenthesis)
webmaster
12-28-2004, 10:40 PM
Sort of a glitch. Apparently somebody thinks its funny that I didn't add a check to make sure the same IP wasn't voting for the same tip multiple times. Looks like that needs to be fixed.
*cough* RoD! *cough*
edit: It was Kleid-O, wasn't it?
i only voted for alex's tip once, but i voted a 5 rating.
Maragato
01-13-2005, 10:41 PM
Well Ive added my tip I hope it be approved :)
Kleid-0
01-14-2005, 05:02 PM
edit: It was Kleid-O, wasn't it?
Well it's hard to do 20 votes now :( lol. Nice job webmaster!
cKoder
08-12-2005, 01:44 PM
right ive voted :)
Frobozz
08-12-2005, 03:18 PM
Nice job webmaster!
Funny how he's already offering to sell it to other sites before it even works right. :D
Afrinux
01-14-2006, 06:19 AM
Funny how he's already offering to sell it to other sites before it even works right. :D
Nothing wrong with that, as long he is willing to give the updates for free. And if someone buys it, his motivation will increase resulting in a better script.
Nice job webmaster, and also a pretty good idea.
One question: what happens if someone posts a fake tip? I think it would be better if you include feedback features.
Afrinux
beyonddc
01-28-2006, 11:51 PM
It's the first time I visited the tips site. I felt that it's a little bit messy and hard to navigate, but it's a good start though. A lot of them is very informative.
It would be very nice if it is organized in sections.
Such as
General C++ Tips
Memory Management Tips
Input/Output Tips
Networking Related Tips
Data Structure Tips
Algorithms
Design Patterns
and etc...
Dweia
01-29-2006, 03:15 PM
One question: what happens if someone posts a fake tip? I think it would be better if you include feedback features.
Afrinux
He said that he has to approve the tip first, so presumably he checks to see that it isn't a fake tip.
Koedoe
03-02-2006, 12:10 AM
Hmm...
I can't seem to see the tips:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '(created) as created from tiplist where 1 and showTip <
Tip Author Rating (votes) Added
emeyer
04-07-2006, 12:15 AM
There still seems to be a problem with this script.
Webmaster... I think the concept of this script was a really good one. I hope it gets fixed in due course (when you have the time of course).
Just wanted to make sure you knew that people were still looking.
Thanks
Eddie
Works, but there aren't so many tips yet. :)
Best Regards,
Arto Ruotsalainen
Dawn Bringer 3D - Frequently Updated Programming Tips & Tricks (http://www.dawnbringer3d.com)
The Best Programming Book (http://www.dawnbringer3d.com/?p=43)[/QUOTE]
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.