@vectoholic
9 years, 8 months ago
thx Folks…that was the hint I needed…everythings working fine now…after I changed everything into a plugin!
Didin´t know about the PLUGIN STUFF, as I’am kind a WP-Neewbe (when it comes to programming)!
I have The Problem that my php-file doesn’t accept any WP ore bp functions! Do I have to kind of INIT a php-file before I can get access to the WP or BP Core…?
but when I put in a string, instead of the bp_loggedin_user_id(); everything works just fine! So I don´t think it’s somewhere else!
bp_loggedin_user_id();
Like here http://codepad.org/1KjIwqLB
Thx for the advice…I already checked it!
First of all..- thx for the fast reply!
But in both cases…
… bp_loggedin_user_id(); –> CODE
… get_current_user_id(); –> CODE
get_current_user_id();
I pasted in the code in line 8!
…I get an “500 Internal Server Error” and don´t know why!!!
I would really appreciate some help on this one!
thx