vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 06-17-2007, 10:29 PM
XtAzY XtAzY is offline
Member
 
Join Date: Mar 2005
Posts: 42
Default BUG? Form Code Not Parsed Correctly

This is for the Welcome Block, could happen to other modules if using the same steps I use. I had the module to not use the module wrapper template. I had the variable $mods[formcode] at the beginning of the welcome block template. However, it doesnt parse the Form Code urls correctly if I do this.
Reply With Quote
  #2  
Old 06-18-2007, 10:46 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 32,349
Default Re: BUG? Form Code Not Parsed Correctly

If you turn the "Use Module Wapper Template" option off then the other options associated with the wrapper template are not going to be executed either.
Quote:
This section deals with options that may be applied to your 'adv_portal_module_wrapper' template. Please note that the options are only applicable if the 'Use Module Wrapper Template' option below is set to 'Yes'.
Reply With Quote
  #3  
Old 06-18-2007, 09:21 PM
XtAzY XtAzY is offline
Member
 
Join Date: Mar 2005
Posts: 42
Default Re: BUG? Form Code Not Parsed Correctly

Ah! Ok thanks for the info. Ok so now I put Form Code straight into the template itself at the top and </form> at the end of the template. However, it still doesnt parse the $vbulletin->options[bburl] correctly like it should. I also have my Login button to be an image instead and when I hover over it, I can see that the form link is Array[bburl]/login.php. Any ideas on this?

Edit: Actually I found a fix to this

I change all the instances of $vbulletin->options[bburl] to $vboptions[bburl] from this code:

<script src="$vbulletin->options[bburl]/clientscript/vbulletin_md5.js" type="text/javascript"></script> <form action="$vbulletin->options[bburl]/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)"> <input name="vb_login_md5password" type="hidden" /> <input name="s" type="hidden" value="" /> <input name="do" type="hidden" value="login" />

to this

<script src="$vboptions[bburl]/clientscript/vbulletin_md5.js" type="text/javascript"></script> <form action="$vboptions[bburl]/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)"> <input name="vb_login_md5password" type="hidden" /> <input name="s" type="hidden" value="" /> <input name="do" type="hidden" value="login" />

Last edited by XtAzY; 06-18-2007 at 09:32 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Form Code vs BB Code x-gameservers Troubleshooting & Problems 1 01-05-2007 12:48 PM
Prevent <img> tags from being parsed to [img]??? cleck673 "How Do I..." Questions 2 08-03-2006 01:01 AM
Form Code? Goatpod Troubleshooting & Problems 1 11-11-2005 10:22 AM
Smilies mis-parsed in forums Kaelon Troubleshooting / "How do I..." Questions 3 05-13-2005 05:20 PM


All times are GMT -4. The time now is 03:40 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.