Welcome, Guest. Please login or register.
Did you miss your activation email?

 
Advanced search

22748 Posts in 6706 Topics- by 17591 Members - Latest Member: permsk

04-04-2020 17:10:11
JOOM::GALLERY::FORUMJOOM::GALLERY::FORUMAnnouncements and messages Change in handling user / author (CB integration) starting from Build 20081103
Pages: [1]
Print
Author Topic: Change in handling user / author (CB integration) starting from Build 20081103  (Read 5072 times)
0 Members and 1 Guest are viewing this topic.
Hypnotoad
Developer-Team
Sr. Member
*****
Offline Offline

Posts: 482



View Profile WWW
« on: 06-11-2008 21:43:36 »

Starting from the current build (November 3rd 2008), the name of the image author is no longer filled automatically when uploading an image (like it was done in PonygalleryML). A user's name is fetched directly from the Joomla user table in the database for displaying names.  This allows to switch from showing usernames to real names, and the names get adjusted when a user is renamed.
You can still (manually) set an image author name as admin, then the image will no longer be linked to the original uploader with Community Builder / CBe integration. Because existing images have the author name already filled, this has the side effect that these are not linked to any CB / CBe user profile.

If you have existing images and use CB / CBe integration, a one-time database query is necessary to fix that, deleting the author name on all images which have an unnecesary author name associated (because they are already assigned to the right user). Be sure to back up your database just in case, and run the following query e.g. in phpMyAdmin:

Code
UPDATE jos_joomgallery AS jg, jos_users AS u 
SET jg.imgauthor = ''
WHERE jg.owner=u.id AND jg.imgauthor=u.username

(Adjust "jos_" to your database prefix)
« Last Edit: 06-11-2008 21:50:29 by Hypnotoad » Logged

Sorry, no support via PM (unless I asked you for some details). Just post in the forum, maybe someone else has the same problem or already a solution available.

jAwards - a component for user awards in Joomla
Pages: [1]
Print
Jump to:  

HOSTED BY SCHWARZKÜNSTLER ®

PROTECTED BY  ZB BLOCK  AND Project Honey Pot
Theme orange-lt created by panic

Bad Behavior has blocked 2013 access attempts in the last 7 days.