the Discussion page won't have a discussion layout but rather a gallery layout
MySchizoBuddy, wouldn't this be easiest and most flexible via a new theme for themes/discussions.php and themes/discussion.php? Essentially you're just replacing a thread title and posting details with the image you've attached to the thread. That way people could make their own kind of discussion overviews ranging from bare-bone photoblog-type grid of photos to a list of items with pictures simply by using an appropriate theme.
I've not tried your existing add-on, but I presume it adds the discussion image as a delegate to the discussion list view. Here all you need to do is to make replacement files for themes/discussion.php and perhaps also themes/discussions.php and stick them in a subdirectory, e.g. /themes/galleryview/... .
The discussions.php contains the top of the discussion page up to the opening <ol id="Discussions"> statement and from the closing </ol> to the end, i.e. everything up to and including pagination-nav and from the lower pagination-nav downwards. In between it calls discussion.php,looping through it for each discussion.
discussion.php contains the description for a single discussion overview in the list and contains all the conditionals for if whispered, hidden, closed, read, bookmarked etc. You can clean out extra infos you don't need, hang your discussion onto a delegate, perhaps use your own css class names and style these to make a gallery-like grid.
whats your take on possible category dependance. Will the whole forum be a gallery , or only certain categories. What to do the gallery categories in discussion view. Do we need a new Gallery tab for Gallery categories. what basic image editing tools are required. or not. Should the image in the gallery view be an automatic thumbnail for the actual one, or users should upload their own nicely cropped thumbnail for the gallery view. BTW any one knows if Gallery 2 allows comments? what can be a possible layout of Post.php to allows images.
I remember posting a mockup somehwere here, but since flickr is blocked where i live right now. I dunno what I made.
When I tested this add-on, it conflicted with the DiscussionExcerpt add-on with an error:
Fatal error: Cannot redeclare discussiongrid_discussions() (previously declared in \Program Files\xampp\htdocs\Vanilla.1\extensions\DiscussionExcerpt\default.php:78) in \Program Files\xampp\htdocs\Vanilla.1\extensions\DiscussionImage\default.php on line 37
Aww, I was kinda hoping for an extension that displays a thumbnail next to the title and etc (so I like where it was heading before). Oh well... maybe some one with programming skills will make a fork of current code to give that ability.
Comments
MySchizoBuddy, wouldn't this be easiest and most flexible via a new theme for themes/discussions.php and themes/discussion.php? Essentially you're just replacing a thread title and posting details with the image you've attached to the thread. That way people could make their own kind of discussion overviews ranging from bare-bone photoblog-type grid of photos to a list of items with pictures simply by using an appropriate theme.
Do we need a new Gallery tab for Gallery categories.
what basic image editing tools are required. or not.
Should the image in the gallery view be an automatic thumbnail for the actual one, or users should upload their own nicely cropped thumbnail for the gallery view.
BTW any one knows if Gallery 2 allows comments?
what can be a possible layout of Post.php to allows images.
I remember posting a mockup somehwere here, but since flickr is blocked where i live right now. I dunno what I made.
Fatal error: Cannot redeclare discussiongrid_discussions() (previously declared in
That's the KISS principle! Keep It Simple Stupid