Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #11  
Old 03-03-2008, 09:47 PM
zac's Avatar
zac Offline
pp veteran
 
Join Date: Jul 2005
Posts: 99
I installed this on PP 1.7.1 and it seems to be working as it should. It looks like this thread has been quiet for a while but I was wondering if it would be simple enough to also add the category name as a caption near each thumb? Anyone have any ideas how to do that? Here is the code from that addon:

Code:
$cat_thumbs = "";
$query = mysql_query("select * from ".$pixelpost_db_prefix."categories order by name");
while(list($cat_id,$cat_name) = mysql_fetch_row($query)) {
	$cid = pullout($cat_id);
	$cname = pullout($cat_name);
$query2 = mysql_query("select t2.id,image 
			from {$pixelpost_db_prefix}catassoc as t1
			inner join {$pixelpost_db_prefix}pixelpost t2 on t2.id = t1.image_id
			where t1.cat_id = '$cid'
			order by datetime desc LIMIT 0,1");

	while(list($id,$name,$datetime,$category) = mysql_fetch_row($query2)) {
		$pic_id = pullout($id);
		if ( $thumblinks == "category" ) {
			$catthumblink = "index.php?x=browse&category=" . $cid;
		} else if ( $thumblinks == "image" ) {
			$catthumblink = "index.php?showimage=" . $pic_id;
			} else {
			$catthumblink = "index.php?x=browse&category=" . $cid;
		}
		$cat_thumbnail = "thumbnails/thumb_$name";
		$cat_thumbs .= "<a href='$catthumblink'><img src='$cat_thumbnail' alt='$cname' title='$cname' class='thumbnails' /></a>";
	}
}	

$tpl = str_replace("<CAT_THUMBS>",$cat_thumbs,$tpl);
__________________
folkphotography
Reply With Quote
  #12  
Old 06-07-2008, 10:59 PM
pmb Offline
forum loafer
 
Join Date: Jun 2008
Posts: 3
Another dead link.
It seems most of the addons are slowly dying.
Reply With Quote
  #13  
Old 06-08-2008, 12:48 AM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
Talking

That addon hadn't been updated for a couple years - I'd say it was already dead.

The people that develop and design the templates and addons do it on their own time for no compensation. I can understand if one of the developers gets too busy in their working/personal life to be able to update addons or templates or can no longer provide technical support or troubleshooting help.

If anyone is wanting features that aren't provided by the pixelpost framework or one of the available addons, I urge you to develop a new addon and share it with the community. It will only make the software better and more flexible.

Also, regarding this addon, you will find my album view addon has similar features.
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 05:41 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs