PDA

View Full Version : saving score


njoker555
11-25-2007, 01:16 AM
i want to know which file i should edit to change the index.php in the following link to Forum.php

http://www.gamers-forum.com/index.php?act=Arcade&do=newscore

i installed vbadvanced today and now the forum URL is forum.php not index.php - help appreciated -

i looked at some of the php files and found nothing

--------------- Added 1195961654 at 1195961654 ---------------

i found it - if anyone else has any problems just look at this post - the file in admincp is wrong somewhere - https://vborg.vbsupport.ru/showpost.php?p=1376693&postcount=10

Amiga Harrison
12-03-2007, 12:15 PM
Yes the code you have to copy and paste into the index.php is wrong in the admincp popup, but that is a problem for everyone, not just those with a CMS installed. Just code the code from the text file instructions contained in the installer archive to fix that problm.

But to make the scores save correctly just add the arcade code to the top of your index.php file, regardless of if it is the main forum index file, or one for your CMS frontpage. It will work. The problem is that the arcade submits the score by calling index.php, so the arcade code has to be in that file.