Support Forums - Classified Ads Script Osclass
Unread
New Replies
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
I want only logged in users to be able to download files.
Support Forums - Classified Ads Script Osclass
Osclass plugin support
Virtual Products Plugin
I want only logged in users to be able to download files.
Match all words
Match any words
Most relevant results first
Largest topics first
Smallest topics first
Most recent topics first
Oldest topics first
Advanced
Unread posts
New replies
My topics
My posts
Print
Pages: [
1
]
Cephas
54 posts
I want only logged in users to be able to download files.
«
on:
March 08, 2024, 02:01:58 AM »
Hello,
I want only logged in users to be able to download the files. How can I do that? As it is now, anyone on the website can download the free digital files.
Logged
MB Themes
Support team
17472 posts
Only quality matters
Download Osclass
Re: I want only logged in users to be able to download files.
«
Reply #1 on:
March 08, 2024, 03:21:10 PM »
Show button just when user is logged in (check hUser helper)
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Cephas
54 posts
Re: I want only logged in users to be able to download files.
«
Reply #2 on:
March 12, 2024, 08:37:37 AM »
What is hUSer helper? Would you Please clarify.
Logged
MB Themes
Support team
17472 posts
Only quality matters
Download Osclass
Re: I want only logged in users to be able to download files.
«
Reply #3 on:
March 12, 2024, 10:05:46 AM »
https://docs.osclasspoint.com/husers-php
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Cephas
54 posts
Re: I want only logged in users to be able to download files.
«
Reply #4 on:
March 13, 2024, 05:39:18 PM »
Thank you. I will try that.
Logged
MB Themes
Support team
17472 posts
Only quality matters
Download Osclass
Re: I want only logged in users to be able to download files.
«
Reply #5 on:
March 13, 2024, 07:22:08 PM »
Code:
[Select]
<?php
if(
osc_is_web_user_logged_in
()) {
?>
<a href=... button ... </a>
<?php
}
?>
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Print
Pages: [
1
]