ram_sanjay76 Posted February 13, 2012 Share Posted February 13, 2012 hey guys!, im finding it difficult to do my miniproj on "alumni websit" can you help me out? features: 1)first page is the login/register page where we can login as a admin or a member 1.1)logged in as a member we should have features like sending messages to other members we should be able to post in open forum see in the second step when we post in the forum, the admin will hav to approve whether to post it or not(basing on the adult content) 1.2)logged in as a admin he should be able to remove users,approve messages Quote Link to comment https://forums.phpfreaks.com/topic/257020-alumni-website/ Share on other sites More sharing options...
spiderwell Posted February 13, 2012 Share Posted February 13, 2012 well this is a very vague question asking for a lot of content, what have you got so far? Quote Link to comment https://forums.phpfreaks.com/topic/257020-alumni-website/#findComment-1317555 Share on other sites More sharing options...
ram_sanjay76 Posted February 13, 2012 Author Share Posted February 13, 2012 hi,my name is sanjay,thanks for your reply. really i havent made my step yet! see the attatchment... create the following database:"test" table:"login_table" in that table there are two columns username,password.. i would b so grateful to you if u guide and pull me out of this situation... 17575_.txt Quote Link to comment https://forums.phpfreaks.com/topic/257020-alumni-website/#findComment-1317761 Share on other sites More sharing options...
spiderwell Posted February 13, 2012 Share Posted February 13, 2012 so it looks like you have the login and out script working and a page to admin to go to when logged in. using an if statement you could direct ordinary users to a different page. the forum you speak of, is that one you have to make yourself or are you using a 3rd party one? it would be a lot of code to make a forum like this one for example. you can set permissions on them for message approval a simple message system shouldn't be too hard to devise, you would have to make a table to store messages in, then you could generate a list of users to send to from the login table. user management can be done with listing users and having a delete link passing an id , but of course that would need to be done in a secure fashion to prevent abuse, POST data might be preferable. messages could be approved via a similar list with an approve button that triggers an update on the message stored in the db to have its 'approved' column checked/true or however you choose to declare the difference between approved or not, you might want 3 options for: to be approved, approved, disapproved i hope that helps, I cant really give you any code more an idea of how i might do some parts of it if it was me. Quote Link to comment https://forums.phpfreaks.com/topic/257020-alumni-website/#findComment-1317809 Share on other sites More sharing options...
ram_sanjay76 Posted February 14, 2012 Author Share Posted February 14, 2012 did u test the code ive sent u?? im using php 5.3.5v im getting the following errors 1)wrong username and password 2)and it says session_is_registered deprecated??? Quote Link to comment https://forums.phpfreaks.com/topic/257020-alumni-website/#findComment-1317983 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.