Tom Art

Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
Mar 2, 2021 at 12:03 pm
#147718
Participant
Tom Art
OP

I found the solution in case someone else is in the same situation.
If you use 2 different versions of jquery on your site you need to add a “noconflict”.
For example like this:

<script src=”here the second jquery script loaded”></script>
<script>
var $somename = $.noConflict(true);
</script>
<script>
here your script. You need to name it like above (somename)
</script>

Mar 2, 2021 at 11:35 am
#147717
Participant
Tom Art
OP

I can use packages if all of the files in the package are either free or protected.
But I have cases where inside a package some files are free and some protected. If I have to create a package for each individual file I cannot link to a page where all files are listed. This would be very complicated and long for me to do.

Thanks!

Mar 1, 2021 at 4:52 pm
#147662
Participant
Tom Art
OP

Hello,

Yes that’s what I want. In some cases I do not want to create a package but just protect the file. This is much faster.
What do you mean by “can be loaded form cache for you”. Is this a server side issue?
Normally the modal login should pop up, I guess?

Thanks

Mar 1, 2021 at 4:48 pm
#147659
Participant
Tom Art
OP

Yes, that was my question actually. What can I do to make it work on every page? The referred page is especially important because it is there that the people see the Login Link when a file is protected and they cannot download it if not connected.

There must be a conflict with the script I am importing but it’s just a simple jquery. There should be a workaround?

Mar 1, 2021 at 3:39 pm
#147645
Participant
Tom Art
OP

Thank you, but you are trying on the Homepage.It always worked there.
Can you go to the link I sent you? It is not working there..

Mar 1, 2021 at 2:59 pm
#147639
Participant
Tom Art
OP
This reply has been marked as private.
Mar 1, 2021 at 1:21 pm
#147618
Participant
Tom Art
OP

Yes, it’s there. I changed the backend in english for you:
If you go to Appaerence > Menus, then choose the menu “Top”.
It is a custom link with css class wpdmloginmodal-trigger.

Mar 1, 2021 at 11:49 am
#147609
Participant
Tom Art
OP

No, what I put there is this as a css class (as a menu item), as in your description:
wpdmloginmodal-trigger

Mar 1, 2021 at 8:23 am
#147590
Participant
Tom Art
OP

I’m sorry, it’s changed!

Feb 26, 2021 at 6:15 pm
#147508
Participant
Tom Art
OP

I have another question. I’m not sure if I am supposed to open a threat for that:
In the media library I protect a file so only subscribers are allowed to download it.
When I then click on the download button for this protected file, I get a message “File not found” instead being redirected to a login page for example. Is this normal behavoir?

Thanks

Feb 26, 2021 at 6:08 pm
#147507
Participant
Tom Art
OP
This reply has been marked as private.
Feb 26, 2021 at 1:43 pm
#147485
Participant
Tom Art
OP

Yes, this one in the top menu: wpdmloginmodal-trigger
Tried those two on the page:
[wpdm_modal_login_form label="Login" class="btn btn-info" redirect=""] (this one displays as shortcode)
This one displays ok but does not work:
Login

This is only on the pages where the above jqery is embedded. Works fine on other pages. I do need the jquery though on those pages.

Thanks

Viewing 12 posts - 1 through 12 (of 12 total)