Thank to @anexity report.
patched views/config.php and class.wp.w3all-phpbb.php to fix error on activating option "Retrieve posts on Last Topics Widget based on phpBB user's permissions"
please download plugin and replace files, or better, download distinct files
class.wp.w3all-phpbb.php and
views/config.php from here
https://plugins.trac.wordpress.org/brow ... tion/trunk
and replace these two files on respective plugin's folders.
1.7.2 patched to fix error on activating option "Retrieve posts on Last Topics Widget based on phpBB user's permissions"
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
-
- Posts: 3
- Joined: Sat Jun 24, 2017 9:56 am
- Location: Austria
Re: 1.7.2 patched to fix error on activating option "Retrieve posts on Last Topics Widget based on phpBB user's permissi
Ciao Alessio!
Thank you for your fast bugfix.
Unfortunately I get the same error as described in the other topic. I downloaded both updated files "class.wp.w3all-phpbb.php" and "views/config.php", but the postings in the hidden forum is still displayed in the Last Posts Widget (tested with a guest user and a second WP/phpBB user without any permissions).
If you want I can send you a PM with the link to my site for a live demo.
Buonanotte!
anexity
Thank you for your fast bugfix.
Unfortunately I get the same error as described in the other topic. I downloaded both updated files "class.wp.w3all-phpbb.php" and "views/config.php", but the postings in the hidden forum is still displayed in the Last Posts Widget (tested with a guest user and a second WP/phpBB user without any permissions).
If you want I can send you a PM with the link to my site for a live demo.
Buonanotte!
anexity
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: 1.7.2 patched to fix error on activating option "Retrieve posts on Last Topics Widget based on phpBB user's permissi
The code of this option has been patched because was returning php notice and relative html error on config page due to a not assigned var in correct way.
The code just take from a table the list of forums id which user's group belong.
So i think there is something maybe wrong on retrieving these values if there is a different forums permissions configurations.
It work fine on my localhost tests, but so i will check what can be wrong activating more options.
Unfortunately in this case looking to the installed forum not help to understand the problem, because there is no error on code, but in the query as is done in case, that retrieve forums ids for users. I should see the database, because normally, without looking code, it is my start: i try to understand what need to do, looking on how data are stored. So sometime maybe, my tests are not complete of all possibilities ...
Anybody experience the same problem?
Sei Italiano mi pare, e sai un migliore inglese anche ... linka comunque il sito e un account che può vedere almeno un forum nascosto, o che mi faccia vedere il risultato che tu riporti.
The code just take from a table the list of forums id which user's group belong.
So i think there is something maybe wrong on retrieving these values if there is a different forums permissions configurations.
It work fine on my localhost tests, but so i will check what can be wrong activating more options.
Unfortunately in this case looking to the installed forum not help to understand the problem, because there is no error on code, but in the query as is done in case, that retrieve forums ids for users. I should see the database, because normally, without looking code, it is my start: i try to understand what need to do, looking on how data are stored. So sometime maybe, my tests are not complete of all possibilities ...
Anybody experience the same problem?
Sei Italiano mi pare, e sai un migliore inglese anche ... linka comunque il sito e un account che può vedere almeno un forum nascosto, o che mi faccia vedere il risultato che tu riporti.
-
- Posts: 3
- Joined: Sat Jun 24, 2017 9:56 am
- Location: Austria
Re: 1.7.2 patched to fix error on activating option "Retrieve posts on Last Topics Widget based on phpBB user's permissi
Hey!
I'm sorry, I'm not that pro coder like you so I can't really help with the code
But I set a database baser user with read only permission up for you so that you can have a look inside the phpBB database if you want to. I'll send you a PM with the login credentials.
Btw. thank you so much for your work and time you put into this project, I appreciate that very much!
Regards,
anexity
P.S.: Io sono austriaco e il mio italiano è male
I just finished my first italian language course and it's just enough so that I can order in a restaurant
I'm sorry, I'm not that pro coder like you so I can't really help with the code
But I set a database baser user with read only permission up for you so that you can have a look inside the phpBB database if you want to. I'll send you a PM with the login credentials.
Btw. thank you so much for your work and time you put into this project, I appreciate that very much!
Regards,
anexity
P.S.: Io sono austriaco e il mio italiano è male
I just finished my first italian language course and it's just enough so that I can order in a restaurant
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: 1.7.2 patched to fix error on activating option "Retrieve posts on Last Topics Widget based on phpBB user's permissi
Ah ok! Il tuo Ita va molto bene invece! Sicuramente meglio del mio Inglese o Tedesco!
I'm going to check as soon, thank for your pm ...
As soon i can because i'm fighting with a theme setup for a site ... i've buy a theme for this site, but setting up the theme, i have fix already 4 bugs on code ...
I had hope that it was requiring me to lost less time to adjust all perfectly, instead, even build a slider, for example using revolution slider, require to me much more effort, than understand regular expressions ... really asking my self if was not better to use something from github, instead than a ready thing like rev slider.
but ok ...
I'm going to check as soon, thank for your pm ...
As soon i can because i'm fighting with a theme setup for a site ... i've buy a theme for this site, but setting up the theme, i have fix already 4 bugs on code ...
I had hope that it was requiring me to lost less time to adjust all perfectly, instead, even build a slider, for example using revolution slider, require to me much more effort, than understand regular expressions ... really asking my self if was not better to use something from github, instead than a ready thing like rev slider.
but ok ...