Support Forums - Classified Ads Script Osclass
Unread
New Replies
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
Hide Phone Number and/or seller name IF user is not logged in
Support Forums - Classified Ads Script Osclass
Osclass theme support
Zara Osclass Responsive Theme
Hide Phone Number and/or seller name IF user is not logged in
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
]
This topic contains a post which is marked as Best Answer.
Press here if you would like to see it.
miyedos
Hide Phone Number and/or seller name IF user is not logged in
«
on:
April 01, 2016, 02:26:30 PM »
i searched almost all forum topics and only found below. using zara theme, can i apply this solution to zara?
the same for email address. Even user chosen 'show email address to public profile', want to hide again from not-logged in users.
http://forums.osclass.org/themes/hide-phone-number-name-if-user-is-not-logged-in-27849/msg115157/#msg115157
P.S: Im newbie not pro but i think there is a bug on seller page.
im on my own dashboard and still i can see `contact seller' button' ! is this correct way or a bug?
regards.
Logged
MB Themes
Support team
17442 posts
Only quality matters
Download Osclass
Re: Hide Phone Number and/or seller name IF user is not logged in
«
Reply #1 on:
April 01, 2016, 03:34:26 PM »
@miyedos
Well I am not sure what are you asking on exactly. Showing "contact seller" button is correct also for non-logged users.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
miyedos
Re: Hide Phone Number and/or seller name IF user is not logged in
«
Reply #2 on:
April 01, 2016, 03:36:26 PM »
separate issues:
1. how can i hide phone and/or mail address not logged-in users?
2. just a question: im on my dashboard and i can still see 'contact seller; button. is this correct way?
Logged
MB Themes
Support team
17442 posts
Only quality matters
Download Osclass
Re: Hide Phone Number and/or seller name IF user is not logged in
«
Reply #3 on:
April 01, 2016, 03:38:22 PM »
@miyedos
1) You will place phone into <?php if(osc_is_web_user_logged_in()) {?> .... code / phone ... <?php } ?>
2) Yes it is, you can test if everything is ok
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
miyedos
Re: Hide Phone Number and/or seller name IF user is not logged in
«
Reply #4 on:
April 01, 2016, 03:40:58 PM »
im newbie sorry.
where and full code please.
by the way, you have a great theme!
Logged
Marked as best answer by
on
Today
at 09:46:47 PM
MB Themes
Support team
17442 posts
Only quality matters
Download Osclass
Undo Best Answer
Re: Hide Phone Number and/or seller name IF user is not logged in
«
Reply #5 on:
April 02, 2016, 08:37:00 AM »
@miyedos
Do not expect no full code, it is development.
You got instructions how to.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Rishabh Sinha
1 posts
Re: Hide Phone Number and/or seller name IF user is not logged in
«
Reply #6 on:
September 11, 2021, 09:39:27 AM »
hello there,
on product page. phone number hide for non register user. but other contact is displaying. where i have to change so that other contact also hide for non register user. i am using sigma themes.
Logged
MB Themes
Support team
17442 posts
Only quality matters
Download Osclass
Re: Hide Phone Number and/or seller name IF user is not logged in
«
Reply #7 on:
September 11, 2021, 01:13:47 PM »
@Rishabh
Correct, as publisher was asked just to hide phone/email.
You can extend feature of hidding of mobile phone to hide also this field in item.php of theme (or item-sidebar.php)
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Print
Pages: [
1
]