Ninjaboards BBCode.

Reply Topic
Link to this post 21 May 13

Hey all. Where does Ninjaboard pull it's Parsed BBcode? I'm trying to create a custom extension for Ninjaboard that would essentially run the query:

if (mysqli_connect_errno($con))
echo "Failed to connect to MySQL: " . mysqli_connect_error();

$sql="SELECT * FROM YOURPREFIX_user_usergroup_map WHERE user_id = $user->id AND group_id = ''2";

if ($result=mysqli_query($con,$sql))
if ($rowcount>'0'){
printf("Add Your Link");}
printf("<a href="registerpage">Only Registered Users may Use this link.");}
// Free result set


In doing so links would no longer be able to seen by guests; just the option to register. Thanks for the help guys.

Forums NinjaBoard Ninjaboards BBCode.