Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Cyb - Tic-Tac-Toe Details »»
Cyb - Tic-Tac-Toe
Version: 1.2, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.8 Rating:
Released: 08-06-2006 Last Update: 09-02-2006 Installs: 68
Uses Plugins Template Edits
 
No support by the author.

vB 3.7 VERSION HERE
https://vborg.vbsupport.ru/showthread.php?t=177960


====

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.

Thanks to:
- Brian from Dynamic Drive for original version of this javascript game
- yoyoyoyo for his vB release for vB 3.0
- Atakan KOC for his vBulletin releases for vB 3.5/3.6

This version is preety different. 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.


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 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 (one for X, one for O, and blank one).


Versions:
v1.0 - Jun 19. 2006.
- First version (never released here )
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


Click INSTALL if you like this.


Cybernetec

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-13-2006, 07:51 PM
ReadOrDie ReadOrDie is offline
 
Join Date: Sep 2005
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you think you could get a few other multiplayer games like connect four, checkers and/or chess?
Reply With Quote
  #23  
Old 01-18-2007, 02:16 PM
RFViet RFViet is offline
 
Join Date: Jan 2006
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be great If the number of square can be customized
Reply With Quote
  #24  
Old 03-14-2007, 10:37 PM
Charmedfan Charmedfan is offline
 
Join Date: Jan 2006
Location: Cologne, Germany
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,
thanks for the game but is there a solution to display the game in a separate template. I want to add it in my Games Section (I need a full link) but I do not know how to do it in a separte template.
I hope you can help me.

Thanks

Charmedfan
Reply With Quote
  #25  
Old 03-22-2007, 02:05 AM
TVNettet's Avatar
TVNettet TVNettet is offline
 
Join Date: Mar 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In Ireland we call it x's & o's :-)
thx...
Tried installing it, can't get it to work in surge.
Found the different text in the templates than to your instructions, but then the game kept saying choose another.
Still works nice in default.
Reply With Quote
  #26  
Old 07-03-2007, 09:23 PM
Silvio's Avatar
Silvio Silvio is offline
 
Join Date: Nov 2005
Location: Italy
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

What I have to modify on xml (b4 reloading it) to avoid link on main navbar and fit it onto quick links of the same navbar?

I guess this is where
Code:
   $vbulletin->templatecache['navbar'] = str_replace($cyb_ttt_srch_game, $cyb_ttt_srch_game.$vbulletin->templatecache['cyb_tictactoe'], $vbulletin->templatecache['navbar']);
   $cyb_ttt_srch_link = ('vbphrase[user_cp]</a></td>');
   $vbulletin->templatecache['navbar'] = str_replace($cyb_ttt_srch_link, $cyb_ttt_srch_link.$vbulletin->templatecache['cyb_tictactoe_link'], $vbulletin->templatecache['navbar']);
lol but how?

ty very much for help
Reply With Quote
  #27  
Old 09-26-2007, 02:49 AM
periphrastic periphrastic is offline
 
Join Date: Jul 2007
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm...followed instructions, not working

the skin is highly customized. i made the template changes in default (not the applicable skin template), as this "vbphrase[user_cp]</a></td>" could not be found in the customized skin template. still not showing up, however.

any advisement? thanks

edit*

got it through

now there are javascript errors
Reply With Quote
  #28  
Old 10-13-2007, 04:29 PM
ogameclub ogameclub is offline
 
Join Date: Oct 2006
Location: T?rkiye
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No works in Firefox
Reply With Quote
  #29  
Old 10-13-2007, 04:30 PM
rjp0615 rjp0615 is offline
 
Join Date: Dec 2006
Location: Cleveland, OH
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doesn't work for me in firefox either
Reply With Quote
  #30  
Old 04-10-2008, 01:44 PM
Butcher's Avatar
Butcher Butcher is offline
 
Join Date: Oct 2004
Location: Lake Distrcit - England
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works fine in firefox here

one problem i have however. i want to use this but i have a modified template. ie; my navbar is located in my header. But all links are images. so how would i go about making the image open the game. i have added $cyb_tictactoe on forumhome but how do i link to it. You seem to use $cyb_tictactoe_link however it's not possible to use this inside <a href="link">image code</a>

is there a work around?

*EDIT*

Sorry really should start to look for myself first before asking. Anyway sorted this problem by simply looking.
If anyone else needs this info then simply use
HTML Code:
<a href="#cttt" onclick="return toggle_collapse('cyb_fh_ttt')">image code</a>
Reply With Quote
  #31  
Old 04-10-2008, 03:55 PM
Butcher's Avatar
Butcher Butcher is offline
 
Join Date: Oct 2004
Location: Lake Distrcit - England
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm ok this above lets me open the tic-tac-toe box but when i click in one of the boxes to play the game it says "Choose an empty field"
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09526 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete