Gossamer Forum
Home : Products : DBMan : Customization :

permission of viewing

Quote Reply
permission of viewing
In this case,

# if you want to display your fields in columns, use the following format:

print qq|<a href="$long_url">$rec{'LoginID'}</a></td>|;


unless ($db_userid eq "default")
{
print qq|
<td><a href="mailto:$rec{'E-mail'}">$rec{'E-mail'}</a>|;
}
print qq|
<td>$rec{'Sex'}</td>
<td>$rec{'Age'}</td>|;
unless ($db_userid eq "default")
{
print qq|
<td>$rec{'Photoyesno'}</td>
<td>$rec{'Voiceyesno'}</td>|;
}
print qq|

<td>$rec{'Brief'}|;


I only want Full member to be able to view the Email , voice and photo

and

unless ($db_userid eq "default")
{
print qq|

<align=center><img src="$rec{'ShowPhoto'}"></a>|;
}
print qq|

|;
unless ($db_userid eq "default")
{
print qq|
<br><a href="$rec{'HearVoice'}">Click here to hear my voice</a>
|;
}

I only want Full member to be able view voice and photo only. how do i mod it?
Quote Reply
Re: permission of viewing In reply to
I also need you to understand that I have paying clients sometimes who have to take priority for my time. I'm perfectly willing to help everyone here on the forum for free, but I do owe a little more to the folks that are paying me.

I will look into it as soon as I can.


------------------
JPD





Quote Reply
Re: permission of viewing In reply to
I am going to try to figure out what the problem is with the other mod I gave you. I apologize for not being able to come up with workable code immediately, but some things are a little tougher than others. It is especially difficult to find out what the problem is when it's not my database and I can't play around with it. I'm working "blind," so to speak.



------------------
JPD





Quote Reply
Re: permission of viewing In reply to
its ok Smile u r trying to help . but if u really need to enter the ftp..tell me Smile