Hi there,
I included several hacks on my index_homepage.php3 which is a non-vB page outside the vB directory:
Who's online on non-vB page
http://vbulletin.com/forum/showthrea...threadid=12010
Last XX Posts on non-vB page
http://vbulletin.com/forum/showthrea...threadid=12324
Total Posts on a non-vbb page
http://vbulletin.com/forum/showthrea...threadid=24226
Total Threads on a non-vbb page
http://vbulletin.com/forum/showthrea...threadid=24227
All work fine, I got all problems like
"cannot include global.php3" and
"cannot add more header informations" solved with the great help of this community.
Now I came to this error:
Fatal error: Cannot redeclare class db_sql_vb in ./admin/db_mysql.php3 on line 7
when I try to include the following hacks in that page:
Show Events on non-vb page
http://vbulletin.com/forum/showthrea...ghlight=events
Homepage Login on non-vB page
http://vbulletin.com/forum/showthrea...threadid=23524
Ok, I can roughly imagine what happened but cannot solve the problem. The hacks work fine on a single page but I cannot include them in the page where the other hacks are included.
What do I have to change/delete in the last hacks to make them run properly?
As always - many thanks for your help and best regards,
Markus