/    Sign up×
Community /Pin to ProfileBookmark

dynamic web site to the administrator

plz iwant to let the administrator of the web site revise the comments entered by the user and have the ability to put the good comments and delete the bad comments from showing in his website

may be i need new page shown to the administrator only and let him control his database to delete bad comments and printout others comments but i dont know how to make it.?

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@sloterOct 28.2008 — So you oviously need a login in system if you don't have one. Make a row called "admin" or "group" or similar. Just make one to tell the difference from a regular user and a admin(if you have an exisiting login system). Then on your comments add a row called "approve" and set it to 0 by defualt so there for there not approved by default or you could just have a php query set it to 0 by default. When the admin approves it he sets the approve to to 1 which will allow it to be showed. For the query pulling the coments from the database to be displayed just have it pull the comments that have approve = 1. This method is assuming your useing a databse.
Copy linkTweet thisAlerts:
@JustinOct 28.2008 — plz iwant to let the administrator of the web site revise the comments entered by the user and have the ability to put the good comments and delete the bad comments from showing in his website

may be i need new page shown to the administrator only and let him control his database to delete bad comments and printout others comments but i dont know how to make it.?[/QUOTE]


Do you expect us to code it for you? Or do you have a pointed question?

What do you have so far as your existing website? We need more information then what you need? Do you have an existing login system? Do users have the ability to comment at the moment? What system are you using (I'm assuming you are using an existing system instead of coding your own).
×

Success!

Help @jzs123 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...