How to require name for registered users comments ? How to require name for registered users comments ?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

How to require name for registered users comments ?

Started by funkkybebel, July 13, 2004, 01:09:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

funkkybebel

Hello everybody and thanks to the comunity of cgp !  :-*

everything is ok on my site, but just one thing:

is there a code that enables the user (already registered) to let him write his name in the comments page ?

i mean i have no "users" in my site but "groups of users" that login all with the same pass&login so when they post comments, nothing can tell us who really posted the comments (i can only know to wich group it belongs)
i have a group -> "family" and another "friends" but there are many people in each !

i have seen many posts that have the same context:
http://forum.coppermine-gallery.net/index.php?topic=3431.0
http://forum.coppermine-gallery.net/index.php?topic=5321.0
http://forum.coppermine-gallery.net/index.php?topic=7025.0
http://forum.coppermine-gallery.net/index.php?topic=5514.0
http://forum.coppermine-gallery.net/index.php?topic=5835.0
http://forum.coppermine-gallery.net/index.php?topic=235.0

but i didn't found the solution of my problem.

Please don't tell me to make as many accounts as there is users. I don't even want to let register them.

Thank you all for your help !  :\'(

funkkybebel

hello everybody and thank you for this excellent gallery script !

i have just a problem:

is there some code that enables the users (already logged) to enter their name in the comments ?

i mean i don't have "users" in my site but "groups of users"

i have a group called "family" and another "friends" and in each there are many people.
When a user from a group posts a comment, i could not know who really posted this comment but only know the group it belongs !

i searched from the forum:
http://forum.coppermine-gallery.net/index.php?topic=3431.0
http://forum.coppermine-gallery.net/index.php?topic=5321.0
http://forum.coppermine-gallery.net/index.php?topic=7025.0
http://forum.coppermine-gallery.net/index.php?topic=5514.0
http://forum.coppermine-gallery.net/index.php?topic=5835.0
http://forum.coppermine-gallery.net/index.php?topic=235.0

but nothing helped!

please thank you for your help !

Casper

The solution is to let them all register for themselves in there own name, or do it for them.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Casper

This is already there, but you have short circuited it by allowing more than 1 person to use the same account.

Why don't you just let them register for themselves, or do it for them, and allocate them to the groups you want them in?
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

@funkkybebel: don't double-post in the future, double-posting are causing double-trouble for supporters. I merged you postings into one.

Having more than one person share a login is not a good idea in any web-based application. Do as Casper suggested, everything else would be not worth the effort.

GauGau

funkkybebel

QuoteWhy don't you just let them register for themselves, or do it for them, and allocate them to the groups you want them in?

1) because i don't know how many they are !
2) because if i receive a mail notif from someone who would like to register, i can't know if this person really belongs to "friends" nor "family" so perhaps it is a stranger that would make trouble in the community
3) because not all of my users are familiar with internet & high tech stuff (grand-pa, grand-ma, uncle x etc... you know what i mean) so i don't borrow them and give ONE pass for everyone.

Please , i repeat, is there in this forum someone who know how to hack some code to enable users to put their name in the comments EVEN IF they are already logged with the "general account" ?

Please Help me guys ! ???

Quote@funkkybebel: don't double-post in the future, double-posting are causing double-trouble for supporters. I merged you postings into one.
Thank you and forgive me i did not saw my post the first time but if you want you can delete one

Joachim Müller

Register for you grand-ma and grand-pa, then send them an email (they'll be happy to hear from you) along with their username and password. Then enable registration for everyone, and all those who register and you don't know, simply let them stay in the registered group that doesn't have any special privileges. They must know the process of logging in, since they managed to do so once when they logged in with the account you told them to use, and the list of users you send the login data surely isn't infinite.
Those who register and you know them (because you recognize their email address or whatever) can be put into a group "family&friends", which has higher privileges.
Please understand that your whole concept of undermining single user login and then fixing stuff at the comments side is just wrong; even if you manage to "fix" the comments issue, you'll run into other problems later. If you think you still need the "fix", you'll have to code it for yourself, since I'm reluctant to code modifications I can't see any point in - I guess Casper and the other devs see it the same way (well, you could prove me wrong, guys).

GauGau

P.S. I've seen this discussion quite often before, both here on this board and on support boards of other apps that have a user database... :-\\

Casper

Yes, I see it the same way as Gaugau.  You can set group permissions so you only let those you know and trust do certain actions.  If you are worried about certain people coming on your site just to cause trouble, what you ask will let them do just that, post a nasty comment and pretend to be someone else.  The current system stops that

@ Gaugau, On the double post side, the site has been having a bad couple of days, and it has caused me to double post replies a couple of times as well.  I have found myself able to connect ok to sourceforge during these periods, are we having trouble again, like we did prior to the switch to smf?
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

funkkybebel

ok, i'll try to code this myself >:(even if i don't know nothing about php !

can you please just tell me WHAT is the file that i should modify to resolve MY problem ???

thanks...

Casper

You need to make these changes in theme.php.

Look for;
$template_add_your_comment


What you are trying to do is the way it worked in earlier versions, so you may like to compare how it to an older version of the same file.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

Quote from: Casper on July 13, 2004, 08:39:10 PM@ Gaugau, On the double post side, the site has been having a bad couple of days, and it has caused me to double post replies a couple of times as well.  I have found myself able to connect ok to sourceforge during these periods, are we having trouble again, like we did prior to the switch to smf?
Yes, has been the same for me as well, SF.net seem to be running on overload once again. Hopefully they will fix this soon. In the meantime, I promise not to react too harshly if people double-post  ;), as I understand that time-out issues may have made them post twice...

GauGau

funkkybebel

i can't do this hack myself so i continue using the script "Dalbum" for my gallery

thank you.  bye :\'(

see you later perhaps in another version including my request.