Using that piece of code I get:
string(9) "admintw42"
I don't have access to $user_userid or $user_username .... The values are being passed from the page before in an AJAX call. Does vB somehow not recognize the script as having permissions to create a thread? Is there something I could do to make vB recognize that I am the logged in user on the page that is running this code?
Actually a closer look at the remainder of the error says:
Quote:
If you are admintw42 and you have forgotten your password, click here.
|
So it appears maybe this really is the issue? That it doesn't see me as logged in to perform the thread insert?