vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How can i get this work on vB3.5 (https://vborg.vbsupport.ru/showthread.php?t=95516)

Walim 09-02-2005 05:42 PM

How can i get this work on vB3.5
 
Hello,

I have a modification a friend is working on. We have the mod working on IPB, PHPBB, and <insert news software>, and we would like to get this same modification working with Vb.

The mod handles links inside topics through a bbcode replacement. All of this is working fine.

The problem is the mod uses a form for some of the javascript bits (there are checkboxes to determine which links you wish to download, for example) however when you are logged in as an Administrator or a Moderator of the particular forum the topic was posted in, it seems that VB opens a form at the beginning of the topic and doesn't close it until the end of the topic.

Is there a way to work around this form being open? Can I close the form safely before the actual posts are generated, and then just open a new one with a different name after the posts are generated, or will this cause javascript problems with VB?

Marco van Herwaarden 09-02-2005 07:04 PM

Any form inserted inside the thread, will cause the inline moderation of vB3.5 to break.

Walim 09-03-2005 06:27 PM

That's exactly what the problem is....and it causes MY form not to work at all See with html, you can do this no problem

<b><i>This text is bold AND italic</i></b>

You can nest SOME tags. But you CAN'T do this

<form...>this is some stuff inside a form<form...>I've opened a second form</form></form>

That's completely invalid and causes both forms not to work properly.

is there any trick or idea how can i use form inside a form ? :surprised:

Marco van Herwaarden 09-03-2005 06:36 PM

Not that i know of, every new <form> tag will cause an implicit </form> to be inserted. Maybe something with frames.


All times are GMT. The time now is 07:02 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.01023 seconds
  • Memory Usage 1,708KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete