vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - ISketch on your forum <Now works for everyone> (https://vborg.vbsupport.ru/showthread.php?t=144897)

apokphp 05-08-2007 05:26 PM

I just tried it, worked fine.

http://www.onlinedebate.net/forums/isketch.php

UltimateOreo! 05-08-2007 06:56 PM

Are you sure you completely updated it akulion?

UltimateOreo! 05-11-2007 11:17 PM

I just took a look at your source code, and you did not make the required template fix. Please do so and come back.

The Equivocate 05-22-2007 02:03 AM

Also receiving the Unable To Connect error but can login fine from isketch.net. Any fix yet?

vectorfc 05-22-2007 05:09 PM

I'm getting a "connection error. Please check your network settings or try again later" message - not the same as the other error I was getting before I put the fix in.

UltimateOreo! 05-23-2007 08:38 PM

Try it again, I tried logging in on the other day and there was a server error also. It was most likely the server as I went through their main website.

vectorfc 05-24-2007 08:56 PM

Doesn't look like it - same error from the forum and I can log into the main website ok.

Thanks for any help, though, I appreciate it. :)

vectorfc 05-28-2007 01:30 PM

I got the same error when attempting to log in directly through the source url you've got in the template ( http://88.198.9.81/isketch/iSketch392g.dcr ). I see from isketch's own site that the stuff in the template is the same code they use to call the game, so it does look like their site isn't too happy with outside connections.

To work around this, I just replaced your code in the isketch tempate with an iframe:

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />
        <!-- end no cache headers -->
        $headinclude
        <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_iSketch]</phrase></title>
</head>
<body>
$header
$navbar
<if condition="$show['guest']">
<table width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td class="tcat">No Permissions<td>
</tr>
<tr>
<td>Please <a href="/register.php">Register</a> on $vboptions[bbtitle] to play Isketch.</td>
</tr>
</table>
</if>
<if condition="$show['member']">

<div align="center"><iframe src="http://www.isketch.net/isketch.shtml" scrolling="no" width="730" height="430"></iframe></div>

</if>
$forumbits
<tbody>
</tbody>
</table>
$footer
</body>
</html>
<center>Copyright ? Isketch</center>

Works great for me, hope somebody else finds it useful.

joshbond 05-29-2007 03:57 AM

^^ That iFrame thing worked.
is there any downside to using this method instead of the original? (aside from the fact that it works and the original doesn't)

I just installed it at my forum
http://www.photochopz.com/forum/

vectorfc 05-29-2007 05:51 PM

Quote:

Originally Posted by joshbond (Post 1256625)
^^ That iFrame thing worked.
is there any downside to using this method instead of the original?

Not really - the two methods are doing basically the same thing. The difference is that the original tries to make the isketch code internal to vbulletin, so to speak, whereas my method leaves it completely external instead.

Edit: What would be nice would be if we could have a page refresh in the background so that people playing isketch are updated properly on Who's Online. I'm trying to figure out a way to do this now, so hopefully I can find something.


All times are GMT. The time now is 04:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01105 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete