forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: Tranz on November 20, 2004, 07:29:06 pm

Title: heads-up: report to moderator function
Post by: Tranz on November 20, 2004, 07:29:06 pm
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.
Title: Re: heads-up: report to moderator function
Post by: Tranz 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. (https://forum.coppermine-gallery.net/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.
Title: Re: heads-up: report to moderator function
Post by: Casper on November 21, 2004, 01:11:15 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.
Title: Re: heads-up: report to moderator function
Post by: Tranz on November 21, 2004, 01:21:17 am
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.
Title: Re: heads-up: report to moderator function
Post by: cryogenic on November 21, 2004, 11:58:20 am
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. :)
Title: Re: heads-up: report to moderator function
Post by: Casper on November 21, 2004, 12:00:35 pm
You could of course just changed theme to make the change   ;D

But it does show in all themes, including 2bornot2b.
Title: Re: heads-up: report to moderator function
Post by: cryogenic on November 26, 2004, 08:56:00 am
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.
Title: Re: heads-up: report to moderator function
Post by: Tranz on November 26, 2004, 09:50:25 am
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.
Title: Re: heads-up: report to moderator function
Post by: Casper on November 26, 2004, 11:15:14 am
@ 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 .
Title: Re: heads-up: report to moderator function
Post by: cryogenic on November 27, 2004, 11:28:23 am
ah.. That's what I always forget to update! That makes TWICE I've done that. Thanks for the heads-up. :)