Login     Sign up
don't show message that profile is private to admin
john mor (@johninhell)
Join date: Oct 15th 2010
Community posts: 159
View Profile
Send Message

stil not working bro :(

em using 4.2.1

173 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

and what exactly is not working, because there are two different codes. 1 to hide the profile and 1 to hide the message "only friends....." for the admin.

173 months ago
john mor (@johninhell)
Join date: Oct 15th 2010
Community posts: 159
View Profile
Send Message

i mean

if a user set his permissions
( that only friends can view this profile )

then even admin ,

can't view his profile

and it shows

Sorry, only friends can view this profile

where as...
only friends can c :(

and i tried ur codes but they r not working

the 1st time u gave me code

worked but

it didn't only allowed admin ..

it allowed all members to see the profile
even when the privacy was set by the owner of the profile (only friends can view this profile )

thats the problem ..!!

173 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

ok, i will test it with a clean version of 4.2.1

173 months ago
DeFender (@defender)
Join date: Oct 1st 2010
Community posts: 167
View Profile
Send Message

it is all OK in 4.2

I only use

[code]
if ($owner['profile_permission'] == 2 && !$owner['is_friend'] && !allow_access(3)) {
[/code]

173 months ago
DeFender (@defender)
Join date: Oct 1st 2010
Community posts: 167
View Profile
Send Message

needed one more. :)

how can admin take look at user's (permission=2)photogallery?

172 months ago
chicosandro2004 (@chicosandro2004)
Join date: Jul 13th 2010
Community posts: 45
View Profile
Send Message

[quote=falcone]
new code
[code]
if ($owner['profile_permission'] == 2 && !$owner['is_friend'] && !!allow_access(3)) {
[/code]
[/quote]

el error es el b[/b] delet este y funciona con exito

[b]exito:[/b]
if ($owner['profile_permission'] == 2 && !$owner['is_friend'] && !allow_access(3)) {

[b]error:[/b]
if ($owner['profile_permission'] == 2 && !$owner['is_friend'] && !!allow_access(3)) {

172 months ago
chicosandro2004 (@chicosandro2004)
Join date: Jul 13th 2010
Community posts: 45
View Profile
Send Message

correctly add this code ... success

but when the user chooses that "everyone can see the profile and friends can comment only" and show the form of comment to the administrator?

172 months ago
Prev 1 2