CB Gallery Module - Parameters & Features

12 years 11 months ago #31153 by xaviercabanne
Hi !

I've the same "Three lines under" problem.
I just take a quick look in the html rendering and find the problem : a few BR tags in the DIV tags. You can find them in the PHP file too.

My question is for Nick : I imagine that you includes those for a good reason. Can we delete them or not ?

Thank you for this one, and a big THANKS A LOT for what the team done with CB. Great job !



Post edited by: xaviercabanne, at: 2007/02/15 01:56
12 years 10 months ago #34079 by tboard
OK.. im havving problems....


No Items published in this profile gallery

no matter what i do.. but it was working before!! PLS help
12 years 8 months ago #37855 by juuk
The default value of profile gallery is 1024 bytes or kilobytes?

If it is in bytes, I'd like to change "Kbytes" to "bytes" in in the page where a user can create a short greeting and decides which group can acces the profile gallery, and gallery submission page.

Many thanks.
12 years 5 months ago #41973 by normdouglas
I've installed this via the CB plugin management, but I can't find where to set these so-called parameters.

Can you help?
12 years 5 months ago #43405 by tuppka
Go to Modules>Site Modules>mod_cbgallery.

You'll find the parameter settings there.

Post edited by: tuppka, at: 2007/08/19 18:54
12 years 5 months ago #43846 by Börni
I have modified the getDisplayTab function on line 65 in cb.profilegallery.php to show the users who have images waiting for approve.

[code:1] function getDisplayTab($tab,$user,$ui) {
global $my,$mainframe,$mosConfig_lang, $database;


$htmltext1 = "";
if (!$tabparams["pgmanagementtabenabled"]) return $htmltext1;
// Is user a moderator?
if (!$isModerator) return $htmltext1;

$query = "SELECT DISTINCT u.id, u.username ";
$query .= "\n FROM #__comprofiler_plug_profilegallery as c, #__users as u";
$query .= "\n WHERE c.pgitemapproved = 0";
$query .= "\n and u.id = c.userid";

$rows = $database->loadObjectList();

if($tab->description != null) {
$htmltext1 .= "\t\t<div class=\"tab_Description\">";
$htmltext1 .= unHtmlspecialchars(getLangDefinition($tab->description));
$htmltext1 .= "</div>\n";
$htmltext1 .= "<br />\n";
if (count($rows) > 0) {
foreach($rows as $row) {
$htmltext1 .= '<a href="index.php?option=com_comprofiler&task=userProfile&user='.$row->id.'">'.$row->username.'</a><br />';
return $htmltext1;

hf .. ;)
Moderators: beatnantkrileon
Time to create page: 0.456 seconds

Facebook Twitter LinkedIn