![]() |
showing userid on non-vbulletin page isnt working
why is this simple php script not working?
Code:
<?php |
add this after your require_once line:
PHP Code:
|
its still not working
im logged in, but when i go to that page it shows the userid as 0 Code:
<?php |
Is that all you have in the page? You need to look at these: How to create your own vBulletin-powered page! (uses vB templates) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc.
|
yes, that is all i have on the page
your linked threads do not explain why this does not work. --------------- Added [DATE]1226871188[/DATE] at [TIME]1226871188[/TIME] --------------- god this is so frustrating. why cant this simple thing work? this is rediculous. |
It works just fine for me.
|
http://www.wkdservers.co.uk/forums/index.php
username: tester password: 123456 http://www.wkdservers.co.uk/vbtest.php vbtest.php contains: Code:
<?php |
try:
PHP Code:
edit: I'll bet it's a cookie thing. Make sure your cookie settings are default. |
using the full path in chdir changed nothing.
|
Yeah, I'm pretty sure it's a cookie thing (I was editing my post when you posted). Make sure you haven't changed them at all - they should still be default.
|
All times are GMT. The time now is 09:20 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|