MyBB Community Forums

Full Version: Top Posters Problem.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Plugin Link : http://mods.mybb.com/view/last-posts-forum

When i click on a thread it takes me to http://localhost/thread-2

and also it show me up there an error :
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/zxq.net/l/a/r/larch/htdocs/lastposts.php on line 64


Thank's
may be you forgot to follow its instructions
Quote:Open The File lastposts.php And The Change Your Settings And Save And Active Plugin.

Your Change Settings In File :

$db_host = "localhost"; // Change this if your MySQL database host is different.
$db_name = "?"; // Change this to the name of your database.
$db_user = "?"; // Change this to your database username.
$db_pw = "?"; // Change this to your database password.
$db_pre = "mybb_"; // Tables prefix
$url = "http://localhost"; // Change this to reflect to your forum's URL.
$limit = "50"; // Number of posts displayed.
$txtlimit = "200"; // This is the character limit.

Members can lastposts your forum into any site by using the following code to show you.

<iframe src="http://www.domain.com/lastposts.php"></iframe>