PDA

View Full Version : V3Arcade Link to Games in News And Events


DjTaz
11 Jun 2006, 11:53
Someone on my forums asked me for this because when someone beat their score they wanted to be able to click into the game without having to search for it in the games listings , so i did it and may as well share the edits with everyone because its so simple.

--------------------------------------------------
step 1:
Open Arcade.php

find :


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


and change to :


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


(this just adds in a $game[gameid] to the database query)

UPLOAD arcade.php

---------------------------------------------------
step 2:

go to language and phrases in the adminCP

find $vbphrase[x_is_the_new_champion]

and change it from :


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


to


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



--------------------------------------------------------


and you should now have a linkable game name in the news and events section of the arcade when the NEXT PERSON wins a game.

Hope that some others use this - it makes life easier

Robru
11 Jun 2006, 13:19
You're my man ! Thank you :)

TheBlackPoet
11 Jun 2006, 18:31
hmmmm

dan35
11 Jun 2006, 21:59
Nice small addon ;)
Thx!

DjTaz
12 Jun 2006, 15:42
hmmmm

Having a problem with this poet ? Or has someone else written something else similar ? (i didnt check around much , i just did it on my own boards and decided to share with others)

I assume no one else has had any issues with this ? (its simple enough)

DjTaz
07 Jul 2006, 10:43
ok , I'll assume everyone else is ok with this so far - just checking up on it.

Polo
25 Jul 2006, 00:20
I dont know why, but I get this on the link: /arcade.php?do=scores&gameid=[ARG:3 UNDEFINED]

Polo
25 Jul 2006, 00:21
Never Mind, I Fix It

Wenchie
28 Jul 2006, 19:15
Very nice, thank you. :)