1
Seapyramid
Issue with posting in NewBB
  • 2008/9/7 16:07

  • Seapyramid

  • Just popping in

  • Posts: 25

  • Since: 2006/5/12


I am wanting to post multiple graphics in newbb. Because there are many I need them to show on the same line (these are small graphics). This is what I am inputing...
<p>Black Dragonsp>
<
p>[url=http://dragcave.net/viewdragon/gEQB][img]http://dragcave.net/image/gEQB.gif[/img][/url] [url=http://dragcave.net/viewdragon/fyQR][img]http://dragcave.net/image/fyQR.gif[/img][/url]

Even tho the images should be on the same line they are showing on 2 seperate lines.

You can go to http://petsgalore.atlantisdesign.org/modules/newbb/viewtopic.php?topic_id=9&forum=13 to see what I mean.

Thank you,

2
Mamba
Re: Issue with posting in NewBB
  • 2008/9/7 16:54

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


In the code you've submitted, there is a break between the two images.



Quote:

Black Dragons

Open in new window
Open in new window


When I remove it, the images are next to each other.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
Seapyramid
Re: Issue with posting in NewBB
  • 2008/9/7 17:29

  • Seapyramid

  • Just popping in

  • Posts: 25

  • Since: 2006/5/12


When I am putting it in I am not adding that break & I do not have add line break checked. :( It is adding it by itself. :( Where can I look to fix this?

4
ghia
Re: Issue with posting in NewBB
  • 2008/9/7 18:23

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


What editor are you using?
You may try with a table, this will provide a grid.

5
Seapyramid
Re: Issue with posting in NewBB
  • 2008/9/7 20:31

  • Seapyramid

  • Just popping in

  • Posts: 25

  • Since: 2006/5/12


Using a table is not an option.. too complicated for members who do not understand html. But it only seems to be adding when BBC codes are used.. which unfortunately most ppl use in this enviroment. :( Help on turning the line break off completely.. pls

6
ghia
Re: Issue with posting in NewBB
  • 2008/9/7 21:09

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
What editor are you using?

Input a sample in a post. Check the post in the database.
Post the two results here.
What is the version of XOOPS and your forum?
Quote:
But it only seems to be adding when BBC codes are used.
But your first example is not BB code.
It also contains two links on the same image object?
While the source as recorded by Mamba show even more illogical links.

7
Seapyramid
Re: Issue with posting in NewBB
  • 2008/9/7 21:37

  • Seapyramid

  • Just popping in

  • Posts: 25

  • Since: 2006/5/12


Ok.. its the Koivi Editor I am using, tho I have tried a few of them. The lastest version of XOOPS & NewBB (downloaded a couple days ago)

I am inputing
Black Dragons

[url=http://dragcave.net/viewdragon/gEQB][img]http://dragcave.net/image/gEQB.gif[/img][/url] [url=http://dragcave.net/viewdragon/fyQR][img]http://dragcave.net/image/fyQR.gif[/img][/url]
if I switch to html view it looks like
<p>Black Dragonsp>
<
p>[url=http://dragcave.net/viewdragon/gEQB][img]http://dragcave.net/image/gEQB.gif[/img][/url] [url=http://dragcave.net/viewdragon/fyQR][img]http://dragcave.net/image/fyQR.gif[/img][/url]


When I preview the 2 eggs are next to each other as I want them. When I submit they are on seperate lines like this http://petsgalore.atlantisdesign.org/modules/newbb/viewtopic.php?topic_id=9&post_id=9#forumpost9

Now I tried using html codes in another post.. same editor & those came out right side by side.. here http://petsgalore.atlantisdesign.org/modules/newbb/viewtopic.php?topic_id=17&post_id=53#forumpost53

I am not sure what you mean my database sample. Sorry but new at this, I went to MySQL but could find no way of looking at what was in the data base. :(

***EDIT & What is in those boxes is not what I tyed either.. there is all kinds of script & breaks in there that is not what I am doing.. going to try something just to give a clue as to the simplicity of the code I am really using

[ url=http: //dragcave.net/viewdragon/gEQB][ img]http://dragcave.net/image/gEQB.gif[ /img][ /url] [ url=http: //dragcave.net/viewdragon/fyQR][ img]http: //dragcave.net/image/fyQR.gif[ /img][ /url]

That is the type of code I am using (without all the spaces ofcourse) Not all that stuff in the boxes that keeps getting added & changed.

8
Seapyramid
Re: Issue with posting in NewBB
  • 2008/9/8 16:17

  • Seapyramid

  • Just popping in

  • Posts: 25

  • Since: 2006/5/12


popnupblog is doing the same thing, adding line breaks. When I preview something it's great, when I publish it everything is on its own line :( http://petsgalore.atlantisdesign.org/modules/popnupblog/index.php?param=2 There has to be some way of turning off the auto line breaks completely.

Please Help

9
ghia
Re: Issue with posting in NewBB
  • 2008/9/8 23:59

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


OK, I tried it for myself.

When I put this code (without spaces and linebreaks) in DHTML or Koivi:
url=https://xoops.org/modules/news/]
img]https://xoops.org/modules/news/images/topics/xoops.gif[ /img]
[ /url]
url=https://xoops.org/modules/news/]
img]https://xoops.org/modules/news/images/topics/xoops.gif[ /img]
[ /url]

then I get this html source in the preview:
<table class="outer" width="98%" cellpadding="4" cellspacing="1">
<
tbody><tr><td class="head">testtd>tr>
<
tr><td>
<
br>
<
a href="https://xoops.org/modules/news/" target="_blank">
<
img src="https://xoops.org/modules/news/images/topics/xoops.gif" alt="">
a>
<
a href="https://xoops.org/modules/news/" target="_blank">
<
img src="https://xoops.org/modules/news/images/topics/xoops.gif" alt="">
a>
<
br>
td>tr>tbody>table>

The images are nicely tiled one after the other on the same row.

After posting, I get the same result as you. This is the resulting html source:
<table class="outer" width="98%" cellpadding="4" cellspacing="1">
<
tbody><tr><td class="head">testtd>tr>
<
tr><td>
<
br>
<
a target="_blank" href="https://xoops.org/modules/news/" rel="external">
a>
<
a href='javascript:CaricaFoto("https://xoops.org/modules/news/images/topics/xoops.gif");'>
<
img src="https://xoops.org/modules/news/images/topics/xoops.gif" alt="Open in new window" onload="JavaScript:imageResize(this, 300)" border="0">
a>
<
br>
<
a target="_blank" href="https://xoops.org/modules/news/" rel="external">
a>
<
a href='javascript:CaricaFoto("https://xoops.org/modules/news/images/topics/xoops.gif");'>
<
img src="https://xoops.org/modules/news/images/topics/xoops.gif" alt="Open in new window" onload="JavaScript:imageResize(this, 300)" border="0">
a>
<
br><br>
td>tr>tbody>table>
The images are positioned one under the other, due to the insert of an unwanted
. Also the required links are useless.

I think this can't be the intention of the BBcode translation and consider it as a bug.

On this forum, you can see the result:
(Clicking on the images is supposed to open the news section)

Resized ImageResized Image

When the BBcodes are put in a code block then they translate to html source. Should the code block not prevent this?

[url=https://xoops.org/modules/news/][img]https://xoops.org/modules/news/images/topics/xoops.gif[/img][/url][url=https://xoops.org/modules/news/][img]https://xoops.org/modules/news/images/topics/xoops.gif[/img][/url]

10
Seapyramid
Re: Issue with posting in NewBB

LOL.. OK.. <--- dumb blonde here :) But If I understnad right, you are now seeing the same problem that has been driving me nuts :)

So now... whats the fix??

Login

Who's Online

265 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 265


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits