Deanznet Posted November 8, 2007 Share Posted November 8, 2007 Anyone have an idea where their might be a good tutorial on this.. I would like to have a Multi Page Comment Box.. so i people can comment on different images on different page.. But it also has to be able to make them log in befor commenting.. Anyone know of a good script or has a tutorial. Link to comment https://forums.phpfreaks.com/topic/76472-multi-page-comment-system/ Share on other sites More sharing options...
trq Posted November 8, 2007 Share Posted November 8, 2007 Try googling for a blog or something. You need to learn by example, not look for specifics. Link to comment https://forums.phpfreaks.com/topic/76472-multi-page-comment-system/#findComment-387299 Share on other sites More sharing options...
Crew-Portal Posted November 8, 2007 Share Posted November 8, 2007 check to make sure session_is_registered(user_logged_in) and make a thing that has like ?page=2 or whatever and this will take the limit function in the Sql Query. Besides that google is a good resource, also search blogs in PHPFreaks im sure ive seen this post before, and to make sure im understanding correctly do you mean something like youtubes comment sections? Link to comment https://forums.phpfreaks.com/topic/76472-multi-page-comment-system/#findComment-387301 Share on other sites More sharing options...
trq Posted November 8, 2007 Share Posted November 8, 2007 check to make sure session_is_registered(user_logged_in) session_is_registered() has been depricated for a number of years and should no longer be used. Link to comment https://forums.phpfreaks.com/topic/76472-multi-page-comment-system/#findComment-387303 Share on other sites More sharing options...
Crew-Portal Posted November 8, 2007 Share Posted November 8, 2007 Why does it say your offline as your posting? Oh well, anyways all of my websites use session_is_registered so how do I use it now? session_is_registered is all I know how to do! How do you register sessions? do you use cookies or what? Link to comment https://forums.phpfreaks.com/topic/76472-multi-page-comment-system/#findComment-387306 Share on other sites More sharing options...
Aureole Posted November 8, 2007 Share Posted November 8, 2007 I register sessions like so... <?php session_start(); $_SESSION['something'] = 1; ?> Probably wrong, but it works. Link to comment https://forums.phpfreaks.com/topic/76472-multi-page-comment-system/#findComment-387431 Share on other sites More sharing options...
Deanznet Posted November 8, 2007 Author Share Posted November 8, 2007 I already know how to make a page required to login but i just want to make them have to login to post so we dont have people posting as other people.. I think i found a script... but it has a field for name and email. How hard would do you think to change so it makes them login and grab their id and email and post it.. Link to comment https://forums.phpfreaks.com/topic/76472-multi-page-comment-system/#findComment-387529 Share on other sites More sharing options...
Deanznet Posted November 8, 2007 Author Share Posted November 8, 2007 Actually is their way to hide to comment system instill the user logins.. if it check if the user logged in and if their not it tells them to login to comment and if they are logged in it will show the comment script. Link to comment https://forums.phpfreaks.com/topic/76472-multi-page-comment-system/#findComment-387540 Share on other sites More sharing options...
Aureole Posted November 8, 2007 Share Posted November 8, 2007 Well on your sign in page if the username and password is found and they match then $_SESSION['logged_in'] = 1; then do a check for that value, basically. Link to comment https://forums.phpfreaks.com/topic/76472-multi-page-comment-system/#findComment-387618 Share on other sites More sharing options...
harpster Posted June 23, 2009 Share Posted June 23, 2009 Hi guys. I just started learning PHP about a week ago so I'm a total newbie. I found this old topic which is pretty close to what I'm looking for. What I need is as the OP said, a system where there's multiple pages with different users posting either a note or an image, and others being able to LOGIN and then comment on it. Since I'm new to PHP, I guess building something like this from scratch is not a great idea. I've looked around for some blog scripts but does anyone know a good one that already has a LOGIN system in place and preferably the ability for multiple users to post? It will be difficult for me to implement a good/secure login system myself. I guess it's kind of a hybrid forum/blog since each user can post (not just the owner). Any help will be appreciated. Thanks! Link to comment https://forums.phpfreaks.com/topic/76472-multi-page-comment-system/#findComment-861739 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.