Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Sudoku for vBulletin Details »»
Sudoku for vBulletin
Version: 1.00, by Allan Allan is offline
Developer Last Online: Mar 2017 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 05-18-2006 Last Update: Never Installs: 43
 
No support by the author.

Sudoku for vBulletin



Important: This hack will not work if...you must install this hack: Custom page wrapper



You must to create a new template called: page_sudoku, with in:

HTML Code:
[center][left]<table class="tborder" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">[/left]
[left]<thead>[/left]
[left]<tr>[/left]
[left]<td class="tcat" colspan="2"><center>Sudoku</center>[/left]
[left]</td>[/left]
[left]</tr>[/left]
[left]</thead>[/left]
[left]<tr height="500">[/left]
[left]<td align="center" class="alt1">[/left]
[left]<IFRAME SRC = "http://www.free-sudokus.com/cgi/sudoku.cgi?affiliate=1" width="435" height="435" scrolling="no">[/left]
[left]</IFRAME>[/left]
[left]</td>[/left]
[left]</tr>[/left]
[left]<tr>[/left]
[left]<td class="thead">Rules</td>[/left]
[left]</tr>[/left]
[left]<tr>[/left]
[left]<td class="alt2">[/left]
[left]<div style="font-weight: bold;">Short rules</div>[/left]
[left]<div class="smallfont">It is necessary to fill the railing by using figures from 1 to 9. Necessarily only once in every line, column and square of 3 x 3.[/left]
[left]</div>[/left]
[left]<br />[/left]
[left]<div style="font-weight: bold;">To resume the vocabulary of the guide</div>[/left]
[left]<div class="smallfont">It is necessary to fill the railing by using 9 given symbols (Generally figures from 1 to 9, or letters indicated at the foot of the railing). Necessarily only once (but no more) on every line, column and region (or squared by 3 x 3).</div>[/left]
[left]</tr>[/left]
[left]<tr>[/left]
[left]<td class="tfoot" colspan="2"><div class="smallfont"><B>Options:</B> <a href="/forum"> Home</a> | <a href="/forum/index.php?page=sudoku">Delete Railing</a></div></td></tr></tbody>[/left]
[left]</table> [/left]

[left][/left][/center]
For play to Sudoku in vBulletin, go to: www.your-site/forum/index.php?page=sudoku



Enjoy



PS: don't forget to click on Install if you use this hack ^^
PS2: Idea from "cclaerhout"

Show Your Support

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

Comments
  #2  
Old 05-19-2006, 09:07 PM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice allan.
Reply With Quote
  #3  
Old 05-19-2006, 09:07 PM
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Location: Jerusalem
Posts: 571
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

love it woooooooooooooooooooooooo we will say to the newspapers bye bye

thanks man
Reply With Quote
  #4  
Old 05-19-2006, 09:42 PM
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Location: Jerusalem
Posts: 571
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i make for u that file on hurry

upload the file sudoku.php to ur main forum /forum/sudoku.php
upload the xml file to ur products manager

now in ur nav bar try to find

PHP Code:
<td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_calendar.gif" alt="Calendar" border="0" />&nbsp;<a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td
add after

PHP Code:
<td class="vbmenu_control"><a href="sudoku.php">sodoku</a></td
Reply With Quote
  #5  
Old 05-19-2006, 09:45 PM
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Location: Jerusalem
Posts: 571
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it will work without page wrapper hack
Reply With Quote
  #6  
Old 05-19-2006, 10:03 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its not nessary to use that other hack, you can do this with builtin features.

MAke a new template called

custom_sudoku

use this code

HTML Code:
<html>
<head>
$headinclude
<title>$vboptions[bbtitle] - Sudoku</title>
</head>
<body>
$header
<br />
<table class="tborder" align="center" border="0" cellpadding="6" cellspacing="1">
<thead>
<tr>
<td class="tcat" colspan="2"><center>Sudoku</center>
</td>
</tr>
</thead>
<tr height="500">
<td align="center" class="alt1">
<IFRAME SRC = "http://www.free-sudokus.com/cgi/sudoku.cgi?affiliate=1" width="435" height="435" scrolling="no">
</IFRAME>
</td>
</tr>
<tr>
<td class="thead">Rules</td>
</tr>
<tr>
<td class="alt2">
<div style="font-weight: bold;">Short rules</div>
<div class="smallfont">It is necessary to fill the railing by using figures from 1 to 9. Necessarily only once in every line, column and square of 3 x 3.
</div>
<br />
<div style="font-weight: bold;">To resume the vocabulary of the guide</div>
<div class="smallfont">It is necessary to fill the railing by using 9 given symbols (Generally figures from 1 to 9, or letters indicated at the foot of the railing). Necessarily only once (but no more) on every line, column and region (or squared by 3 x 3).</div>
</tr>
<tr>
<td class="tfoot" colspan="2"><div class="smallfont"><B>Options:</B> <a href="$vboptions[bburl]"> Home</a> | <a href="$vboptions[bburl]/misc.php?do=page&template=sudoku">Delete Railing</a></div></td></tr></tbody>
</table>
$footer
</html>
the url is misc.php?do=page&template=sudoku
Reply With Quote
  #7  
Old 05-19-2006, 10:04 PM
James T Brock James T Brock is offline
 
Join Date: Sep 2004
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How exactly does this work? Do I have to download the files you posted in post #4 or do I just follow the instructions from the first post and create the new template???

edit: Looks like Zachery already answered my question. Thanks.
Reply With Quote
  #8  
Old 05-19-2006, 10:09 PM
Kyderoy Kyderoy is offline
 
Join Date: Feb 2005
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you make this easier for a newbie at modding?
Reply With Quote
  #9  
Old 05-19-2006, 10:17 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't get much easier than adding a new template

AdminCP > Styles & Templates > Style Manager > From the drop down Add new template
Reply With Quote
  #10  
Old 05-19-2006, 10:19 PM
Kyderoy Kyderoy is offline
 
Join Date: Feb 2005
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am just a bit confused, does adding your template achieve the same results as the very first post?
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 01:54 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.04932 seconds
  • Memory Usage 2,318KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_html
  • (2)bbcode_php
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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