Thinking about buying pro version, just hope there will be a discount for people who have rpg and shoutbox and for it to be a bargain ^^
however, im having problems using it right now.
this is the error that is coming up on my homepage which im trying to put the users online on.
Code:
Parse error: syntax error, unexpected '<' in /home/*******/public_html/right.php on line 176
on line 176 i have this
<?php
output_UsersOnline();
?>
I have included
<?php
chdir('./forums');
require_once('./vBExternal.php');
?>
at the top of the php file as well.
Any ideas what is wrong?
Edit again: i removed the users online, and checked to see if the code at the top was working, it was not,
I changed the code at the top of the page to:
Code:
<?php
require_once('http://www.gamerzneeds.net/forums/vBExternal.php');
?>
, now that works.
then put the code back in for online users to show up, and get this error
Code:
Fatal error: Call to undefined function: output_usersonline() in /home/******/public_html/right.php on line 174
line 174 is: output_UsersOnline();
Any ideas whats wrong?
Edit again:
decided to keep trying to modify it, to see if i could get it working, and came up with a different error this time
Code:
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/***********/public_html/right.php on line 2
Warning: main(./vBExternal.php) [function.main]: failed to open stream: No such file or directory in /home/*****/public_html/right.php on line 3
Fatal error: main() [function.require]: Failed opening required './vBExternal.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*******/public_html/right.php on line 3
I changed the code at the top of the page to:
Code:
<?php
chdir('http://www.gamerzneeds.net/forums');
require_once('./vBExternal.php');
?>
Edit again:
Changed the top to:
Code:
<?php
chdir('forums/');
require_once('vBExternal.php');
chdir('../');
?>
and im now getting this error:
Code:
There was an error while processing vBExternal:
System was unable to find the template 'vBExternal/users_online.html'
I edited vbexternal.php and changed where the template is found to:
$template = "http://www.gamerzneeds.net/forums/vBExternal/{$template}";
I then get this error:
Code:
There was an error while processing vBExternal:
System was unable to find the template 'http://www.gamerzneeds.net/forums/vBExternal/users_online.html'
I then go to
http://www.gamerzneeds.net/forums/vB...rs_online.html to check it is a page, and it is, so whats wrong, it should be able to find it.
I have tried everything i can think of, will have to put back my old code, until you can help me solve this.
Thanks.
Final Edit:
I finally had the idea to do this and change the code to:
Code:
<?php
chdir('./forums');
output_UsersOnline();
chdir('../');
?>
and now everything works.
I just now need to work out how to display it, so it looks nicer, more integrated into my homepage, and more like a vbulletin way of displaying it, if anyone could help, id like to display it in my footer here
www.gamerzneeds.net
I would also like to have the links vbseo links otherwise i will have duplicate content.
Thanks.