![]() |
Wow, you've read my mind. I've been piecing together a bunch of hacks to come up with something like this. I've downloaded it and I'll give you my thoughts on how the process went for me. In any case, excellent work, and it's very much appreciated!
|
The script works, but I'm getting errors at the end
Code:
Warning: mysql_query(): 5 is not a valid MySQL-Link resource in /home/ehomeu2/public_html/forums/includes/db_mysql.php on line 212 |
I get the same error! if someone can do me a similar hack! which allows me to use smilies, etc etc
then please contact me! |
Wouldn't it be easier if you used
require_once("./includes/config.php"); that way you wouldn't need to use all the hard codes. |
I randomly get "Unable to add cookies, header already sent." Any ideas how can fix that?
|
I figured it out! After a couple hours of tweaking my script, I finally figured out that
chdir('forums/'); require_once('./global.php'); needs to be located right at the very top (before any other additional PHP code -- ie header.php) in order to avoid the cookie error message. |
After messing around with this code, I realized that if you have a table prefix, it will not work. Therefore do this:
Find around line 45 PHP Code:
PHP Code:
PHP Code:
PHP Code:
Find around line 104 PHP Code:
PHP Code:
|
Quote:
ok, I moved to a new server and its working fine! maybe its something to do with the server settings? |
Hmm.... interesting mod. I could use this to work on a new custom portal. thanks for sharing it!
|
<a href="http://www.liquid-core.net/forums/news.php" target="_blank">http://www.liquid-core.net/forums/news.php</a>
I'm getting 'Could not execute query.' |
All times are GMT. The time now is 04:57 AM. |
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:
|