Log in

View Full Version : Alright got it installed but having a few problems


Rwatts770
05-09-2009, 12:19 AM
FIXED IT

On the arcade page on my forum any of the links under the header, under the new games and most played games it link to outside my /forums/ folder to the root
i.e,

http://xxxx/arcade.php?&act=Arcade&do=play&gameid=2

versus

where on clicking to play a game below it works

http://xxxx/forums/arcade.php?do=play&gameid=1

--------------- Added 1241832732 at 1241832732 ---------------

looking at the code at one of the links where i have a problem it looks like this to call the link for the game

<a href='".$ibforums->base_url."act=Arcade&amp;do=play&amp;gameid={$newgline['gid']}'>{$newgline['gtitle']}</a> ";

somewhere in the $ibforums->base_url call its losing the /forums/ or doesnt have it

--------------- Added 1241834174 at 1241834174 ---------------

To fix it at line
221
i changed
$ibforums->vars['base_url'] = $forumpath . "/" . "arcade.php?".$sess."&amp;";
$ibforums->base_url = $forumpath . "/" . "arcade.php?".$sess."&amp;";

to

$ibforums->vars['base_url'] = $forumpath . "/forums/" . "arcade.php?".$sess."&amp;";
$ibforums->base_url = $forumpath . "/forums/" . "arcade.php?".$sess."&amp;";

varkjie
05-19-2009, 07:13 PM
where is this code found? I am having this same problem and need to fix it! Thanks

--------------- Added 1242764178 at 1242764178 ---------------

nevermind found it Thanks!

psilocybin1
05-29-2009, 12:09 AM
im having this problem and my forums are in the root directory
mine are adding the /forum in to it...

this is my lines

line 221

$ibforums->vars['base_url'] = $forumpath . "/" . "arcade.php?".$sess."&amp;";
$ibforums->base_url = $forumpath . "/" . "arcade.php?".$sess."&amp;";

--------------- Added 1243563139 at 1243563139 ---------------

heres my arcade

http://www.diabeteschat.org/arcade.php