- Posts: 4
- Thank you received: 0
Kunena 6.2.5 & module Kunena Latest 6.0.7 released
The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2
Question BBcode help/customisation: how to position images left or right?
Thought I had it for a moment there but then the information wouldn't parse properly and I was left with a half loaded page. I'm not worried about getting it on a button or anything, I'm more then happy with users typing [ imgleft ] and [ imgright ] without the spaces, I just need to know what coding to put where to make it happen.
Can anyone give me the quick run down on this one? Maybe if I can grasp this then I can add some other coding myself as well, just need a hand looking in the right direction.
Thanks in advance guys.
Please Log in or Create an account to join the conversation.
In older versions of Kunena, images were positioned inline. Somehow, somewhere along the timeline, someone changed this behaviour and now images are displayed leftmost and on a separate line from the text. For example, (Note: I did not insert any line-breaks in the BBcode):
I've tried to "outsmart" the BBcode but, I admit, I haven't been able to do this. I, too, would like to see this counter-intuitive behaviour corrected.
If you try to position an image centrally or rightmost, you do this another way:
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
It's fine, I'm actually pleased with the way you changed the title, that makes it much more coherent (I admit, I posted my question at 5am my time, so I tried to make it as coherent as I could. I'm glad you understood what I'm one about).
The solution I tried last night was to add in some extra bbcoding for an [imgleft]/[imgright] tag, with the equivalent html as <img src="imagelink" align="left/right"> but I'm not proficient enough with the coding that would need to be changed in order to create this coding.
My attempt lead me to create the right coding as far as I could see based on previous questions and answers on the forums here, but for some reason when testing it on my live site the page load got to a certain point and then simply found itself unable to parse any further, my joomla site header displayed to the point of my username and then somewhere beyond that it had it's conniption. So I'm not sure if there was something I was missing in my custom code or if it's a hard-wired code somewhere that means it's unable to deal with the additional coding in an image tag?
I'm not actually looking to post two images side by side as in the example you provided, I simply want an image to float left/right with a flow of text around it, if that makes my intentions any clearer? Although I can see how not being able to have side by side images could end up being a problem for my community, as I love to create posts with thumbnail links and to put them all on their own line will make for very long posts.
Perhaps if someone could help us work together to achieve an answer to this, it would be very much appreciated, and I thank you for taking the time to clarify this Sozzled.
Please Log in or Create an account to join the conversation.
I've had quite the opposite effect on several dozen people whose names I won't mention :whistle:Ohohoh, I must admit that I am somewhat disappointed. To get a notification that the infamous Sozzled has replied to my post got me all excited.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
If you don't mind me asking, what did you mean by "I've tried to "outsmart" the BBcode but, I admit, I haven't been able to do this."? What part of the coding in your opinion disallows this sort of behaviour with images, and what was the result of your messing with it?
"I, too, would like to see this counter-intuitive behaviour corrected." And forgive my small vocabulary but "counter-intuitive"?
Please Log in or Create an account to join the conversation.
Other forum software BBCode permit the insertion of images into user messages and, to varying degrees, allow users to aligning those images in a similar fashion to good ol', vanilla-flavoured HTML. In other words, you don't need a text book to help you write BBCode with other forums in order to achieve a near-enough-is-good-enough-to-HTML display of images.
But with Kunena's BBCode IMG "tag" there ain't no way you can try to tweak, fudge, twiddle, fiddle or poke the code to let images float left or right of the text! That's what I meant by "I've tried to 'outsmart' the BBCode". I mean, I've attempted exactly what you have attempted:
[ img align=right]<image-URL>[ /img]Text
and the result is
<image>
Text
Does this clarify my remarks better?
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
- adminthptngochoi
- Offline
- Junior Member
- http://nhagame.tk
Please Log in or Create an account to join the conversation.
- marrydavidson101
- Offline
- New Member
- Posts: 1
- Thank you received: 0
000-085 dumps For Knowledge 70-450 dumps Help HP0-J33 dumps Study 000-104 dumps
Please Log in or Create an account to join the conversation.
- spirituallyinsane
- Offline
- New Member
- Posts: 1
- Thank you received: 0
Meakitty, Sozzled:sozzled wrote: But, if you want to position an image to the left (or right) inline with your text, I haven't figured out how to do that, sorry.
I stumbled across this thread while trying to solve the same problem with Kunena 1.6. While working on it, I seem to have found out how to work around this in the BBCode parser. It looks like the BBCode parser supports the style attribute, so you can do text floating like this:
The text then successfully displays on the same line as the image, although it still aligns with the bottom of the image, as might be expected with inline items.
I don't know if this works in Kunena 1.5, but it's displaying properly in this forum.
EDIT: Looks like I'm deluding myself; the behavior doesn't change with the addition of the style attribute to the BBCode tag. Oh well.
Please Log in or Create an account to join the conversation.