vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   WebTemplates 3.5.x: VB Integrated CMS (Content Management System) (https://vborg.vbsupport.ru/showthread.php?t=103076)

nanaimobar 04-20-2008 04:13 PM

A puzzle applet has a save function storing puzzle data in a cgi-bin file. When I click on the save button I get an invalid page notice, "The page you requested does not exist!" The page is the web template containing the puzzle which produces the invalid page notice.

The web template page is at https://my site/forums/view.php?pg=crswrdpuz
It is not an actual html page stored on my server and I think what the save function needs to do is save the puzzle data somehow for replacement in the puzzle grid the next time a visitor reloads the web template page.

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#ffffff">
<TITLE>Crossword Puzzle Test</TITLE>

<APPLET CLASS="CCJava" CODE="Grid_int.class" ARCHIVE="ccjava.jar" NAME="CCXWORD" CODEBASE="https://my site /forums/crswrds/" WIDTH=780 HEIGHT=483>
<param name="SAVE" value="https://my site/forums/view.php?pg=crswrdpuz?%PROGRESS%">
<PARAM NAME="DATAFILE" VALUE="https://my site /forums/crswrds/1.jpz">
<!--[CCPROGRESS]-->
You need Java enabled to view the crossword applet.
</APPLET>

<HR>

</BODY>
</HTML>

Anyone have a suggestion as to how to save the web template data for replacement in puzzle grid the next time a visitor loads a saved web template page?

Thanks.

Logician 04-28-2008 08:15 AM

Quote:

Anyone have a suggestion as to how to save the web template data for replacement in puzzle grid the next time a visitor loads a saved web template page?
Have you tried using SEO friendly URLs? This might help since WT will be renamed as

https://my site/forums/view_crswrdpuz.htm
which your script might like better.

However please note that if script is trying to overwrite this HTML somehow (to insert score inside it etc), then it will still fail. I'm not sure why that script is trying to access that html file.

Quote:

Instead of showing the users on this one page - how can I make it display the total number of users on the entire vb forum?
This is not possible as a default feature but if you don't mind hacking (and this hack will apply to ALL webtemplates too!), this should work:

In view.php, find line:

PHP Code:

session.lastactivity $datecut AND  (session.location LIKE '%".$Search_Word_for_session_TB."?%' AND session.location LIKE '".$idSQL."') OR  (session.location LIKE '%".$Search_Word_for_session_TBURL."%'

and replace it as

PHP Code:

session.lastactivity $datecut 

Quote:

Any suggestions as to why this applet works fine when loaded from server as a straight html page but when same html code placed in new web template page it fails?
I would think this is related to the applet. It is likely that it is coded to work in the same server enviroment. It doesnt sound like anything related to WT.

klees 05-02-2008 03:20 PM

Does it work on vB 3.7???

birdie 05-03-2008 02:53 AM

Quote:

Originally Posted by klees (Post 1505843)
Does it work on vB 3.7???

Did you read the previous page of this thread before posting?

Beermonster 05-04-2008 07:16 AM

Since upgrading to 3.7 all I get now are pages that say header, any idea how to fix this?

Logician 05-04-2008 07:31 AM

If you give me FTP and admin cp access to your problematic board, I can check. But before that please make sure your WTs' content is fine.

Beermonster 05-04-2008 07:58 AM

Quote:

Originally Posted by Logician (Post 1507780)
But before that please make sure your WTs' content is fine.

It was working fine before the upgrade, I've uninstalled the hack and still got the error

nanaimobar 05-06-2008 04:31 PM

Quote:

Originally Posted by Logician (Post 1501287)
Have you tried using SEO friendly URLs? This might help since WT will be renamed as

https://my site/forums/view_crswrdpuz.htm
which your script might like better.

However please note that if script is trying to overwrite this HTML somehow (to insert score inside it etc), then it will still fail. I'm not sure why that script is trying to access that html file.

Changed to SEO friendly and managed to get Save button to save puzzle data to bookmarks or hard drive, but... when recalling the saved page, using a display saved puzzle cgi script, it just produces a blank page, let alone include any solved words or letters that were in the puzzle when it was saved.

Your quote above indicates overwriting will fail, and this may be the case.

dilbert 05-06-2008 06:52 PM

Quote:

Originally Posted by Beermonster (Post 1507774)
Since upgrading to 3.7 all I get now are pages that say header, any idea how to fix this?

I'm getting the same error.

iBaker 05-07-2008 04:25 AM

Hi
I am using vB v3.7.0 with Web templates v3.5.0.05 - can someone tell me how I can update my version of Web templates to the latest version without losing any of my pages - thanks!


All times are GMT. The time now is 09:52 AM.

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.01959 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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