CB Gallery Module - Parameters & Features

13 years 4 months ago #31153 by xaviercabanne
Replied by xaviercabanne on topic Re:CB Gallery Module - Parameters & Features
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 !

CU

Xav'

Post edited by: xaviercabanne, at: 2007/02/15 01:56

Please Log in to join the conversation.

13 years 3 months ago #34079 by tboard
OK.. im havving problems....

I GET

No Items published in this profile gallery

no matter what i do.. but it was working before!! PLS help

Please Log in to join the conversation.

13 years 1 month 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.

Please Log in to join the conversation.

12 years 11 months ago #41973 by normdouglas
Replied by normdouglas on topic Re:CB Gallery Module - Parameters & Features
I've installed this via the CB plugin management, but I can't find where to set these so-called parameters.

Can you help?

Please Log in to join the conversation.

12 years 10 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

Please Log in to join the conversation.

12 years 10 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;

$this->_getLanguageFile();
$tabparams=$this->_pgGetTabParameters($user);

$htmltext1 = "";
if (!$tabparams["pgmanagementtabenabled"]) return $htmltext1;
// Is user a moderator?
$isModerator=isModerator($my->id);
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";

$database->setQuery($query);
$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;
}
[/code:1]

hf .. ;)

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.435 seconds

Facebook Twitter LinkedIn