| | |||||
| ||||||||
| CODE This forum is for posting code snippets and example scripts that aren't quite tutorials, but could be useful for others. You may post code snippets and/or completed scripts that you've written and want to share here. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Jul 2008 Location: Wichita, KS
Posts: 287
![]() ![]() ![]() ![]() | |
| | |
| | THREAD STARTER #2 (permalink) |
| NamePros Regular Join Date: Jul 2008 Location: Wichita, KS
Posts: 287
![]() ![]() ![]() ![]() | I noticed several NP'ers have tested the script. Any comments or issues? Word from PHP Classes is it's been OK'd and will be added in next round of approvals.
__________________ Free Services: Alertable.com, DetectMobileBrowser.com, DropCart.com, FreeCronJobs.com, HTMLDTD.com, ImagePNG.com, NoCart.com, phpMyLogin.com, RandomTweeps.com, SearchFriendlyURLs.com For Sale: Keyword Domains / Generics See Also:: Google Voice Add-on for Firefox, Google Wave Add-on for Firefox |
| | |
| | #3 (permalink) |
| NamePros Regular Join Date: Mar 2006 Location: Connecticut, USA
Posts: 281
![]() | Where would plug-ins come from?
__________________ DarkNeoNetwork |
| | |
| | THREAD STARTER #4 (permalink) | ||||
| NamePros Regular Join Date: Jul 2008 Location: Wichita, KS
Posts: 287
![]() ![]() ![]() ![]() |
The first plugin-like addition is built into the script, which is the new user notification e-mail. PHP Code: I will release them along a user profile plugin once I finish developing the plugin system. As mentioned in the changelog, I still have a few things to do before plugins are automatically activated. Right now they have to be manually added to the script. If you want to test the script without signing up you are welcome to log in as test with the password testing. There is a secure page here that can only be viewed when you're logged in.
__________________ Free Services: Alertable.com, DetectMobileBrowser.com, DropCart.com, FreeCronJobs.com, HTMLDTD.com, ImagePNG.com, NoCart.com, phpMyLogin.com, RandomTweeps.com, SearchFriendlyURLs.com For Sale: Keyword Domains / Generics See Also:: Google Voice Add-on for Firefox, Google Wave Add-on for Firefox | ||||
| | |
| | THREAD STARTER #6 (permalink) | ||||
| NamePros Regular Join Date: Jul 2008 Location: Wichita, KS
Posts: 287
![]() ![]() ![]() ![]() |
????: NamePros.com http://www.namepros.com/showthread.php?t=548502
__________________ Free Services: Alertable.com, DetectMobileBrowser.com, DropCart.com, FreeCronJobs.com, HTMLDTD.com, ImagePNG.com, NoCart.com, phpMyLogin.com, RandomTweeps.com, SearchFriendlyURLs.com For Sale: Keyword Domains / Generics See Also:: Google Voice Add-on for Firefox, Google Wave Add-on for Firefox | ||||
| | |
| | THREAD STARTER #8 (permalink) |
| NamePros Regular Join Date: Jul 2008 Location: Wichita, KS
Posts: 287
![]() ![]() ![]() ![]() | The script was just approved on PHP Classes
__________________ Free Services: Alertable.com, DetectMobileBrowser.com, DropCart.com, FreeCronJobs.com, HTMLDTD.com, ImagePNG.com, NoCart.com, phpMyLogin.com, RandomTweeps.com, SearchFriendlyURLs.com For Sale: Keyword Domains / Generics See Also:: Google Voice Add-on for Firefox, Google Wave Add-on for Firefox |
| | |
| | #9 (permalink) |
| First Time Poster! Join Date: Jun 2009 Location: Milano Italy
Posts: 1
![]() | Hello Chadsmith, I didn't fully test the demo but observed that in case of password change, the pseudo seems to be asked as key. I would like to apply the code for a script where the key for changing the password should be the permanent email address (the one for signing up). Which set of changes should be done to adapt correctly the script (MySQL version)? If my question is too noobish, please consider pm, Kind regards Basile
Last edited by Basile; 06-20-2009 at 08:50 AM.
|
| | |
| | THREAD STARTER #10 (permalink) |
| NamePros Regular Join Date: Jul 2008 Location: Wichita, KS
Posts: 287
![]() ![]() ![]() ![]() | Hi Basile, That's a good question. I am going to post the code for that on the support page for the script, since I'm sure others will be interested in it as well. I am out tonight, but hope to have something up for you by Monday.
__________________ Free Services: Alertable.com, DetectMobileBrowser.com, DropCart.com, FreeCronJobs.com, HTMLDTD.com, ImagePNG.com, NoCart.com, phpMyLogin.com, RandomTweeps.com, SearchFriendlyURLs.com For Sale: Keyword Domains / Generics See Also:: Google Voice Add-on for Firefox, Google Wave Add-on for Firefox |
| | |
| | #11 (permalink) |
| Account Closed Join Date: Dec 2008 Location: Boston, Ma
Posts: 650
![]() ![]() ![]() ![]() ![]() ![]() | I did not go into great detail in reviewing this, but it looks like you are on teh right track, I would like offer jsut a few humble suggestions. 1. I wouldn't integrate the template and the design. I would use a custom templating engine personally. Then users can change designs fast. 2. Instead of using the mail() function, I would use smtp_auth. More and more servers are marking emails as spam that are sent via mail(), prolly due to the mail sending configuration. I enjoy phpmailer, it is fast to setup and quite configurable. 3. I would get rid of the cookies and store the data in sessions only. Reason being that many people use software to block cookies... or block in their browser. *I know, paranoya. ![]() 4. Try using custom sessions using sessions and mysql based on IP, user agent, and user_id for authenticating. This way you prevent multiple logins with the same user account and add a bit more security due to the custom sessions. I wish you the best of luck brother and thanks for sharing! Wichita, you are brave brother! Watch out for them twisters!! |
| | |
| | THREAD STARTER #14 (permalink) |
| NamePros Regular Join Date: Jul 2008 Location: Wichita, KS
Posts: 287
![]() ![]() ![]() ![]() | The script automatically sets up the tables on first run. Here's the SQL: Code: CREATE TABLE IF NOT EXISTS `users` (`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` VARCHAR(24) NOT NULL, `password` VARCHAR(32) NOT NULL, `email` VARCHAR(64) NOT NULL) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `usermeta` (`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY, `user` INT NOT NULL, `key` VARCHAR(64) NULL, `value` TEXT NULL, INDEX (`user` ,`key`)) ENGINE=MyISAM DEFAULT CHARSET=utf8;
__________________ Free Services: Alertable.com, DetectMobileBrowser.com, DropCart.com, FreeCronJobs.com, HTMLDTD.com, ImagePNG.com, NoCart.com, phpMyLogin.com, RandomTweeps.com, SearchFriendlyURLs.com For Sale: Keyword Domains / Generics See Also:: Google Voice Add-on for Firefox, Google Wave Add-on for Firefox |
| | |
| | #15 (permalink) |
| New Member Join Date: Aug 2009
Posts: 14
![]() | thanks. I created the users table after looking intoo the code, but i couldn't make the usermeta because i didn't knew all the field names ![]() as i tested until now the script, it's very good .. and cool ![]() keep up the good job Chad |
| | |