Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 08 Apr 2016, 18:10
grey_goose grey_goose is offline
Join Date: Jun 2009
Using Vbulletin Variables in External PHP

I've got an external trackermini.php that I've got inserted into the postbit_legacy. It's working, with static data.

What I'd like to do is pass variables from the poster's info to the script -- but I can't seem to snag them. How do I grab fields from the POSTER to use?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Old 25 Apr 2016, 00:29
grey_goose grey_goose is offline
Join Date: Jun 2009
No one?
Reply With Quote
Old 25 Apr 2016, 00:43
Dave Dave is offline
Join Date: Jun 2010
You should take a look at the showthread.php file so you can see what variables can or can't be used.
At the showthread_start hook, there's no reference to the post array yet since it's literally at the beginning of the script.

See if you can figure it out from there. If not feel free to ask.
Reply With Quote
Old 03 May 2016, 16:04
grey_goose grey_goose is offline
Join Date: Jun 2009
Ah. I realized my problem. I've gotten so used to using profile fields from CES Parser permissions in my postbit_legacy that I forgot that's not a native vbulletin feature. So, I'm guessing my problem here is that I want to use variables that mod creates before they're created.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 13:56.

Layout Options | Width: Wide Color: