PDA

View Full Version : Miscellaneous Hacks - Cyb - Tic-Tac-Toe


Valter
01-09-2009, 10:00 PM
Info:
Easy integration of Tic-Tac-Toe game with vBulletin forum software.

The forum user play against the computer, and it has 4 levels of difficulty that are user-selectable. It also includes history of the game. Admin can change competitor name, select usergroups who can play the game, choose different images for X, O, and BGD.

NOTE: Images are loaded from TinyPic by default (to avoid file uploads when installing hack). If you want you can upload them to your own server and then change paths in product settings. Of course, you can use your own images too.

Thanks to:
- Brian (http://www.dynamicdrive.com/dynamicindex12/tictactoe.htm) from Dynamic Drive for original version of this javascript game
- yoyoyoyo (https://vborg.vbsupport.ru/member.php?u=71842) for his vB release for vB 3.0
- Atakan KOC (https://vborg.vbsupport.ru/member.php?u=130169) for his vBulletin releases for vB 3.5/3.6

This version requires no file uploads nor template edits. It's easy to show/hide the game when browsing forums. It's phrased, looks little better, and integration with vB is improved. How? See screenshots and try it out.


Installation:
1. Import XML file as Product through your Admin CP
2. OPTIONAL (If you are using some very customized styles):
Open template "FORUMHOME" and add "$cyb_tictactoe" after "$navbar". Save.
Open template "navbar" and add "$cyb_tictactoe_link" after "vbphrase[user_cp]</a></td>". Save.


Note:
Default images are stored at tinypic.com (to avoid files uploads when installing hack). If you want you can upload them to your own server and then change paths in product settings. Of course, you can use your own images too (one for X, one for O, and blank one).


Versions:
v1.0 - Jun 19. 2006.
- First version (never released here :p)
v1.1 - Aug 07. 2006.
- No more files uploads required
- Added options to choose images locations. Default ones are stored at imageshack.com (to avoid files uploads when installing hack). If you want you can upload them to your own server and then change paths in product settings. Of course, you can use your own images too.
v1.2 - Aug 07. 2006.
- Fixed bug that game can't be opened from other pages than forumhome
v1.3 - May 03. 2008.
-Compatible with vBulletin 3.7
-Minor bugs fixed


Click INSTALL if you like this hack.

Vaupell
01-21-2009, 08:19 PM
:up: installed

uninstalled, conflicting with vba intergration so could only play 1 game
then had to refresh the page manually to play again, withbout vba it was great.

kkeezer
01-31-2009, 01:24 AM
I installed and then had to uninstall, even following all the instructions to the "T" and tried a little of my own know how... I couldn't get it to work with my style, to bad so far the only mod that you have out that I couldn't get to work right with my style. :(

Oh well...

exige27
02-13-2009, 03:24 AM
I installed it but can't seem to find it anywhere on the forum..help?

directprint
07-13-2009, 04:46 PM
This doesn't work on my site, any box I select it tells me to "Choose An Empty Field"

WordKeeper
08-10-2009, 07:29 PM
This doesn't work on my site, any box I select it tells me to "Choose An Empty Field"
I'm having the same problem....

Occasionally it works though, but it usually says "Choose An Empty Field"

Does anyone know why?

Wifey
08-24-2009, 04:01 PM
I want to move the link from my navbar to a drop down under community, but can't find it anywhere in the navbar even though it's clearly there - help?

DobieGillis?
08-24-2009, 05:48 PM
installed, works perfectly.

yahoooh
08-24-2009, 06:56 PM
itry to make it as page in vba
but it does not work some error appear

mgurain
07-17-2010, 12:10 PM
Could you make it : I can play with another member of the forum ?

BirdOPrey5
07-22-2010, 03:05 AM
I would prefer if this didn't try to auto add itself to my template so I could manually place it under 'community' and/or 'quick links' as my navbar is pretty full as is. Also I use vbadvanced so I guess I would need it to work with that also,

BirdOPrey5
07-22-2010, 03:37 AM
so I edited out the auto link from the xml file and added the link manually to my community menu- works great... also I have vbadvanced and have no issues so I don't know what the other person's issue was?

If anyone wants these are some quick custom X and O transparent PNG's, look great on both white and dark backgrounds... the included ones weren't so great on dark styles. Also an optional 'tic tac toe' background image.
:up:

funmasti
07-22-2010, 04:57 AM
i love Tic tac .. thanks mate

BirdOPrey5
07-24-2010, 12:31 AM
I am also getting a warning on the bottom of every page:
Uncached templates: cyb_tictactoe_link (1)
But only admins see it.

BirdOPrey5
12-04-2010, 02:27 PM
FYI this mod causes a conflict with the vbISpy (https://vborg.vbsupport.ru/showthread.php?t=125947) mod... with Tic-Tac-Toe mod enabled the spy mod won't work. My solution is posted in the vbISpy mod thread.

EddyMaxx
01-17-2011, 05:26 PM
I kept getting the error "Choose An Empty Field" on forum home as well.

So I put it in my FORUMDISPLAY template and it works perfect on 3.8.6.

Open FORUMDISPLAY Template. Add "$cyb_tictactoe" after "$navbar". Save. DONE!!