We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Passing the UserId to an external PHP page | Forum

Paul
Paul Jan 30 '16
I'd like to include an iframe PHP page inside the user dashboard, and call it up by appending the userid to the URL so that the PHP page can take that parameter and use it as part of an SQL query.  Alternatively, have the PHP read the userId from a cookie.


My question is, how does one read the currently logged-in userId value when on the user dashboard? 


Any pointers would be greatly appreciated. 



James
James Feb 13 '16
I am also trying to run an Iframe on the dashboard...   its disabling all the other plugins when it loads... and its just a simple html5 app I created that has no interaction with the rest of the software...   


wonder why its doing that?



Paul
Paul Mar 31 '16
My plugins work OK with the iframe loaded.  I reckon it's probably something to do with your theme.