![]() |
|
#1
|
|||
|
|||
|
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.
|
|
#2
|
||||
|
||||
|
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:
|
|
#3
|
|||
|
|||
|
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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |