Firefox PHP

In-body attachment links/images (for Phorum 5.1 or later)

Posted by Maurice Makaay 
Re: In-body attachment links/images (for Phorum 5.1 or later)
October 06, 2006 07:40PM
Thanks for your attention, but now (I dont know how) it started to work.
Re: In-body attachment links/images (for Phorum 5.1 or later)
October 06, 2006 07:47PM
Maybe the remote server had a problem, causing the module to be unable to retrieve the image. That could cause this too.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: In-body attachment links/images (for Phorum 5.1 or later)
October 08, 2006 04:04PM
Problem is that if "BB Code Phorum Mod" is enabled, resizing of remote images not working.
If module disabled, resizing works perfectly.

Anybody know how to solve this problem?
Re: In-body attachment links/images (for Phorum 5.1 or later)
October 08, 2006 04:33PM
Then you are problem running into the problem that the bbcode mod is handled before the in body attachment module is handled. For Phorum 5.2, there will be scheduling options for module, so they can make sure that they get run before other modules. For Phorum 5.1, there's no built-in way to do this.

A while back, I wrote a module for making bbcode the last mod that is run at all times. You can find it here (remove ".txt" from the filename and place it in the modules directory). You'd have to change this module a bit to move the in_body_attachments to the first position instead of bbcode.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: In-body attachment links/images (for Phorum 5.1 or later)
October 08, 2006 05:53PM
Thanks, now everything works fine.
I think you must include make_bbcode_last_formatter as an option in your "In-body Attachments" module.
Re: In-body attachment links/images (for Phorum 5.1 or later)
October 08, 2006 08:35PM
I'm really a right-tool-for-the-right-job kind of guy, so since there is already the make_bbcode_last_formatter module, I don't see a good reason to include that in another module. But instead, I will update the documentation to help other users which run into the same problem. Users of "README" files shall be rewarded ;-)

Edit: Looking at the documentation, it turned out that I already added a troubleshooting section to the README, with the following information in it (along with some other suggestions to make
Re: In-body attachment links/images (for Phorum 5.1 or later)
January 28, 2007 11:02PM
hello,
is there a way to use the in-body attachement proprieties whith the fs-attachement module.

I would say for exemple : if i activate both inbody and fs modules picture are not auto-resized.



thanks for help.
Re: In-body attachment links/images (for Phorum 5.1 or later)
January 28, 2007 11:55PM
There's no support for that at all. But mainly because the fs attachment module isn't released officially at all. It still has problems and does not support all file handling functionality of Phorum. It's a mod that will possibly be rewritten in case the devs decide to handle things differently. For now, we advice not to use that mod at all.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: In-body attachment links/images (for Phorum 5.1 or later)
January 29, 2007 01:06AM
okay thanks for answer.
I've asked that question because i'm worry about the perf of the mysql serveur my phorum_files table is over 1,4 Go of data the entire phorum db is 2Go

this mod is a very pretty one as many user can easyli show their own pics Good Job !
Re: In-body attachment links/images (for Phorum 5.1 or later)
January 29, 2007 01:30AM
My files table is 2,5 Gb in size current and it isn't really slowing Phorum down. But I understand people who worry about all that data in a single table. Emergency repairs could take a while for example. Eventually, I think I want my data on disk in separate files too, but it will be for 5.2, not for 5.1.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Sorry, only registered users may post in this forum.

Click here to login