11
Seapyramid
Re: Issue with posting in NewBB
  • 2008/9/9 15:18

  • Seapyramid

  • Just popping in

  • Posts: 25

  • Since: 2006/5/12


bump :)

12
ghia
Re: Issue with posting in NewBB
  • 2008/9/9 23:43

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
So now... whats the fix??


Go to /Frameworks/textsanitizer/config.php and find
define('EXTCODE_ENABLE_IMAGE_CLICKABLE',    1);        // Enable image clickable, open in a new window
define('EXTCODE_ENABLE_IMAGE_RESIZE',        1);        // Enable image resize, applicable only for xcode [img]
Set both to 0.
Unfortunatly, this seems to be sitewide settings, so you will no longer be able to limit the image size by default to 300 and you get no popup with the full size image when you click on it.

Go to /Frameworks/textsanitizer/plugins/image.php and remaove all 8 occurences of
<br /> .

It is possible that in other posts with images, the layout will change, because now one new line is missing.

13
Seapyramid
Re: Issue with posting in NewBB
  • 2008/9/10 11:44

  • Seapyramid

  • Just popping in

  • Posts: 25

  • Since: 2006/5/12


Ok.. I did that & it is still adding the line break & stacking things up instead of leaving them on 1 line :(

14
Seapyramid
Re: Issue with posting in NewBB
  • 2008/9/11 11:56

  • Seapyramid

  • Just popping in

  • Posts: 25

  • Since: 2006/5/12


Still needing a fix that works. :(

15
ghia
Re: Issue with posting in NewBB
  • 2008/9/11 12:07

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I tought it was working, when I looked at your dragoneggs.
Do you have on your system another image.php or sanitizer file?
Are you sure the bb codes of the images are collideng as eg img][im or url][ur ?
Do you have the same result with the plain text editor?
Did you check the records in the database with phpmyadmin?

16
Seapyramid
Re: Issue with posting in NewBB
  • 2008/9/11 21:50

  • Seapyramid

  • Just popping in

  • Posts: 25

  • Since: 2006/5/12


Quote:
I tought it was working, when I looked at your dragoneggs.


I have been working around it. If I use the Kokio (sp) editor & html it works.. any bbc & the reg editor it still stacks.
Quote:

Do you have on your system another image.php or sanitizer file?
I have the personal mod pack, the community mod pack & the few extra mods you see listed in the menu.. I haven't added any image, editor or other stuff that does not come with the 2 basic packages.
Quote:
Are you sure the bb codes of the images are collideng as eg img][im or url][ur ?

No clue what that sentence even means. :( sorry :(
Quote:
Do you have the same result with the plain text editor?
Yes
Quote:
Did you check the records in the database with phpmyadmin?
I don't know how. I looked but nothing makes much sense to me in there. :(

If you look at the blogshttp://petsgalore.atlantisdesign.org/modules/popnupblog/index.php?param=1 you will see I am having the same issue there & since I can't change editors on that one I can't even work around it. :( I have even tried using tables on my personal blog & it won't take them. Adding that type of html just makes it go blank. :(

username: Nightshow password:teddy is a fictitous member made for testing that will be deleted. You can try on that account if you wish to see whats up.

17
ghia
Re: Issue with posting in NewBB
  • 2008/9/11 22:23

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Yes, at your site it still inserts a <br> code between the links.
The input is OK, the database is OK I think, because quote retrieved it correct.

The funny thing is that in preview it looks good, but after the posting the br codes are inserted.

Are you sure you removed all the br codes from images.php?

What was your XOOPS version number?

Maybe there is some where else on your system a image.php file or sanitizer file. You have to search your directories for that (might be in class or inc).
For test you could add some text on the place where you erased the br codes to see if the edited files are really used in the proces.

18
Seapyramid
Re: Issue with posting in NewBB
  • 2008/9/11 23:48

  • Seapyramid

  • Just popping in

  • Posts: 25

  • Since: 2006/5/12


Quote:
Are you sure you removed all the br codes from images.php?


My error.. I found one I missed & now it is working right in NewBB

Quote:
The funny thing is that in preview it looks good, but after the posting the br codes are inserted.
Aye.. that is part of what was driving me nuts.. STILL IS .. but here's why. The fix worked in NEWBB but my blog ... popnupblog ... newest version ... is still doing the same thing, showing right in preview & then adding <br>

Quote:
What was your XOOPS version number?

I have the latest version of XOOPS and of all the modules I have installed.

Is there a way to fix this issue in the blog... or change the editor used in the blog so that I can use full html?

19
ghia
Re: Issue with posting in NewBB
  • 2008/9/12 0:10

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
I found one I missed & now it is working right in NewBB
Yeah, Murphy in full action (1 out 8)
Quote:
I have the latest version of XOOPS
When asked for a version or a version number in particular: LATEST AND NEWEST ARE NOT NUMBERS!
Quote:
but my blog ... popnupblog ... is still doing the same thing,

Maybe in some way it's also possible to use an alternate editor, but I don't know anything about that module.

20
Seapyramid
Re: Issue with posting in NewBB
  • 2008/9/12 0:24

  • Seapyramid

  • Just popping in

  • Posts: 25

  • Since: 2006/5/12


Quote:
When asked for a version or a version number in particular: LATEST AND NEWEST ARE NOT NUMBERS!
Sorry :( I always have trouble finding the number ... it is version 2.0.18.1

popnupblog xoops_version.php,v 3.15 2007/10/17

Frameworks version 1.22

NewBB xoops_version.php,v 1.3

Login

Who's Online

262 user(s) are online (151 user(s) are browsing Support Forums)


Members: 0


Guests: 262


more...

Donat-O-Meter

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

Latest GitHub Commits