activeinternet
03-21-2014, 01:08 PM
Hi,
an Agency is programming an Smartphone App for our Webseite with the possibility to load the VB 5 Board in an Web Container. The app is sending an special header.
In VB I want to hide some Elements with css, only when it's loading over the app.
We get an PHP function that return true or false to do so over this header.
Something like that:
function detect_app()
{
*******
}
But i can't use such PHP in VB Template? I guess i have to program it as hook? But don't know why. And how can I use the rerun of this PHP function in template over vb:if then?
I'm really new with vbulletin and fond nothing about this for VB5 in the forum or Documentation. I have skills in PHP and CSS. But I really don't know how to start this.
Thank you,
Tobi
an Agency is programming an Smartphone App for our Webseite with the possibility to load the VB 5 Board in an Web Container. The app is sending an special header.
In VB I want to hide some Elements with css, only when it's loading over the app.
We get an PHP function that return true or false to do so over this header.
Something like that:
function detect_app()
{
*******
}
But i can't use such PHP in VB Template? I guess i have to program it as hook? But don't know why. And how can I use the rerun of this PHP function in template over vb:if then?
I'm really new with vbulletin and fond nothing about this for VB5 in the forum or Documentation. I have skills in PHP and CSS. But I really don't know how to start this.
Thank you,
Tobi