Set Home Category for Groups Set Home Category for Groups
 

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

Set Home Category for Groups

Started by Paver, June 17, 2006, 04:35:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Paver

As suggested by this thread, this plugin lets you set a "home category" for each group (besides the administrator & banned groups).  Once you set a home category, the "Home" links in the system menu and breadcrumb will be replaced with links to this category.

I'm pretty sure it works in all cases & configurations, but treat it with caution.  Since it messes with the 'page_html' filter, it could make your site go blank (it did during some of my intermediate tests which were subsequently addressed).  If this happens, go to your database (using a tool like phpMyAdmin) and empty out the cpg_plugins table or just delete the single reference to this plugin.  Then refresh your page.  Please report any serious issues. 

Since users can belong to more than one group, the way this plugin chooses which home category to use is that it looks at the secondary groups to which a user belongs.  If there is only one secondary group, it chooses that home category setting.  If there is more than one secondary group, it chooses the primary group home category (which for most galleries is "Registered" - you can change the primary group, but if your gallery depends upon a "Registered" group, you might get stuck - a user cannot belong to "Registered" as a secondary group).

klow

Quote from: Paver on June 17, 2006, 04:35:31 AM
go to your database (using a tool like phpMyAdmin)

How can I do that?...

Sami

Use your hosting control panel's db tools or install phpmyadmin ....
‍I don't answer to PM with support question
Please post your issue to related board

Mimer

Hi

I have translated the language file for custom home 1.0 to danish.

Mimer  8)

nointerest

I have translated this plugin into German (Du) and attach the file. It is saved as utf-8.

(I dont use the plugin - therefore I cant test how the translation "feels" like. If someone has recommendations for doing phrases in a better way I am very open. Just send me a message in this forum then please).

Mimer

Danish language updated for Custom Home 1.0.
Revision 1.1

Brugerdefineret Startside -> Alternativ Startside
Typos corrected
Gramma corrected

Mimer  8)