Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Problem with Ariquiz and Custom Member Homepage
(1 viewing) (1) Guest
component
Go to bottomPage: 12
TOPIC: Problem with Ariquiz and Custom Member Homepage
#47169
Re:Problem with Ariquiz and Custom Member Homepage 10 Years, 10 Months ago Karma: 0
As I told you in the email I bypass the detection for your component

if(!$user->guest && ($activeMenu == $defaultMenu) && $app->getClientId() === 0 ) {

if(JRequest::getVar('option', '')=='com_ariquiz')
{

}else{

$app->redirect(JRoute::_("index.php?Itemid=".$menuId,false));



}
}

if you have any other idea please let me know!
The administrator has disabled public write access.
 
#47180
Re:Problem with Ariquiz and Custom Member Homepage 10 Years, 10 Months ago Karma: 760
You can modify the plugin and use the following code:

Code:


if (!$user->guest && ($activeMenu == $defaultMenu) && $app->getClientId() === 0 && $app->input->getVar('option') !== 'com_ariquiz'){
  $app->redirect(JRoute::_("index.php?Itemid=".$menuId,false));
}



instead of:

Code:


if(!$user->guest && ($activeMenu == $defaultMenu) && $app->getClientId() === 0){
  $app->redirect(JRoute::_("index.php?Itemid=".$menuId,false));
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12