![]() |
how to call $postinfo['postid']
Hello, I create own vBulletin page and I want to use variables $postinfo['postid'], how to?
|
If you've created your own page and you want to use a post id, you would have to query the database for the information (unless it's part of the url?). If you explain more about what you're doing we might be able to help more.
|
It's a separate page is loaded as iframe.
Code:
$ajax("view.php?id="+itemid+"&product="+product+"&postid="+postid); |
OK, but where are you putting that code, is it in one of the existing vb templates? If it's in the postbit, then maybe you want {vb:raw post.postid}?
Or are you saying that code is in your custom page and you have to figure out how to pass the postid to your custom page? |
Quote:
|
You can try $vbulletin->postinfo['postid'] but then im not sure you wouldn't have to pass that through another variable using php.
|
Quote:
|
Sorry, but I still don't understand. I see that you want to use a post id, but I don't understand where it's coming from.
|
I'm assuming he's trying to show a list of posts and maybe he wants to add the postid to the end of a url???
|
All times are GMT. The time now is 10:00 AM. |
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:
|