Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / [RESOLVED] Code dont work anymore

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

[RESOLVED] Code dont work anymore

More
7 years 8 months ago #26453 by raph17
Replied by raph17 on topic Code dont work anymore
Sorry think it was a mistake there.The condition is if the ad_model is filled the url add the ad_model value .The second if the ad_motomodel is filled to add at url the ad_motomodel value.
And even the ad_motomodel value is filled the value isnt loaded in url.This is my issue.
When
return $url;
everything was ok but when you did it
return $result;
stopped to be ok.
More
7 years 8 months ago #26459 by raph17
Replied by raph17 on topic Code dont work anymore
SOLVED with this
function getAdsmanagerRouteContent($id)
{
	$db =JFactory::getDBO();
	$sql = "SELECT ad_marca, ad_motomodel, ad_model FROM #__adsmanager_ads WHERE id = ".(int)$id;
	$db->setQuery($sql);
	$result = $db->loadObject();
             if ($result->ad_model != "")  {
             $url = TText::_($result->ad_marca)."-".TText::_($result->ad_model);
        } 
        if ($result->ad_motomodel != "")  {
             $url = TText::_($result->ad_marca)."-".TText::_($result->ad_motomodel);
        }
	$result = TTools::stringURLSafe($url );
	$result = JString::substr($url ,0,30);
	return $result ;
}

Thank you for zero support.
More
7 years 8 months ago #26464 by loic
Replied by loic on topic Code dont work anymore
Hello,

To provide good support, we need to understand what you wish to do.
Also, there is NO support for custom code like that, the support team was just trying to help you with your code, free of charge.

Best regards.
More
7 years 8 months ago #26465 by raph17
Replied by raph17 on topic Code dont work anymore
For that code i paid 2 years ago ;). I understand that you must make money but making changes that makes old codes dont works isn t fair.From update to update i must some changes and is not so good to modify again and again and again. This is my opinion.
More
7 years 8 months ago #26480 by loic
Replied by loic on topic Code dont work anymore
Hello,

Sorry, I didn't know that was a paid job :/
I mark that topic as resolved.

Best regards.
Moderators: perry
Time to create page: 0.190 seconds
Powered by Kunena Forum