burtonmiller
07-03-2014, 12:00 AM
I am writing a mod.
What are the php variables that will give me the url for the current forum and current thread?
I am operating in the context of plugins are are fired on the following hooks:
newreply_post_complete
editpost_update_complete
newthread_post_complete
newreply_post_start
I have looked high and low. Even just the url for the current page would be nice.
--------------- Added 1404398927 at 1404398927 ---------------
Nevermind - I found it: $vbulletin->url
I'm so new to this platform that the basics are sometimes completely inobvious:)
--------------- Added 1404402893 at 1404402893 ---------------
newthread_post_complete is still giving me fits. I need the url for the new post, not for the current page in this case.
Help!
What are the php variables that will give me the url for the current forum and current thread?
I am operating in the context of plugins are are fired on the following hooks:
newreply_post_complete
editpost_update_complete
newthread_post_complete
newreply_post_start
I have looked high and low. Even just the url for the current page would be nice.
--------------- Added 1404398927 at 1404398927 ---------------
Nevermind - I found it: $vbulletin->url
I'm so new to this platform that the basics are sometimes completely inobvious:)
--------------- Added 1404402893 at 1404402893 ---------------
newthread_post_complete is still giving me fits. I need the url for the new post, not for the current page in this case.
Help!