21
Sir_Saeed
Re: Issue with posting in NewBB
  • 2008/9/24 17:44

  • Sir_Saeed

  • Just popping in

  • Posts: 41

  • Since: 2007/10/10


Quote:

ghia_ wrote:

Go to /Frameworks/textsanitizer/config.php and find

hi
I opened config.php and changed line 44 as this:

define('EXTCODE_IMAGE_MAX_WIDTH',            450);    // Maximum width for image resize functionality; 0 for no resize

I just replaced value 300 with 450. but after uploading, nothing changed.
even with this change:

define('EXTCODE_ENABLE_IMAGE_CLICKABLE',    0);

Images with [ img] codes r still links!

What's the problem?

and another question:
Is it possible to deactivate this two features (resizing and making pictures links) in a specified module?

22
ghia
Re: Issue with posting in NewBB
  • 2008/9/24 18:51

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Depending on your XOOPS version, these options may have been relocated to other files in eg 2.3.0 : /class/textsanitizer and subdirectories.
To suppress it (system wide) is shown in post #12.

23
Sir_Saeed
Re: Issue with posting in NewBB
  • 2008/9/29 13:33

  • Sir_Saeed

  • Just popping in

  • Posts: 41

  • Since: 2007/10/10


it's exactly this file: Frameworks/textsanitizer/config.php

there's written 'Maximum width for image resize functionality; 0 for no resize' as comment for define('EXTCODE_IMAGE_MAX_WIDTH', 450);

but it doesn't change the resize actually.

24
ghia
Re: Issue with posting in NewBB
  • 2008/9/29 15:13

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


If you are using 2.3.0, as assumed by your other posts, then that file is a left over and no longer active, so changing it will have no effect.
As I told you before in 2.3.0 the files are relocated and the settings are now here.

25
Sir_Saeed
Re: Issue with posting in NewBB
  • 2008/9/29 23:51

  • Sir_Saeed

  • Just popping in

  • Posts: 41

  • Since: 2007/10/10


thanks you my friend

Login

Who's Online

224 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 224


more...

Donat-O-Meter

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

Latest GitHub Commits