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 / [SOLVED] WriteAd, redirect to Login (not to regist

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

[SOLVED] WriteAd, redirect to Login (not to regist

More
11 years 2 months ago - 11 years 2 months ago #3785 by immonnezza
Please help me to understand this beahviour.
I have Community builder (with AdsManager plugin installed) and the option "User Account is required to post ads".

I created a menu to Write an Ad
(moving the mouse on the button it says /index.php?option=com_adsmanager&view=edit&Itemid=168&lang=en)

If the user is not logged in
the link is redirected to the Community builder Registration Form (/index.php?option=com_comprofiler&task=registers),
BUT i need to redirect the user to the LOGIN Form (/index.php?option=com_comprofiler), so to have the message "Please log in or register to view or modify your profile".

Into AdsManager language file i found
"ADSMANAGER_LOGIN_DESCRIPTION"=In order to manage your ads, you must be logged in.<br><br>Please enter your username and password below to log in, or register for a new account.""
, that is exactly what i need, but this message never came out.

Thanks in advance.
Last edit: 11 years 2 months ago by loic.
The following user(s) said Thank You: adarr
More
11 years 2 months ago - 11 years 2 months ago #3787 by immonnezza
Replied by immonnezza on topic WriteAd, redirect to Login (not to registration)
I think i find myself an answer:
The redirection to the registration page is written into the file /components/com_adsmanager/lib/tools.php (line 20)
(it is "task=registers", but should be "task=login")

Overall, i think the best solution would be to show the variable ADSMANAGER_LOGIN_DESCRIPTION (that says "Login or Register to post Ads.."), but i don't understand why it is not used anywhere.
Last edit: 11 years 2 months ago by immonnezza.
The following user(s) said Thank You: adarr
More
11 years 1 month ago #3933 by tompap
This will be improved in the next major version.
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.127 seconds
Powered by Kunena Forum