Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/257020-alumni-website/
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/257020-alumni-website/#findComment-1317761
Share on other sites

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.

 

 

Link to comment
https://forums.phpfreaks.com/topic/257020-alumni-website/#findComment-1317809
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.