![]() |
How to get the thread URL from a nodeid?
Let's suppose I have a node id (the integer value) which corresponds to a thread. How do I get the URL?
|
You can get to the threads by nodeid using the www.example.com/forum/node/1234 where 1234 is the nodeid. Is that what you are looking for or are you looking for API?
from the command line ---- curl http://www.vbulletin.com/forum/ajax/...l?nodeid=54756 or javascript --- Code:
$.ajax({ You can also call the API in the templates using {vb:data} |
Once and again, thank you very much!
I did as you said using curl: PHP Code:
|
1 Attachment(s)
Quote:
|
Amazing!
And much simpler now: PHP Code:
|
Hello, sorry for response in old topic - but I have the same problem and don't know how to convert mysite.pl/forum/node1234 to full url to the post. I don't know how to use this getAbsoluteNodeUrl API. Any Tips?
Should create php file example converter.php and put this code in to this file? I need only working redirection from mysite.pl/forum/node1234 to full url to the post how to do that? |
All times are GMT. The time now is 04:47 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:
|