i want to use this for my "reviews" section (its totally seperate from vB, minus the "whos logged in" part), where people can submit reviews. i want the user to be logged in before they submit it, because their ID will be submitted into the db with the review, so they can edit it later on
i remember in phpBB, you included a file, and then called a function which would load the current logged in user's information into an array, then you can check whether they were logged in/get all of their other info
how do i do that with vB? i wanna get at least the user id of the person logged in, kinda like
if(user_logged_in){
do stuff
else
redirect to log in
on the official board i was told:
if ($bbuserinfo[userid]==1) {
do stuff;
} else {
do other stuff;
}
but what include file would that be?
thanks