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 / Redirect my Profile to MyADs

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

Redirect my Profile to MyADs

More
12 years 3 months ago #6154 by Teozana
Redirect my Profile to MyADs was created by Teozana
Hello,

when i co on My profile and/or when i have ti fill login and password, then the system doesn't redirect on my ads, but it shows my profile. I would like, after the access, to be ridirected to MY ADS.
Whic part of the code i have to ovverride and rewrite??

Thanks
More
12 years 3 months ago #6175 by loic
Replied by loic on topic Redirect my Profile to MyADs
Hello,

Do you have Community Builder installed on your system ?

Best Regards.
More
12 years 3 months ago #6195 by Teozana
Replied by Teozana on topic Redirect my Profile to MyADs
No, i removed it. I think it is just to rewite a little bit the path of the default file php of Myprofile, but i don't know how.
Can you help me??
More
12 years 3 months ago #6213 by loic
Replied by loic on topic Redirect my Profile to MyADs
Hello,

If you are using the default login of Joomla, you can set the redirect url directly in the settings of the module.

If this isn't the answer you are looking for, then I need you to tell me precisely what login form you are using :).

Best Regards.
More
12 years 3 months ago #6293 by Teozana
Replied by Teozana on topic Redirect my Profile to MyADs
Hello,

first i set that when you have to write an ads you have to be logon.

So, when i want to fill an ads or see my ads, the system redirect to the login module (i suppose from adsmanager).

Then, when i logon, instead to redirect directly to fill the ads or my ads, it shows me my profile (if i want to modify..).

I want to be redirected to my choice (fill ads or my ads list...)

What do you think?
More
12 years 3 months ago #6313 by loic
Replied by loic on topic Redirect my Profile to MyADs
Hello,

This bug will be fixed for the next version of AdsManager.

Here is how to do the correction :
Open the file /components/com_adsmanager/lib/tools.php

and replace the lines 22 to 28:
if(version_compare(JVERSION,'1.6.0','>=')){
    //joomla 1.6 format
    $app->redirect( JRoute::_("index.php?option=com_users&view=login&return=$returnurl"));
} else {
    //joomla 1.5 format
    $app->redirect( JRoute::_("index.php?option=com_user&view=login&return=$returnurl"));
}

By this block :
if(version_compare(JVERSION,'1.6.0','>=')){
    //joomla 1.6 format
    $app->redirect( JRoute::_("index.php?option=com_users&view=login&return=$returnurl",false));
} else {
    //joomla 1.5 format
    $app->redirect( JRoute::_("index.php?option=com_user&view=login&return=$returnurl",false));
}

Best Regards.
Moderators: perry
Time to create page: 0.077 seconds
Powered by Kunena Forum