MyBB Community Forums

Full Version: Showing Posts on Profile without Plugins
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Any way to pull users posts and show on profile without the use of plugins?

I wanted to do a jquery that'll pull the users posts from the search page but since the search page is a redirect and doesn't include the user's UID in the url this script wont work. Any other solutions?


<div id="posts-on-profile"></div>
<script>
$( "#posts-on-profile" ).load( "search.php?action=finduser&uid={$memprofile['uid']} #tborder" );
</script>


Once redirected to the posts/search result page this is how the url appearsĀ search.php?action=results&sid=842525eaa9ac4f8a37c253d64c14521b. So the code above definitely won't work.
You're going to need a plugin for this.