How do i restrict a profile to friends only ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do i restrict a profile to friends only ?

    i wanting to have a switch for my members where they can make there profile private but only allow friends to view it im coding my own script and would be grateful if someone can guide me in the right direction

    #2
    There need to make an user group, with permissions, You should look at some scripts as preview, in example lavalair

    Comment


      #3
      ok thanks but i find laviar a bit confusing my script is alot different coding to that so what your saying is i need user groups ive already got user levels so do i check who is on the users budlist then allow to them else not allow anyone else ?

      Comment


        #4
        It's already posted here..Use search..
        My Blog: http://jhommark.blogspot.com
        My Facebook: http://www.facebook.com/jhommark
        My Official Site: http://www.undergroundweb.tk
        My Community Site: http://undergroundwap.xtreemhost.com

        Comment


          #5
          Originally posted by Malka1 View Post
          There need to make an user group, with permissions, You should look at some scripts as preview, in example lavalair
          Incorrect, you can allow this by using a buddy list feature. no need to make messy groups.
          Members could press private and only allow administer's and buds to view profile.
          its simple to code, just think how it would work, use your imagination, you could even "funk" it up, like only block certain people etc..

          Good luck

          Comment


            #6
            Originally posted by Malka1 View Post
            There need to make an user group, with permissions, You should look at some scripts as preview, in example lavalair
            Incorrect, you can allow this by using a buddy list feature. no need to make messy groups.
            Members could press private and only allow administer's and buds to view profile.
            its simple to code, just think how it would work, use your imagination, you could even "funk" it up, like only block certain people etc..

            Good luck

            Comment


              #7
              Originally posted by WhiteWarrior View Post
              Incorrect, you can allow this by using a buddy list feature. no need to make messy groups.
              Members could press private and only allow administer's and buds to view profile.
              its simple to code, just think how it would work, use your imagination, you could even "funk" it up, like only block certain people etc..

              Good luck
              yup he is right cos my private profile works exactly like this, i bet ur gna ask for it nw ent u well all im gna say is no im tired of giving stuff away to be assumed it was writtern by others and then others selling it even if it was given to them in the original state.!
              Want something coded email me at sales@webnwaphost.com for a prices.




              Comment


                #8
                Originally posted by crazybrumi View Post
                yup he is right cos my private profile works exactly like this, i bet ur gna ask for it nw ent u well all im gna say is no im tired of giving stuff away to be assumed it was writtern by others and then others selling it even if it was given to them in the original state.!
                no brumi i wasnt gonna ask you for yours as im fed up of using ppls scripts its not good all i was asking for was some genuine advice upto now ive built my site all myself with out any help i just need someone to point out the structure cos i think my buddylist is wrong anyway lol so prob gonna need rewriting. dont blame you for not sharing stuff to be honest my script wen its done is never getting made public !!!

                Comment


                  #9
                  Originally posted by kiLLeR-eyEd_14 View Post
                  It's already posted here..Use search..
                  yes i know its already posted here laviar style cant work with that code plus its not my own is it ? i was only asking for advice

                  Comment


                    #10
                    so much for advice eh maybe il go else where for answers like google !!! best reply was white warriors thanks by the way il have a bash at a totally new buddy system

                    Comment


                      #11
                      simple logic,
                      just add a bool column in your table of users's detail. if someone has private profile , then check if user is admin or his/her friend. if he is then show profile, else just give msg for private profile.
                      Follow me @ksg91 | My Blog: http://ksg91.com | Nokia Blog: http://NokiaTips.in

                      Comment

                      Working...
                      X