Sorry, I understand this morning what you meant.
I downloaded the whole site and looked with Handy File Tools for the string S\'inscrire.
I found 2 of them in the french lang file common.php. I corrected them. Deleted the cache files.
But the old string is still displayed in the menu.
I downloaded once more the whole site, searched every file for this string and it is nowhere to be found ( I use sqlite3, if it is of interest)

Sorry for my poor explanation.
There is no problem with a backslash.
I modified the text to Inscription instead of S'inscrire.
But the old version of the lang string keeps being displayed.
And I cannot find any "S'inscrire" in my lang files.
http://image.prntscr.com/image/f609dbf5a028438d9096009f7cea843d.png

No, no ...
The clear-cache button is displayed only to administrator.
But it can be displayed only if Debug Mode is enabled.
And if Debug Mode is enabled, some debug info is displayed in the footer.
http://image.prntscr.com/image/0e7cb5275d824f65ae8bd692cd3b0398.png
And this debug info is displayed to anybody. I think that Debug info should be displayed only to administrators.

Good evening !
I modified the content of a lang string in French, replacing S'inscrire (register) with Inscription (registration).
But the old word is sticky and the new one is not displayed. I have overviewed all lang files in French and "s'inscrire" is nowhere to be found anymore.
I tried with an other computer, I emptied the cache and still cannot see the new version of the lang string.

Is there a delay for modification to take place ?
Thanks for any answer.

In order to use the Clear Cache button without displaying to public the debug infos, I had to fork the footer.php file. Which is rather stupid, I admit.

In order to use correctly this clear cache function, it could be interesting to separate its display from the other debug info in the footer. Is the Clear Cache extension still maintained ?

And may I ask why the debug infos (when enabled) are displayed to anybody and not only to the administrator ?

http://image.prntscr.com/image/a2ee3b29e22c4c66a08373c2f65bae76.png

Hello !
Pan_Uploader does a perfect job now, with my other hosting provider.
The old one refused to grant sufficient chmod (644) to the newly uploaded files, and with only 604, the images were uploaded in the correct folder, but could not be used unless I corrected the chmod via ftp. Not really easy.

Now, everything is all right, you may add to the description that this great extension was tested with the following browsers in their latest version : PaleMoon, Vivaldi, Opera, Edge (for Windows10) and even the native Android browser on my smartphone : I was able to take a photo and upload it immediately to the forum. Of course, this sounded so easy that I restricted strongly access to Pan_Uploader features. And now guests and new members do not even see the Pan-Uploader icon.

Thank you so much for this add-on.

I have a question now. I want the uploaded photos to be displayed centered in the message. I did not see any possibility with BBcode, so I tried via the CSS, but did not succeed. Can you help, please ?

Hello !
This Clear Cache extension does the job correctly even on PunBB 1.4.4. Thank you very much for this development.
But the command is displayed (for the administrator) only if one enables debug mode in config.php.

And if debug mode is enabled, the following information is displayed to everybody :

Généré en 0,027 secondes, 91 requêtes exécutées

How can I hide this info to visitors and display the ClearCache command to administrator ?

84

(2 replies, posted in Feature requests)

Thank you for your expert answer.
I had never heard about this. And does not understand a lot about what is explained on the provided link. I am no coder.
I just do not want to loose my visitors or disturb their browsing. So outward links on my sites should open in new tab/windows .
If the danger comes from a possible malevolent script located on the original site, I know that all is clean on my side.
And that I can use links in _blank on my site keeping my visitors safe.
If the danger comes from a script located on the other site or on the visitor computer, I do not know what I can do.

Can you provide a soluce ? Would the suggested

rel="noopener noreferrer"

added to a link in _blank make the code safer ?

Yesssss !!!
Thanks

86

(2 replies, posted in Feature requests)

In footer.php, I suggest to modify the 2 copyright links adding

 target="_blank"

so that the forum does not loose its visitors

Hello !
I made a new png icon, gave it the same name as the default orange one and replaced it in the theme via ftp.
But the orange picture is still there. I emptied the cache, visited the site with an other browser. To no avail : the orange things is sticky. I want my black and red rss icon !
How can I do ?
Thanks in advance

I installed Pan Uploader 0.3.1, but I see no difference with previous, sorry ... Same issues as before.

Answer by MP.

PS : Is there a way to view or receive an alert when one receive a new MP ?

Well ... even if its not safe, it's what is required to display an image, otherwise, you get an error 403 (requires authorization)

I deleted the upload folder, then modified the functions.php file, turning every 0700 I met into 0777. To no avail : the folders created in the new upload folder (and sub-folders) are still with a 700 chmod, while the individual files are 604. If I do not modify the chmods via ftp, they will not change. Even the folders created via my admin panel at my hoster are useless, since fitted with low chmods. Every time I have to use the ftp protocol to fix them. Host is 1&1 in Germany, with a shared server.

