![]() |
Display forum threads on WP
1 Attachment(s)
Hi, I've downloaded some files to show my vB threads and posts in my WP, but it seems when I upload MTForumsBlock.php which is the main file, WP is not shown anymore!
Can you please see if there's something wrong with the codes and files? Thank all |
How do you want to show them on your Wordpress install? There are a couple of widgets that will show them in your sidebar without this type of hassle.
|
Thanks for your response
I know there are some widgets, but I my WP theme does not support widgets and also I prefer using no widget |
When you uploaded the files did you include your database name, database pass, and url. Here is the code in that file you need to make changes to or else it will not work.
Code:
$db_name = 'HERE'; This is what these lines of code mean and what you need to put between the two single quote marks 'some nice stuff here, blah blah blah'. What information you need to put is in bold red. $db_name = Your database name $db_username = Your database username $db_password = Your database password $forumurl - Your forum URL If you do not know your database, username & password just navigate using a FTP or your File Manager in your web host to your forums directory and then find includes/config.php and download it. Open it in notebook or a HTML text editor and look for the info that I've marked in red... Code:
// ****** DATABASE NAME ****** Code:
// ****** MASTER DATABASE USERNAME & PASSWORD ****** Code:
$db_name = 'vbulletin'; Code:
<script type="text/javascript"> |
I know these information sir, and they're fulfilled correctly.
It seems there are something wrong with the whole codes of the mail file (not the info of DB I wrote in) |
Quote:
|
Original dev is not accessible unfortunately
|
That sucks :( Hopefully someone will have an answer for you soon.
|
All times are GMT. The time now is 03:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|