CnCNet Posted August 23, 2013 Share Posted August 23, 2013 File Name: Recent Topics (Attachments) File Submitter: Grant B File Submitted: 23 Aug 2013 File Category: User and Social Engagement Supported Versions: IP.Board 3.4.x, IP.Content 2.3.x Perfect for any IP Content powered Site wanting to feature a list of Recent Topics, with attachments. Introducing Recent TopicsPerfect for any IP Content powered Site wanting to feature a list of Recent Topics, with attachments. Features: Automatic topic generation with attachments as images. Controllable width, and truncating settings for title and topic content. Block can be inserted into IP Board forums sidebar. Download includes:Files to upload Block to import into IP Content Hook to import for settings Documentation for support Follow me on Twitter or Google+ here to download this file Link to comment Share on other sites More sharing options...
GMIC Posted August 27, 2013 Share Posted August 27, 2013 How do you control the size of the images, as although I can control the width of the text I cant control the images? Link to comment Share on other sites More sharing options...
CnCNet Posted August 27, 2013 Author Share Posted August 27, 2013 What I could do, is allow an option to retrieve the full image (as at the moment, only thumbnails are only pulled in - so there wasn't a need for image dimensions) Link to comment Share on other sites More sharing options...
GMIC Posted August 27, 2013 Share Posted August 27, 2013 OK I see so the default thumbnail size in the post regulates the image size. It would be nice if there was an independent method of image resizing for the hook or block. Link to comment Share on other sites More sharing options...
CnCNet Posted August 27, 2013 Author Share Posted August 27, 2013 That's fine, I'll have an update out in a few minutes. Link to comment Share on other sites More sharing options...
CnCNet Posted August 27, 2013 Author Share Posted August 27, 2013 1.0.1 update released, new feature! New update to allow full sized attachment images to be used. See screenshot attached for further details. Image width/height settings added. Thumbnail setting added. >Download here Upgrading - IMPORTANT DO NOT re-import without uninstalling the old hook and block first. EVERYTHING must be uninstalled. Remove the hook by going to Manage hooks > and uninstalling. Screenshots: " alt="3z69.png"> " alt="lkmv.png"> Link to comment Share on other sites More sharing options...
GMIC Posted August 29, 2013 Share Posted August 29, 2013 Fast work cheers ! Link to comment Share on other sites More sharing options...
La-li-lu-le-lo Posted October 7, 2013 Share Posted October 7, 2013 Hey Grant, I need help removing the space caused by the insertion of smileys: " alt="error_zps1868a9c5.jpg"> Thank you for support! I will donate ; ) Link to comment Share on other sites More sharing options...
Sidi Posted November 19, 2013 Share Posted November 19, 2013 Is it possible to pull the first image in a topic, and if there is no image to use a default image? Link to comment Share on other sites More sharing options...
CnCNet Posted November 19, 2013 Author Share Posted November 19, 2013 From memory without looking at the code, it pulls the first attachment image uploaded to the post. If there is no image, it will skip parsing it. I think there would be room to add that (if theres no image uploaded - use a placeholder) as a feature at somepoint. Link to comment Share on other sites More sharing options...
La-li-lu-le-lo Posted November 28, 2013 Share Posted November 28, 2013 That is correct. It pulls the first attachment and you can choose to use and resize the attachment thumbnail or the original image. I have a working demo here http://fragnet.ca/fragnet2/ at the bottom and uses default images when no attachment is selected. I can share if you need it. Link to comment Share on other sites More sharing options...
CnCNet Posted November 29, 2013 Author Share Posted November 29, 2013 You'll be pleased to know something in the next few mins! :smile: Link to comment Share on other sites More sharing options...
CnCNet Posted November 29, 2013 Author Share Posted November 29, 2013 Updated to ensure no emoticons or empty space entities get included in the description. Only need to reimport the block. Hope this helps, Grant Link to comment Share on other sites More sharing options...
Draffi Posted March 25, 2014 Share Posted March 25, 2014 Something new about the dummy-picture for topics without attachments? Link to comment Share on other sites More sharing options...
openfire Posted April 25, 2014 Share Posted April 25, 2014 Possible bug found... When there are 10 consecutive new topics without attachments in the feed, it totally breaks the page -- I get a white screen full of jibberish. It's corrected and returns to normal when at least 1 topic with an attachment is added into the 10 most recent topics in the feed. Link to comment Share on other sites More sharing options...
openfire Posted April 25, 2014 Share Posted April 25, 2014 Just to add to the above... The bug happens when 'minimum attachments' is set to 0. Setting 'minimum attachments' to 1 corrects the problem, but then only pulls topics with at least 1 attachment. Link to comment Share on other sites More sharing options...
CnCNet Posted April 26, 2014 Author Share Posted April 26, 2014 Will investigate and let you know, thanks! Link to comment Share on other sites More sharing options...
CnCNet Posted April 27, 2014 Author Share Posted April 27, 2014 Just to add to the above... The bug happens when 'minimum attachments' is set to 0. Setting 'minimum attachments' to 1 corrects the problem, but then only pulls topics with at least 1 attachment. Hi, I can't seem to replicate with 1.0.2, could you PM me access to your settings and IP Content? Many thanks, Grant Link to comment Share on other sites More sharing options...
FZ Posted May 1, 2014 Share Posted May 1, 2014 Does this hook only show thumbnails for attached images on topics or will it also generate thumbnails for images that are hotlinked in via bbcode? Link to comment Share on other sites More sharing options...
CnCNet Posted May 1, 2014 Author Share Posted May 1, 2014 At this time it is unable to generate thumbnails from hotlinked images. It will only look for attached images, and if it cannot find one it will use a default thumbnail that you specify in the settings. Link to comment Share on other sites More sharing options...
FZ Posted May 2, 2014 Share Posted May 2, 2014 Thanks. It looks like a nice thing to have, but most of my site members use the hot linking method to show images on the forum, so this won't work for me. If you ever develop it to the point where it will pull either image method and create a thumbnail for use in a block I'd definitely be interested. Link to comment Share on other sites More sharing options...
CnCNet Posted May 2, 2014 Author Share Posted May 2, 2014 No problem. Its not the first query about this, I will at some point look into it and see if it can be implemented. Link to comment Share on other sites More sharing options...
bing11 Posted May 21, 2014 Share Posted May 21, 2014 how can do forums sidebar? Link to comment Share on other sites More sharing options...
CnCNet Posted May 21, 2014 Author Share Posted May 21, 2014 Hello, You will need to take the block key when you import the block, e.g {parse block="recent_topics"} and insert it into your skin template. To do so: Navigate to: Skin templates Find the Board Index group, and click boardIndexTemplate Now press CTRL + F (or CMD+F if Mac), and find <foreach loop="side_blocks:$side_blocks as $block"> Now paste above this line, {parse block="recent_topics"} If you have trouble or are unsure, I will be happy to help you if you send an account with login details. Many thanks, Grant Link to comment Share on other sites More sharing options...
CnCNet Posted May 21, 2014 Author Share Posted May 21, 2014 Result is http://k4z.co.uk/dev7/index.php?/index Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.