miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Bugs miniBB Support Forums / Bugs /  
 

Favorites - empty page after posting

 
Author Karel
Partaker
#1 | Posted: 10 Jul 2019 07:32 
I tried to add Favorites to my forum and discovered that when I do the following steps

- login to forums
- visit some topic
- write some reply
- check the box [x] Add this Topic to Favorites
- click on Post message

miniBB displays empty page (on the same tab).

I thought that I overlooked some installation step, but when I tried your demo forum, it behaves the same.

I suppose it is not intentional. Can you look into it, please?

Author Steve Shaw
Partaker
#2 | Posted: 10 Jul 2019 16:42 
Karel:
I tried to add Favorites to my forum and discovered that when I do the following steps

- login to forums
- visit some topic
- write some reply
- check [x] Add this Topic to Favorites
- click on Post message

miniBB displays empty page (on the same tab).

I thought that I overlooked some installation step, but when I tried your demo forum, it behaves the same.

I suppose it is not intentional. Can you look into it, please?
Interestingly, I have exactly the same issue...
Have just purchased and installed the 'Favorites' add-on, and I get exactly the same 'empty' page.

Steve

Author Paul
Lead Developer 
#3 | Posted: 10 Jul 2019 17:31 
Thanks for reporting this. There was a little code missing for the most recent version; you could re-download the package from your area (I've updated it), or just fix the addon_favorites.php, looking up for this piece of code (just look up for favsAdded ):

$errTxt=<<<out
parent.document.getElementById('favaddlink').innerHTML='<img src="{$main_url}/img/icon_fav.gif" alt="{$l_favsAdded}" title="{$l_favsAdded}" />';
alert('{$favAddReport}');
out;
produceJsError('', $errTxt, FALSE);
exit;
-- this code should be surrounded by the following:

if(!defined('INCLUSIVE_FAV')) {
$errTxt=<<<out
parent.document.getElementById('favaddlink').innerHTML='<img src="{$main_url}/img/icon_fav.gif" alt="{$l_favsAdded}" title="{$l_favsAdded}" />';
alert('{$favAddReport}');
out;
produceJsError('', $errTxt, FALSE);
exit;
}
Let me know if it helped; or if you still experience the error.

Author Steve Shaw
Partaker
#4 | Posted: 10 Jul 2019 17:59 
Works now!
Thanks.

Steve

Author Karel
Partaker
#5 | Posted: 10 Jul 2019 22:12 
Works for me too. Thanks for you prompt response.

Karel

Bugs miniBB Support Forums / Bugs /
 Favorites - empty page after posting
 Share Topic's Link

This topic is closed. New replies are not allowed.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