Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

  • vectoholic
    Participant

    @vectoholic

    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)!


    vectoholic
    Participant

    @vectoholic

    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…?


    vectoholic
    Participant

    @vectoholic

    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!

    Like here http://codepad.org/1KjIwqLB


    vectoholic
    Participant

    @vectoholic

    Thx for the advice…I already checked it!


    vectoholic
    Participant

    @vectoholic

    First of all..- thx for the fast reply!

    But in both cases…

    bp_loggedin_user_id(); –> CODE

    get_current_user_id(); –> CODE

    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

Viewing 5 replies - 1 through 5 (of 5 total)
Skip to toolbar