Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Set Home Category for Groups  (Read 24097 times)

0 Members and 1 Guest are viewing this topic.

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1608
  • Paul Van Rompay
Set Home Category for Groups
« on: June 17, 2006, 04:35:31 am »

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

klow

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • L'Encyclopédie Harry Potter
Re: Set Home Category for Groups
« Reply #1 on: September 27, 2006, 02:32:24 pm »

go to your database (using a tool like phpMyAdmin)

How can I do that?...
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Set Home Category for Groups
« Reply #2 on: September 27, 2006, 04:29:27 pm »

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

Mimer

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 129
    • Fjotte
Re: Set Home Category for Groups
« Reply #3 on: January 26, 2008, 05:05:44 pm »

Hi

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

Mimer  8)
Logged

nointerest

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 91
    • Karateschule Okinawa (Bayreuth, Kulmbach, Pegnitz, Auerbach)
Re: Set Home Category for Groups
« Reply #4 on: January 27, 2008, 12:34:47 am »

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

Mimer

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 129
    • Fjotte
Re: Set Home Category for Groups
« Reply #5 on: May 31, 2009, 02:39:28 pm »

Danish language updated for Custom Home 1.0.
Revision 1.1

Brugerdefineret Startside -> Alternativ Startside
Typos corrected
Gramma corrected

Mimer  8)
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 21 queries.