totally remove user galleries from album list totally remove user galleries from album list
 

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

totally remove user galleries from album list

Started by rrwwxx, July 21, 2007, 01:23:30 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

rrwwxx

I installed cpg1.4.12 and added a couple of albums without putting them into seperate categories. So it's all fine so far, but when my friend who is supposed to act as an admin added a category, it was created as a user gallerie which I dont really want to see.

See this screenshot

[Edit GauGau] Replaced hotlinked file with attachment [/Edit]

So how can I disable these user categories or at least make them invisible in the album list? I could delete the errorneous user category so when I click on the User galleries it says that there are no galleries available.

I liked it the way it used to be and now I haven't found a way to remove the visibility as this gallery is not supposed to accept and display images from visitors / users other than the ones uploaded by an admin.


thanks for help,
rrwwxx

Nibbler

Disable personal albums on the groups page and delete the personal albums you already have. The category will then disappear. Search the board if you need more information on how to do this.

rrwwxx

#2
Yeah thanks for the info. I have found another way by now. I remembered how to configure the album view and disabled the display of catlist. This remains in there:

[Edit GauGau] Replaced hotlinked file with attachment "screenshot1.jpg" [/Edit]

So for now I don't have the user galleries on the main page anymore.
But I hadn't changed anything in the default permissions for guests, so it is set like this (sorry for the German settings, but it wouldn't switch back to English, even when I change the language):

[Edit GauGau] Replaced hotlinked file with attachment "screenshot2.jpg" [/Edit]


Is that correct? Personal Galleries are only allowed after acknowledgment, in whatever way I would get informed about it.
cu,
rrwwxx
°¿°

sharon1

Found this by searching.  Thanks, Nibbler, worked great!!

Sharon

Joachim Müller

Quote from: rrwwxx on July 21, 2007, 02:55:41 AM
Yeah thanks for the info. I have found another way by now. I remembered how to configure the album view and disabled the display of catlist.
This is nonsense and not what Nibbler suggested. Undo this!

rrwwxx

Yeah when I looked on my old screenshots again, I could see what I was missing after I made these changes as I initially said above. The album summary (like '531 files in 19 albums with 3 comments, 1213 times viewed') wasn't displayed anymore after I had removed catlist from the content of the main page in the settings.

However, my problem was that I couldn't find a way to delete the one additional guest category that was still there. I thought I do know how and where to delete albums, and if I remembered right I already did delete that category. Yet, it was still there but when trying to click on it, it said that it is not existing.

So I went into the database through my phpmyadmin tool and deleted that line in the `cpg1411_albums` table. Everything's fine now, I just had to get rid of those two additional lines I had included in index.php

                    case 'alblist':
                     starttable("100%", "<b>Hair-Factory 10 Alben&uuml;bersicht</b>");
                      endtable();
                        list_albums();
                        flush();
                        break;


which I needed to do somehow to get a title header above the album index. I know it was not wise at all to alter anything in those files as it will be lost on the next cpg update again. But I needed some design improvement there, so it was a kind of useful workaround.
Got rid of it by now and changed the permissions in the group section to disable any kind of user galleries, even the admin is not allowed to create own galleries now.

cu,
rrwwxx
°¿°

Joachim Müller

@rrwwxx: Can't make heads nor tales of your posting. Anyway, you were able to solve your issue - marking thread accordingly. Can't recommend anything you did to anybody else though.

@all who come across this thread searching for answers on similar stuff: what rrwwxx did and suggested in this thread is not recommended at all. To fix an unrelated issue, he modified a  lot of coppermine core files that he shouldn't have tampered with. I repeat: to get rid of personal galleries, it is not necessary to edit the core code, nor are you suppossed to get rid of "catlist" in "the content of the main page" no matter what.

Joachim

nemesis13

Quote from: Nibbler on July 21, 2007, 02:15:43 AM
Disable personal albums on the groups page and delete the personal albums you already have. The category will then disappear. Search the board if you need more information on how to do this.

Works fine, thanks a lot!