Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: How to require name for registered users comments ?  (Read 6350 times)

0 Members and 1 Guest are viewing this topic.

funkkybebel

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
How to require name for registered users comments ?
« on: July 13, 2004, 01:09:03 pm »

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 !  :\'(
Logged

funkkybebel

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
How to require name for registered users comments
« Reply #1 on: July 13, 2004, 01:17:09 pm »

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 !
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How to require name for registered users comments ?
« Reply #2 on: July 13, 2004, 02:11:03 pm »

The solution is to let them all register for themselves in there own name, or do it for them.
Logged
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

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How to require name for registered users comments
« Reply #3 on: July 13, 2004, 02:13:52 pm »

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?
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to require name for registered users comments ?
« Reply #4 on: July 13, 2004, 06:11:15 pm »

@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
Logged

funkkybebel

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: How to require name for registered users comments ?
« Reply #5 on: July 13, 2004, 06:26:47 pm »

Quote
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?

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to require name for registered users comments ?
« Reply #6 on: July 13, 2004, 06:40:19 pm »

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... :-\\
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How to require name for registered users comments ?
« Reply #7 on: July 13, 2004, 08:39:10 pm »

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?
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: How to require name for registered users comments ?
« Reply #8 on: July 14, 2004, 12:30:17 am »

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...
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How to require name for registered users comments ?
« Reply #9 on: July 14, 2004, 12:43:01 am »

You need to make these changes in theme.php.

Look for;
Code: [Select]
$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.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to require name for registered users comments ?
« Reply #10 on: July 14, 2004, 08:43:14 am »

@ 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
Logged

funkkybebel

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: How to require name for registered users comments ?
« Reply #11 on: July 14, 2004, 07:08:22 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.