Subscribe Button

 

The Subscribe Button in the Action menu that pops up when you hover over a member isn't working, and issues a Javascript error on the following pages and modules:

browse.php

search.php

calendar.php

and the map_profiles module

 

The bug issues the following firebug error:

oBxDolSubscription is not defined

a similar bug is issued by IE. This bug had been confirmed on Boonex.us

 

The problem can be resolved by finding the following line in browse.php, search.php, calendar.php:

PageCode();
and adding the following code immediately before it:

// Changed by JLW on 3/25/2011 to fix subscribe bug on page.
bx_import('BxDolSubscription');
$oSubscription = new BxDolSubscription();
$_page_cont[$_ni]['page_main_code'] .= $oSubscription->getData();
// End Change

similarly, find the following line in modules/boonex/map_profiles/classes/BxMapModule.php:

echo $oPage->getCode();

and adding the following code immediately after it

// Changed by JLW on 3/25/2011 to fix subscribe bug on page.
bx_import('BxDolSubscription');
$oSubscription = new BxDolSubscription();
echo $oSubscription->getData();
// End Change

 

Hopefully, these fixes can be added to the core codebase so they don't have to be modded every time.

Also, these are just the modules I've found the problem in, there may be more.

Hope this helps,

-Jason

There are many people who can write computer programs, but there are very few computer programmers.
Quote · 25 Mar 2011

never noticed before... thanks for the fix, its working!

Quote · 26 Mar 2011

No Problem, As I find & fix bugs I will continue to post fixes. Hopefully Boonex will incorporate them into the core codebase so that they won't have to be modded each time.

There are many people who can write computer programs, but there are very few computer programmers.
Quote · 27 Mar 2011

 

No Problem, As I find & fix bugs I will continue to post fixes. Hopefully Boonex will incorporate them into the core codebase so that they won't have to be modded each time.

good luck with that

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 27 Mar 2011

Is this an issue in D7.0.6.?

In modules/boonex/map_profiles/classes/BxMapModule.php:

There are: two: echo $oPage->getCode(); statements on lines 152 & 174, do we add this code to both instances? (D7.0.6.)

I have also noticed that the 'Subscribe' button does not change to 'Unsubscribe'

There are none so blind as those that will not see.
Quote · 27 Mar 2011

 

Is this an issue in D7.0.6.?

I'm not sure, I haven't applied the patches to my development server yet.

 

I have also noticed that the 'Subscribe' button does not change to 'Unsubscribe'

Yeah, I've noticed that too. I haven't had time to track that one down yet.
-Jason
There are many people who can write computer programs, but there are very few computer programmers.
Quote · 28 Mar 2011

 

 

No Problem, As I find & fix bugs I will continue to post fixes. Hopefully Boonex will incorporate them into the core codebase so that they won't have to be modded each time.

good luck with that

Yeah. Frown

There are many people who can write computer programs, but there are very few computer programmers.
Quote · 28 Mar 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.