Now, with the new extension (June 28th), display is somewhat modified on admin side :
- the 2 error messages are still there if nothing has been uploaded.
- I can see the 1st uploaded image listed in a table, with its url that I can copy,  but with an error message about time zone :
(the same kind  I had with the attachment extension)


Strict Standards: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in .../extensions/pan_uploader/images.php on line 195 28.06.2016 14:12 → 10.7 kB →

At this stage, I cannot use the image in the forum, though I can see it exists via ftp : I must chmod, manually beforehand.

Now I am going to chmod manually, recursive mode the folder uploads to 0777

And then I can display the image on the forum.

Okie !!! Also, I am running a new test, for was not aware that I had to install the update from the administration panel, on not only replace the files.
There are some changes, but everything is not running correctly, yet. I come back in minutes to provide a new feedback.

Thanks for this quick update. Sorry for my quick and direct speech, I do not mean to be rude or critical, just factual. wink

For the lang file, I am not authorized to upload any file here.

For the new release, it's worse than the previous one. Every problem is the same as described yesterday. Moreover, I was not able to use the newly uploaded image on the forum, even If I can see it in ftp. Images uploaded yesterday are usable.

I had to chmod also the new image to 777, while I had configured yesterday the parent folders to this value. It means that (at least on my server), every new folder /file has to be given chmod individually if it is created by a php command. It will not be really practical.

Thank you. I'm ready to test whenever you want, if I can be of help. Do you want my French file ?

sqlite3

Thanks for the answer. And thanks for reading the long post below, related to my first test of this extension. I hope it is the place and way for a feedback.

I installed every thing on my forum (1.4.4, sqlite3) : the 3 dependencies extensions and pan_uploader.
I had to chmod to 777 the whole folder /upload, recursive mode, ie including every sub-folder and file included, otherwhise, I could not use the image in the forum. (error 403 : access to file required authorization)

I translated the lang file to French (if you want it, just ask), but some English strings remain and I do not know were to look (maybe in an other extension not yet translated ???) : at the bottom of the upload  popup :

Image: (gif,jpeg,jpg,png), max width 700px, max height 500px.
Fichiers: (zip,rar,pdf,epub), max size310Ko.

When I open the first time the image or file manager panel, before uploading any image/file, I get 2 error messages  one at the top of the page

Notice: Undefined variable: all_items in /.../extensions/pan_uploader/files.php on line 40 Notice: Undefined variable: num_files in ...e/extensions/pan_uploader/files.php on line 51 Notice: Undefined variable: num_files in .../extensions/pan_uploader/files.php on line 54 Notice: Undefined variable: num_files in .../extensions/pan_uploader/files.php on line 55

one just above the alert "No file (or image) uploaded

Notice: Undefined variable: all_items in .../homepages/18/d149996993/htdocs/place/extensions/pan_uploader/files.php on line 126 Notice: Undefined variable: result in .../extensions/pan_uploader/files.php on line 153

After I uploaded an image, the error messages disappear (in image manager panel), but  the image is not listed in this page , it says : No uploaded images, even if I can see the uploaded image in the correct folder via ftp and even if I was able to use it in a forum post.

http://image.prntscr.com/image/eef9498591564a2f974b1f9b8dd98786.png

I did not found how I could find easily the url of an image that I just uploaded in order to use it on the forum. I managed to do it only because I had access to ftp ...

PanBB.Ru wrote:

T

Dependencies :
pan framework
pun_jquery
pun_bbcode

What does "dependancies" mean ? Are these add-ons compulsory and must be installed before Pan Uploader ?

97

(6 replies, posted in PunBB 1.4 troubleshooting)

Yessss !!!
You are the best ! The problem was with the sub-folder. I moved the forum at the root of my hosting place, on the save level as the main site. It seems to be in working order now. I changed only the url in config.php. And I did not need to modify the htaccess file. That could have been necessary to redirect my numerous users to the new url. But it is still in beta-test and there are only 5 of us. I will just have to modify the url of the pictures and we are nearly ready to make the forum public.
Thanks to your help.

98

(6 replies, posted in PunBB 1.4 troubleshooting)

It's what I entered, but it does not work.

99

(6 replies, posted in PunBB 1.4 troubleshooting)

Well thanks for your answer, I did not know where to look.

1st url was : mysite.com/forum, I want it as forum.mysite.com

I just modified config .php, but it does not change a thing : the url with sub-domain keeps being redirected to url with sub-folder.

My data base in sqlite3.

Hello,

I cannot find in the administration panel where I can change the url of the site.
When I installed the forum, I specified an address as a subfolder of the main site and I want now an address as a sub-domain.
The sub-domain is now created, it is redirected to the proper folder. But when I enter the sub-domain, the address in the address bar is changed to the old address (sub-folder)

Is it possible to modify the url ? I did not find how in the administration panel. Should I modify anything in the root htaccess ? Must I re-install the forum ?

A little help is welcome, please.

Thank you in advance.