Tagged: thumbnails
This topic has 2 voices, contains 20 replies, and was last updated by
miguelcortereal 112 days ago.
| Author | Posts |
|---|---|
| Author | Posts |
| January 11, 2012 at 20:54 #13405 Quote | |
| miguelcortereal | Is it possible to add a new configuration to the plugin, to select a number of columns to display thumbnails, instead they just show line after line? Maybe also a frame (border) for each thumbnail whith configurable color to match with themes. Only suggestions that if possible will improve the plugin. |
| January 11, 2012 at 21:10 #13408 | |
| MillaN | You can modify CSS so that lines (in this case LI tags) are displayed in a row. Ad SS modifications to your theme and you are set, and this can include colors or whatever you need else. I will not be adding more styling, because this way it is very basic allowing modifications users want on their end. I can’t predict what anyone want to do in terms of styling, so better not to make it too complex. Milan |
| January 12, 2012 at 10:24 #13410 | |
| miguelcortereal | MillaN, You made a point, I can understand that. I’m totally dumb on coding, if I have a working website it’s because you and a lot of people more produce valuable hard working. By what you say I assume it’s a matter of CSS only, so adding some lines to my theme’s CSS I will get it. Could you hint me with some basic CSS to implement it to my theme? PLS?? Still, if it doesn’t brake your policy for free plugins you also have the option to add styling so that dumbs like me can use it with the option of disabling all CSS for developers. I’ve seen that in other plugins. Anyway, I really need this styling so time to go deep on CSS, those hints from you are appreciated. Again, thanks and great job. |
| January 12, 2012 at 14:25 #13412 | |
| miguelcortereal | I’m now trying to make the changes to have thumbnails side by side instead of one at each line. My first guess is to add a float: left; line on li tags at gd-bbpress-attachments/css/gd-bbpress-attachments.css as you suggest. Strangely this file returns as inactive. Is it normal? Every change I make doesn’t produce any effect. |
| January 12, 2012 at 15:04 #13413 | |
| MillaN | Plugin is not loading the stying file, it is embedding it into page header, so changing it has no effect. Point of that file is to use the styling from it, change it and add it to your theme to include what plugin needs and make it look the way you want. When you do that, there is an option on the plugin settings panel to disable embedding default CSS. Milan |
| January 12, 2012 at 18:36 #13429 | |
| miguelcortereal | I did it. Copied the code from the CSS plugin file and pasted it at my theme’s CSS file. Then I’ve disabled the option of use the default CSS at plugins settings.
I can’t dismiss IE8, any help? Thanks in advance |
| January 13, 2012 at 00:02 #13430 | |
| miguelcortereal | I’m close now, - The datail of the icons clip not showing it’s solved. The url from the icons.png file had to be updated.
So, if this makes sense what can I do to have float coming first? Do I have another approach? |
| January 16, 2012 at 13:39 #13564 | |
| miguelcortereal | Hi Milan I have it working fine on forums doing exactly what I wanted to. The issue with IE8 it’s solved, a float needs a width too, with that IE8 started work. As you probably know I have Buddypress too. Buddypress pulls to activity stream all topics and replies from forums. The attachments from plugin are pulled too and displayed. Now follows another issue. In forums, attachments are displayed within a li tag from bbp-attachments class, in activity stream they are displayed out of any li tag, so to have those thumbnails having the same styling as they have in forums, that bbp-attachments class defined by the li tag should be present on BP activity stream. Is there any easy way to turn this around? |
| January 16, 2012 at 14:10 #13565 | |
| MillaN | Plugin has no support for BuddyPress activity stream, and I have no idea how it is displayed there. Plugin only has options to render attached items in the topics and replies. Activity stream does this on its own most likely. Milan |
| January 16, 2012 at 14:50 #13566 | |
| miguelcortereal | Activity stream does this on its own most likely. Yes it does, there are a lot of coding to to that. basically it grabs everything on a topic on or on a reply and delivers to the stream. Thumbnails from your plugin go together with the relation to colorbox and everything. Concerning your plugin the only thing missing is the style. Plugin only has options to render attached items in the topics and replies |
| January 16, 2012 at 16:53 #13567 | |
| MillaN | I would, but I don’t use BP, and I don’t have it installed on any of my dev websites, and also, I have no idea what needs to be changed to make that work. |
| January 16, 2012 at 17:27 #13568 | |
| miguelcortereal | I’m looking for help in Buddypress Forums too. |
| January 16, 2012 at 18:27 #13572 | |
| MillaN | If you find what needs to be changed before me, please let me know, and I can add it into plugin. |
| January 18, 2012 at 00:41 #13646 | |
| miguelcortereal | I have already the first reaction to my help request on Buddypress forums. I’m not sure if this makes sense or not but here it goes: The reason why the images cannot be styled in one line is because the GD plugin adds a break “ after each image. If plugin dev removes those generated breaks then you can add the following in your stylesheet. Just to check, does the plugin adds those line breaks? |
| January 18, 2012 at 00:48 #13647 | |
| MillaN | Nope, no line breaks from the plugin. Each image is in the DIV and each DIV in LI element, no empty spaces or line breaks added there at all. Milan |
| January 19, 2012 at 19:01 #13774 | |
| miguelcortereal | I’m still trying to find any help for this, there’s one more message sent to Buddypress team. Whlile messaging I think I found why Buddypress pulls updates from forums to activity stream. This file belongs to bbpress plugin: bbpress/bbp-includes/bbp-extend-buddypress.php |
| January 23, 2012 at 14:11 #13828 | |
| miguelcortereal | |
| January 23, 2012 at 14:15 #13829 | |
| miguelcortereal | I tried to reproduce some html, used the code tag but strangely something didn’t work. Is it possible to drop me an email, so we can discuss this a little deeper? |
| January 30, 2012 at 16:59 #14005 | |
| miguelcortereal | Hi Milan I’m still in circles with this. Unfortunately I’m not a coder so there isn’t much that I can do on my own. However I’ve been looking at plugin’s files, bbpress and Buddypress’s files. I suppose this code blends GD attachments content with forum topics or forum replies content. As mentioned before bbpress has a file to set forums activities to Buddypress activity stream: bbpress/bbp-includes/bbp-extend-buddypress.php I suppose the reading of bbp_get_topic_content or the same for reply doesn’t return a list element tag but probably an array of every div elements inside a topic or a reply, that when rendered in A stream are separated by a break line. Is this make sense? If you want, please take a look at the file I attached to this message. It’s a copy of the code from the bbpress file that handles the forums updates to Buddypress activity stream. Attachments:You must be logged in to view attched files. |
| January 30, 2012 at 17:40 #14009 | |
| MillaN | Hello, I don’t have any update on this, because I don’t have the time to understand all that BuddyPress does. To be honest, I gave up on BuddyPress a while back because in each major version they make changes that break old things. As soon as I get some time to do this, I will, but I can’t promise you when that will be. I am 100% sure that my rendered HTML has no breaks, and I can’t fix either bbPress or BuddyPress to do it right. Most likely their code that does some of the rendering or parsing is adding breaks, but again, I don’t have a time to go through someone else code to find out what is going on. Milan |
You must be logged in to reply to this topic.



Recent Comments
Comment added on: May 18, 2012
Comment added on: May 18, 2012
Comment added on: May 17, 2012
Comment added on: May 17, 2012
Comment added on: May 14, 2012