| 
Welcome, Guest

CB Gallery Module - Parameters & Features
(1 viewing) (1) Guest

TOPIC: CB Gallery Module - Parameters & Features

Re:CB Gallery Module - Parameters & Features 4 years, 12 months ago #31153

  • Posts:
  • Karma:
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
The topic has been locked.

Re:CB Gallery Module - Parameters & Features 4 years, 10 months ago #34079

  • Posts:
  • Karma:
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
The topic has been locked.

Re:CB Gallery Module - Parameters & Features 4 years, 9 months ago #37855

  • Posts:
  • Karma:
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.
The topic has been locked.

Re:CB Gallery Module - Parameters & Features 4 years, 6 months ago #41973

  • Posts:
  • Karma:
I've installed this via the CB plugin management, but I can't find where to set these so-called parameters.

Can you help?
The topic has been locked.

Re:CB Gallery Module - Parameters & Features 4 years, 5 months ago #43405

  • Posts:
  • Karma:
Go to Modules>Site Modules>mod_cbgallery.

You'll find the parameter settings there.

Post edited by: tuppka, at: 2007/08/19 18:54
The topic has been locked.

Re:CB Gallery Module - Parameters & Features 4 years, 5 months ago #43846

  • Posts:
  • Karma:
I have modified the getDisplayTab function on line 65 in cb.profilegallery.php to show the users who have images waiting for approve.

	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;
}
 


hf ..
The topic has been locked.
Time to create page: 0.83 seconds