forum permission to club

Started on the old forum in August 2010 · view the original in the archive · old links redirect here

8 replies · 485 views · started 16 years ago · 1 min read

4 participants
pretend Developer · 107 posts #1

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

subzero Super moderator Fellow · 3,954 posts #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... _______…

pretend Developer · 107 posts #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.

Nice Effects

subzero Super moderator Fellow · 3,954 posts #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... _______…

animal1982 Junior · 24 posts #5

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

something else Fellow · 2,296 posts #6

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

animal1982 Junior · 24 posts #7

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

something else Fellow · 2,296 posts #8
$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&clid=$cid[0]&sid=$sid\">$cinfo[0]</a> club now";
}else{
echo "you dont have permission to view this forum";
}
animal1982 Junior · 24 posts #9

something missing there lol.... will look tommorow

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close