Show all posts by user
Need to make Phorum play with your CMS? Want to use Phorum's user database for the rest of your site. Discuss those topics with others here.
Re: "New Private Messages" when there aren't any... - 5 years ago
Hi, For those who come here for the solution to this problem, here a SQL query: DELETE FROM phorum_pm_xref WHERE pm_message_id NOT IN (SELECT pm_message_id FROM phorum_pm_messages) This will delete all reference of private message in the xref table if there's no more private message in the pm_messages table. As usual with running queries directly, please TEST before in your devby cactux - Phorum Support
Re: Module: Store Files on Disk - 6 years ago
It works now! Not sure why, here's what I did: 1. Removed all modules which were not used, from the mods directory (all modules which were at Off). 2. Turned the module Off 3. Turned the module back at On. Thanks for your help!by cactux - v5/v6 Modules/Add-Ons
Re: Module: Store Files on Disk - 6 years ago
QuoteScott FineganHere is a whole thread on broken images Thanks. I'll try turning off modules to see if there's a conflict.by cactux - v5/v6 Modules/Add-Ons
Re: Module: Store Files on Disk - 6 years ago
QuoteScott Finegan Tidy is a Mod in the module directory. There is also a php extension tidy, which may be disabled or enabled. They are both Off.by cactux - v5/v6 Modules/Add-Ons
Re: Module: Store Files on Disk - 6 years ago
Thanks Scott. > Try a small file 20K, see if it works. Here's what I tried: uploading 5 files of different sizes, from 10KB to 200KB. local server ratio 200102 38217 5,236 153987 29172 5,279 100429 19005 5,284 50442 9684 5,209 20179 3853 5,237 10032 1834 5,470 Each time the size is smaller, and I calculated the ratio: always 5 something. Could this be a clue? If I run theby cactux - v5/v6 Modules/Add-Ons
Re: Module: Store Files on Disk - 6 years ago
Hi, I am trying this module on my dev environment, and I have this problem: uploaded photos are smaller than original, and do not load. Max file size for attachments in Phorum settings is 250KB, much lower than in PHP settings (2M and 8M for post_max_size and upload_max_filesize). I tried to upload various JPG files, with size between 90KB and 240KB, the files written on disk have a size of 3by cactux - v5/v6 Modules/Add-Ons
Re: Module: Store Files on Disk - 6 years ago
Hi, QuoteBryanB How do we undo this module and revert back to having all the files stored in the database? Is there a script to force this back? I just read the complete discussion looking for an answer to a question I have, and there's a message from Maurice that says no, this is not the goal of this module. It is a one way only.by cactux - v5/v6 Modules/Add-Ons
Re: Phorum 5.2 and php7 - 6 years ago
Hi, Same question for me: how to make Phorum work with PHP 7.3? And do you know if there are differences between PHP 7.0, 7.1, 7.2 and 7.3 for Phorum 5.2.20? Thanks :)by cactux - Phorum Support
Re: Text with special char (accents) is lost in admin, but fine in messages - 8 years ago
Hello, I found the problem! Several mbstring variables were not correct: they were set to values like Japanese, SJIS, EUC-JP, etc. Once corrected, everything works fine. Thank you all for your help :)by cactux - Phorum Support
Re: Migrating Phorum to UTF-8 (from ISO-8859-1) - 8 years ago
Hi, I finally found the problem: it was caused by wrong values of mbstring variables, such as mbstring.language, mbstring.http_output, and mbstring.internal_encoding, etc. which were at strange values sch as Japanese, EUC-JP, and so on.by cactux - Phorum Support
Re: Migrating Phorum to UTF-8 (from ISO-8859-1) - 8 years ago
Hello, I am altering the tables. But the problem is not there: I get it with new messages too. So to investigate, I did a fresh install of Phorum, latest version, with french.php as language file. On my dev server, it works fine, I can post this message: "Voilà l'été 1°C". On my prod server, I get this garbage instead: "Voilà l'été 1°C". I checked theby cactux - Phorum Support
Migrating Phorum to UTF-8 (from ISO-8859-1) - 8 years ago
Hello, I am migrating Phorum to UTF-8 (from ISO-8859-1), but I get some problems (one, actually). First, I changed this line in french.php to have "UTF-8" instead of "ISO-8859-1" $PHORUM['DATA']['CHARSET'] = "UTF-8"; Then, testing right away (on my dev environment), I see that messages subject containing special chars are missing (suchby cactux - Phorum Support
Re: How to switch the Phorum database to support Unicode? - 8 years ago
QuoteMaurice Makaay If you do get problems with serialized data, then check out the conversion script that I am working on. I already used it successfully on my own database test conversion. If you have some weird problems, then this might save you: convert_to_utf8.php. Once I migrated the forum to UTF-8, the subject of messages is lost if it contains accentuated chars. How can I correct?by cactux - 5.1 Phorum Support
Re: Text with special char (accents) is lost in admin, but fine in messages - 8 years ago
QuoteScott Finegan What changed on your server when the problem began? Good question, if only I knew :) Unfortunately, I don't know what changed exactly. There are some regular updates, especially for security reasons, such as the Linux kernel. But I do not have the detail.by cactux - Phorum Support
Re: Text with special char (accents) is lost in admin, but fine in messages - 8 years ago
Hello, I upgraded Phorum to the latest version (5.2.23), and I still have the same problem. In case it could help: PHP version on the server is 5.5.36, and in phpinfo I see default_charset = "no value" for both "Local Value" and "Master Value". Any idea of what could be the origin of the problem? I am now completely stuck. Thanks for your help :)by cactux - Phorum Support
Text with special char (accents) is lost in admin, but fine in messages - 8 years ago
Hi, Using Phorum 5.2.20, I have a strange thing since a few days on my server: In the admin area / Manage forums, the "forum description" is loading empty if it contains special characters such as é, è or à (letters with accent). Description loads fine if there are no special chars. In the forum itself, messages are fine: subject or text can contain accentuated chars, it works.by cactux - Phorum Support
Re: Why doesn't profile have a "View all my posts" option? - 9 years ago
Hello, Good idea. It should not be difficult to code, I'll give it a try during end of year holidays if nobody does it before.by cactux - Phorum Support
Re: Invalid argument supplied for foreach() in mods/editor_tools/editor_tools.php - 10 years ago
Hello, Just for the record, here is the solution: I was using the module bbcode_video version 1.0.6. It's call to the function editor_tools_register_translations was passing a NULL. I upgraded to bbcode_video 1.0.10, and now it works fine.by cactux - Phorum Support
Re: Invalid argument supplied for foreach() in mods/editor_tools/editor_tools.php - 10 years ago
Hello, Thank you Terradon, because of you I could go further in investigating this issue. Here's what I found out: I go twice by that part of the code: firt time I do have an array, but second time I have a NULL value. So as I placed a test to check if the variable is an array, the test was ok at first pass, but I did not see at the second pass. Now I will investigate to find out ifby cactux - Phorum Support
Re: Invalid argument supplied for foreach() in mods/editor_tools/editor_tools.php - 10 years ago
Hello, Nobody has any tip?by cactux - Phorum Support
Re: Lots of Spam (but no moderator e-mails) - 10 years ago
> while I get emails from legitimate posts, I don't get emails for the spam posts Then I would suggest to have a look at your spam folder in your email software (thunderbird, gmail, etc.). This makes sense: the spam messages posted in your forum contains... spam, so your email software flag them as spam and you don't see them.by cactux - Phorum Support
Invalid argument supplied for foreach() in mods/editor_tools/editor_tools.php - 10 years ago
Hello, Since a few days, I get this warning : Warning: Invalid argument supplied for foreach() in mods/editor_tools/editor_tools.php on line 396 This is the line 396 : foreach ($translations as $key => $val) { There are several weird things: 1. I checked the value passed: it is an array (I did print_r() and var_dump() on it). 2. I do not have the warning on my dev environnemby cactux - Phorum Support
Re: Module: Automatic HTTP Path - 10 years ago
Hello, I just moved my website from http to https, and this module works fine. Thanks Maurice :)by cactux - v5/v6 Modules/Add-Ons
Re: Module: BBcode Video - 10 years ago
Hello, The module does not seem to work with webm videos. Did someone managed to make it accept them? Here's an example of such a video : Thanksby cactux - v5/v6 Modules/Add-Ons
Re: Phorum 5.2.20 released - Minor Security Fixes - 10 years ago
Hello Thomas, This is great news, it is good to see a new version of Phorum. Thanks to all contributors ;-)by cactux - Announcements
How to block message based on keywords? (ban lists) - 11 years ago
Hello, I added some keywords to the ban lists in Phorum admin, the goal is to block posting of messages containing some keywords. However, it works only for unregistered users. Logged-in users can post messages containing the keywords, which is not what I want. How can I achieve the goal? Do I need a specific module? If so, is there one? Thanksby cactux - Phorum Support
Re: Improving Phorum performance - 11 years ago
Hi Scott, Thanks for your answer. You are right, there are many things to work on. I listed only those which could be done on Phorum code. Other important things are the compression and the cache settings, but these are mainly at server level. Improving the code, even if only a small part of the performance, is also important for technical quality rating of the page, which is one among maby cactux - Phorum Development
Improving Phorum performance - 11 years ago
Hello, I am currently in the process of improving my website performance. And although Phorum is great, and I use it since several years, there may be some things to do to improve its performance. First some background: Users of my web site were complaining about slow pages, so I decided to take action. My PHP code was a bit old, my CSS and JS files management not really up-to-date. Durinby cactux - Phorum Development
Re: PB: new message icon (flag_red) needs F5 to disappear - 11 years ago
Hello, I found it, here it is in case it can help someone. Recently I made some actions to improve the performance of my web site. One of them was to add this in the .htaccess file: # BEGIN Expire headers <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access plus 2592000 seconds" ExpiresByType image/jpeg "access plus 2592000 seconds" Eby cactux - Phorum Support
PB: new message icon (flag_red) needs F5 to disappear - 11 years ago
Hello, Since a few days, the new message icon (flag_red) needs F5 to disappear. It was not the case before, I don't understand why. I worked on my web site recently, but not on the forum part. Here is a scenario of the problem: 1. The user goes to the index of a forum, listing the topics. Some have new messages, so a red flag icon is shown on the left column. 2. Users reads a topic.by cactux - Phorum Support
