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] Upload button not displaying

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] Upload button not displaying

More
11 years 4 days ago #4746 by loic
Replied by loic on topic Upload button not displaying
Hello,

It seems something in missing in the code.

Could you check in the file 'components/com_adsmanager/views/edit/tmpl/default.php' if the code '<div id="uploader"></div>' exist ?
The following user(s) said Thank You: adarr
More
11 years 4 days ago - 11 years 3 days ago #4752 by Nimeshin
Replied by Nimeshin on topic Upload button not displaying
Hi

yes it exists
Last edit: 11 years 3 days ago by Nimeshin.
The following user(s) said Thank You: adarr
More
11 years 4 days ago #4753 by loic
Replied by loic on topic Upload button not displaying
Ok, you will need to modify the code a little.

I advice you to make an override of the edit view then change the id="uploader" to id="adsimages".

Then search all the line with '#uploader' using CTRL + F and replace them by '#adsimages'.

Finally empty the cache of your navigator and reload the page.
The following user(s) said Thank You: adarr
More
11 years 4 days ago #4754 by jharrah
Replied by jharrah on topic Upload button not displaying
I have the same problem but only in the frontend. Upload is still possible from the backend. This is only when adding a new ad, it shows how many pictures are allowed but no facility to upload them is presented. This was working when I first installed the extention but stopped sometime later. I'm not sure when this happened or what may have caused it. Any information would be greatly appreciated.

Thanks
Jeff Harrah
The following user(s) said Thank You: adarr
More
11 years 3 days ago #4758 by jharrah
Replied by jharrah on topic Upload button not displaying
I tried what you said about replacing the "uploader" with "adsimages" and it didn't solve my issue. I still have no uploader available on the front page. It is still in the backend so as the admin I can upload pictures however my users cannot. I need to get this fixed before I start losing users. This has been a very stable and useful extention until this started... Any help would be very much appreciated.

Thanks

Jeff Harrah
The following user(s) said Thank You: adarr
More
11 years 2 days ago #4760 by loic
Replied by loic on topic Upload button not displaying
Hello,

I will complete my last answer, because i forgot to tell you one thing.

Here the step to correct the problem :
- First open the file 'components/com_adsmanager/views/edit/tmpl/default.php' and modify every #uploader and id="uploader" in the file. those lines of code are in the lines 251, 302, 387, 448 and 712.

- The same thing must be done in 'administrator/components/com_adsmanager/views/admin/tmpl/editcontent.php'

- You can replace the word 'uploader' by the one you want, 'imagesupload' for example, just be sure you don't have another id named the same way (an id must be unique).

- Then open the file 'administrator/components/com_adsmanager/table/contents.php' and update the lines 250 and 269 to 272:

Replace:
$uploader_count = JRequest::getInt('uploader_count',0);

and
$uploader_tmpname = JRequest::getString('uploader_'.$i.'_tmpname',0);
$uploader_id = JRequest::getString('uploader_'.$i.'_id',0);
$uploader_name = JRequest::getString('uploader_'.$i.'_name',0);
$uploader_status = JRequest::getString('uploader_'.$i.'_status',0);

by
$uploader_count = JRequest::getInt('imagesupload_count',0);

and
$uploader_tmpname = JRequest::getString('imagesupload_'.$i.'_tmpname',0);
$uploader_id = JRequest::getString('imagesupload_'.$i.'_id',0);
$uploader_name = JRequest::getString('imagesupload_'.$i.'_name',0);
$uploader_status = JRequest::getString('imagesupload_'.$i.'_status',0);

- Finally, you must empty the cache of your browser, otherwise you will not see any modification.

We are currently looking for what may cause this bug, but it seems to appear only on certain servers. You may want to check if the keyword 'uploader' is allowed on your server.

For those who still have the bug with this modification, it may be another problem. So please don't post your message on a existing topic and create a new one.

Best Regards.
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.169 seconds
Powered by Kunena Forum