Skip to:
Content
Pages
Categories
Search
Top
Bottom

Customize buddypress and Calling function in buddypress using AJAX


  • mena__99
    Participant

    @mena_99

    i want to modify or customize buddypress and make it better for my site , i dont like the default looking and not because of the colors , its because everytime i press a tab i have to load the whole page , and i hate that !

    i want to make my own custom Profile using AJAX instead ..

    i would like to see a tutorial or something .. i know that i can use bp-custom.php to over ride any other functions inside buddypress ( if i am not wrong )

    i learned how to call a data from a page and insert it inside a frame or a page but i want to call a certain function ( say one of the tabs “profile -info” ) whenever someone click on the tab

    how i can link a button that i make using AJAX to a function inside a page of a plugin(buddypress)??

    <!DOCTYPE html>
    <html>
    <head>
    	<script type="text/javascript" src = "js/jquery-1.9.1.min.js"></script>
            <link rel="stylesheet" type="text/css" href="buddypress/bp-xprofile/bp-xprofile-settings.php">
    	<title>AJAX and JQuery buddypress customization</title>
    </head>
    <body>
    <button>Profile info</button>
    <br>
    <div id = "container"></div>
    
    <script type="text/javascript">
    	
    $("button").click(function(){
    	$.get("bp-xprofile-settings.php",function(data){
    		$("#container").html(data);
    	})
    
    });
    
    </script>
    
    </body>
    </html>
    

    ok this is just an example i dont know how to target bp-xprofile-settings.php to start with and i don’t know how to target a certain function instead of the whole page !

    could u guys help me out i am new to this

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Customize buddypress and Calling function in buddypress using AJAX’ is closed to new replies.
Skip to toolbar