forum permission to club

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

    forum permission to club

    when it comes to a topic in a clubs forum then if the last posted topic is the clubs forums topic at that moment a member who as not joined the club is trying to view the topic then it comes as "you dont have permission to view this forum"

    say the club name is academic

    instead of that how can i make it this way

    "you dont have permission to view these topics cause you are not a member of club academic in order to view this topic join academic club now"

    how can i do it thanks some one help
    Nice Effects

    #2
    Open club in list and take out the code says not allowed post it in forum index where the topic is

    This is so simple my wife can do THAT !!
    Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
    Visit: WapMasterz Coming Back Soon!
    _______
    SCRIPTS FOR SALE BY SUBZERO
    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
    _______
    Info & Tips
    php.net
    w3schools.com

    Comment


      #3
      sub marine i think you havent understood my question i dont want to take it out i want it to be there and when any one click ona a topic which they havent joined then i want it to display as join "club name" to view this topic so the club name should be visible and a link with request on join now should be there.
      Last edited by pretend; 07.08.10, 20:36.
      Nice Effects

      Comment


        #4
        i think you need to go back and read me right mate lol
        Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
        Visit: WapMasterz Coming Back Soon!
        _______
        SCRIPTS FOR SALE BY SUBZERO
        Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
        FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
        _______
        Info & Tips
        php.net
        w3schools.com

        Comment


          #5
          lmao just change bit in index....You Don't Have A Permission To View The Contents Of This Forum

          Comment


            #6
            He is unsure how to call the club name and club id from topic id so he can make a join club link

            Comment


              #7
              post code from core and index... a join club link would that use bbcode?

              Comment


                #8
                PHP Code:
                $cid mysql_fetch_array(mysql_query("SELECT clubid FROM ibwf_forums WHERE id='".$fid."'"));
                if(
                $cid[0]>0){
                $cinfo mysql_fetch_array(mysql_query("SELECT name FROM ibwf_clubs WHERE id='".$cid[0]."'"));
                echo 
                "you dont have permission to view these topics cause you are not a member of club $cinfo[0] in order to view this topic join <a href=\"index.php?action=gocl&amp;clid=$cid[0]&amp;sid=$sid\">$cinfo[0]</a> club now";
                }else{
                echo 
                "you dont have permission to view this forum";

                Last edited by something else; 08.08.10, 00:04.

                Comment


                  #9
                  something missing there lol.... will look tommorow

                  Comment

                  Working...
                  X