The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to insert this PHP line?!?!
Hello, I'm wanting to install a quote script called phpMyQuote on my forum.
I'd like to display the quotes on the forum home, but I am unsure of how to or where to insert the php code. Below is part of the Readme file: Quote:
-Michael |
#2
|
||||
|
||||
Open forum/index.php and find:
PHP Code:
PHP Code:
PHP Code:
|
#3
|
|||
|
|||
I receive this error when I do the above:
LINE 8:Table 'rcnitro_forum.quotes' doesn't exist What would cause that? -Michael |
#4
|
||||
|
||||
You don't have the table in your database
|
#5
|
||||
|
||||
Perhaps replace:
PHP Code:
PHP Code:
|
#6
|
||||
|
||||
Oh, or as Mist said, you didn't add the table into your database.
|
#7
|
|||
|
|||
Hmm this script looks so easy, but its kicking my butt right now.
Here is what I have setup for my config.inc.php file: PHP Code:
So what am I doing wrong? -Michael EDIT: One thing I did forget to mention... the quotes script is installed in "public_html/quotes" while the forum is installed on "public_html/forum" if that makes any difference. |
#8
|
||||
|
||||
If config.inc.php is located in that directory, than what you should do is:
PHP Code:
|
#9
|
|||
|
|||
Done as you suggested and received this error:
Fatal error: Call to undefined function: showquote() in /home/rcnitro/public_html/forum/index.php on line 21 -Michael |
#10
|
||||
|
||||
Sorry, I made you reference to the wrong file ... ^^
Replace: config.inc.php With: quotes.inc.php |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|