Sulake never le nkemise Jun 10, 2012 175 19 Jul 21, 2012 #1 How could I make a content box show if the user is rank 8....
T Thom You can't touch this Oct 1, 2010 1,305 386 Jul 21, 2012 #2 Urm.. You need to give more information: What CMS? Upvote 0 Downvote
Sulake never le nkemise Jun 10, 2012 175 19 Jul 21, 2012 Thread starter #3 Thom said: Urm.. You need to give more information: What CMS? Click to expand... Ubercms 2.0 Upvote 0 Downvote
DwightJunior Please don't judge me! Nov 18, 2011 85 9 Jul 21, 2012 #4 Just re-add the source code others have and change it to rank 8 Upvote 0 Downvote
Sulake never le nkemise Jun 10, 2012 175 19 Jul 21, 2012 Thread starter #5 Master Ilievski said: Just re-add the source code others have and change it to rank 8 Click to expand... Source code? Upvote 0 Downvote
Master Ilievski said: Just re-add the source code others have and change it to rank 8 Click to expand... Source code?
DwightJunior Please don't judge me! Nov 18, 2011 85 9 Jul 21, 2012 #6 just uh, u she'l c something stating ranks in ur staff.php page just copy and paste it and edit the infromation Upvote 0 Downvote
just uh, u she'l c something stating ranks in ur staff.php page just copy and paste it and edit the infromation
CronicHosts Member Aug 18, 2011 373 71 Jul 21, 2012 #7 If you have the variables, PHP: if ( $rank == "8" ) { echo "<div id="container">"; } Upvote 0 Downvote
Sulake never le nkemise Jun 10, 2012 175 19 Jul 21, 2012 Thread starter #8 CronicHosts said: If you have the variables, PHP: if ( $rank == "8" ) { echo "<div id="container">"; } Click to expand... It doesn't show the content box for me.. Upvote 0 Downvote
CronicHosts said: If you have the variables, PHP: if ( $rank == "8" ) { echo "<div id="container">"; } Click to expand... It doesn't show the content box for me..
CronicHosts Member Aug 18, 2011 373 71 Jul 21, 2012 #9 Because it's doubtful $rank is your variable. Upvote 0 Downvote
Sulake never le nkemise Jun 10, 2012 175 19 Jul 21, 2012 Thread starter #10 CronicHosts said: Because it's doubtful $rank is your variable. Click to expand... Lol I don't understand variables ....So how to define a variable? Upvote 0 Downvote
CronicHosts said: Because it's doubtful $rank is your variable. Click to expand... Lol I don't understand variables ....So how to define a variable?
CronicHosts Member Aug 18, 2011 373 71 Jul 21, 2012 #11 PHP: <?php if(isset($_SESSION['ID_USER'])) { $rank = $Core->UserVar("$username", "rank"); } ?> Upvote 0 Downvote