heads-up: report to moderator function heads-up: report to moderator function
 

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

Main Menu

heads-up: report to moderator function

Started by Tranz, November 20, 2004, 07:29:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tranz

If you have retrieved the latest files from the CVS, you may notice that displayimage.php has an error message. We're working on implementing the report to admin/mod function and it's a work-in-progress.

To get rid of the error message, you must toggle on the option (for now). It's in Config under Miscellaneous: Enable Report to Admin. You must run an update so that the database will have the field to remember that setting.

You don't have to test it now since we're still working on it. I'm just letting you know how to avoid the error message for now.

Additionally, the report buttons are only available in Classic theme now.

Sorry for the inconvenience.

PS. We would appreciate ideas on an icon to use to represent the report button.

Tranz

#1
Woohoo! Casper fixed it so that displayimage.php works whether the report toggle is off or on. (https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Ftu2.net%2Fforums%2Fimages%2Fsmiles%2Ficon_clap.gif&hash=2e6a95ac0e148480fe34d75a12f7c409fba9c9e4)

We still have a lot of work to do on it, though.

Casper

Quote from: TranzNDance on November 21, 2004, 12:52:56 AM
Woohoo! Casper fixed it so that displayimage.php works whether the report toggle is off or on.

Only in classic theme though.  you still need to have the option to report toadmin switched on if testing other themes.
We will update the other themes when the all seems to be working as we want.
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

Tranz

Yeah, there's no point in fixing the other themes when we haven't finished getting the function working in Classic.

Sorry for the inconvenience.

cryogenic

Amusingly, the option is not even present in the config when I use the 2bornot2b theme from Tarique.... I had to manually go into the db and change the value to 1. I verified I'm running the latest version from CVS and even found the correct code in the file. However, the option refuses to show. Thank god for phpmyadmin. :)

Casper

#5
You could of course just changed theme to make the change   ;D

But it does show in all themes, including 2bornot2b.
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

cryogenic

Has it been recently added in your theme? I have a relatively old version that I cleaned up myself from forever ago so that may be the problem. I think I'm still running the 2nd version of your theme that I changed. I'm not really that concerned with it as I just changed the value in the db manually and it's a feature that I would never in a trillion years ever even think of using.

Tranz

Well, it could also be used for reporting broken images or video that doesn't show. Even if those issues are due to the user's settings, it would be helpful to the gallery owner to know that people have issues and with which file.

Casper

@ cryogenic,  the contents of the config page are set by the language file, not by the theme files.
So are you sure you updated your english.php .
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

cryogenic

ah.. That's what I always forget to update! That makes TWICE I've done that. Thanks for the heads-up. :)