The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to make code to work in register template
Ok, i'm stuck like hell here!
I am using Aniron's plugin https://vborg.vbsupport.ru/showthread.php?t=165951 in my 4.1.3 and want to add an extra tool to go with it. Since i have a Prez generator and that we can build introduction from it, i want to be able to add a button in the "register" template for the member to use when they are registering on the forum and therefor adding the BBcode from the Prez to the plugin of Aniron. Now, i managed to add the codes to the "modifyprofile" template to show the button and text info with out a problem but when it comes to the main registration page, the button doesn't show up ! This is my code for the button redirect to the Prez: Code:
<!-- intro on reg --> <h3 class="blocksubhead">{vb:rawphrase tool_intro}</h3> <div class="section"> <div class="blockrow singlebutton"> <label>{vb:rawphrase mem_prez}:</label> <div class="rightcol"> <!-- DO NOT REMOVE --> <input type="image" style="width: 1px; height: 1px;" src="clear.gif" /> <!-- / DO NOT REMOVE --> <a href="http://mywebsite.com/prez/?page=membres/" target="_blank"><input type="button" class="button" tabindex="1" value="{vb:rawphrase button_prez}" name="Prezium" /></a> </div> <p class="description"> {vb:rawphrase info_intro} </p> </div> </div> <!-- intro on reg end --> I tried under this code from it but nothing comes up Register template: Code:
<vb:if condition="$show['customfields_profile']"> <h3 class="blocksubhead">{vb:rawphrase additional_required_information_profile}</h3> <div class="section"> {vb:raw customfields_profile} <vb:if condition="$show['birthday']">{vb:raw birthdayfields}</vb:if> </div> </vb:if> Code:
<h3 class="blocksubhead">{vb:rawphrase additional_information}</h3> <div class="section"> <vb:if condition="$show['referrer']"> <div class="blockrow"> <label for="referrerfield_ctrl">{vb:rawphrase referrer}:</label> <div class="rightcol"> <div id="referrerfield" class="popupmenu nomouseover noclick nohovermenu"> <input id="referrerfield_ctrl" type="text" class="primary textbox popupctrl" name="referrername" value="{vb:raw referrername}" tabindex="1" maxlength="{vb:raw vboptions.maxuserlength}" /> <div id="referrerfield_body" class="popupbody"></div> </div> <script type="text/javascript" src="clientsc I've attached some pic to show you guys Hope someone can give me a little hand with this one Tks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|