Results 1 to 9 of 9

Thread: Need Help.......

  1. #1
    Join Date
    Jan 2007
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need Help.......

    here is the vbulletin forum editor template code and i need button thats add button text in text area

    Code:
    <if condition="$show['editor_toolbar']">
    <div id="{$editorid}_controls" class="controlbar">
    	<table cellpadding="0" cellspacing="0" border="0" width="100%">
    	<tr>
    		<td><div class="imagebutton" id="{$editorid}_cmd_removeformat"><img src="$stylevar[imgdir_editor]/removeformat.gif" width="21" height="20" alt="$vbphrase[remove_text_formatting]" /></div></td>
    		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
    	<if condition="$show['basic_bbcode']">
    		<td><div class="imagebutton" id="{$editorid}_cmd_bold"><img src="$stylevar[imgdir_editor]/bold.gif" width="21" height="20" alt="$vbphrase[bold]" /></div></td>
    		<td><div class="imagebutton" id="{$editorid}_cmd_italic"><img src="$stylevar[imgdir_editor]/italic.gif" width="21" height="20" alt="$vbphrase[italic]" /></div></td>
    		<td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td>
    		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
    	</if>
     <if condition="$show['align_bbcode']">
    	<if condition="$stylevar['textdirection'] == 'ltr'">
    	<td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td>
    	<td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td>
    	<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td>
    	<else />
    	<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td>
    	<td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td>
    	<td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td>
    	</if>
    	<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
    </if>
     <if condition="$show['font_bbcode']"> 
    				<td><div class="imagebutton" id="{$editorid}_popup_fontname" title="$vbphrase[fonts]">
    					<table cellpadding="0" cellspacing="0" border="0">
    					<tr>
    						<td class="popup_feedback"><div id="{$editorid}_font_out" style="width:91px">&nbsp;</div></td>
    						<td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
    					</tr>
    					</table>				
    				</div></td>
    			</if>
    <if condition="$show['size_bbcode']">
    	<td><div class="imagebutton" id="{$editorid}_popup_fontsize" title="$vbphrase[sizes]">
    	 <table cellpadding="0" cellspacing="0" border="0">
    	 <tr>
    	 <td class="popup_feedback"><div id="{$editorid}_size_out" style="width:25px">&nbsp;</div></td>
    	 <td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
    	 </tr>
    	 </table>
    	</div></td>
    </if>
    
    	<if condition="$show['color_bbcode']">
    		<td><div class="imagebutton" id="{$editorid}_popup_forecolor" title="$vbphrase[colors]">
    			<table cellpadding="0" cellspacing="0" border="0">
    			<tr>
    				<td id="{$editorid}_color_out"><img src="$stylevar[imgdir_editor]/color.gif" width="21" height="16" alt="" /><br /><img src="$vboptions[cleargifurl]" id="{$editorid}_color_bar" alt="" style="background-color:black" width="21" height="4" /></td>
    				<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" alt="" width="11" height="16" /></td>
    			</tr>
    			</table>
    		</div></td>
    	</if>
    		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
    	<if condition="$show['url_bbcode']">
    		<td><div class="imagebutton" id="{$editorid}_cmd_createlink"><img src="$stylevar[imgdir_editor]/createlink.gif" width="21" height="20" alt="$vbphrase[insert_link]" /></div></td>
    	</if>
    	<if condition="$show['img_bbcode']">
    		<td><div class="imagebutton" id="{$editorid}_cmd_insertimage"><img src="$stylevar[imgdir_editor]/insertimage.gif" width="21" height="20" alt="$vbphrase[insert_image]" /></div></td>
    	</if>
    		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
    		<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
     	<if condition="$show['wysiwygsmilies']">
    		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
    		<td><div class="imagebutton" id="{$editorid}_popup_smilie" title="$vbphrase[smilies]">
    			<table cellpadding="0" cellspacing="0" border="0">
    			<tr>
    				<td><img src="$stylevar[imgdir_editor]/smilie.gif" alt="" width="21" height="20" /></td>
    				<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
    			</tr>
    			</table>
    		</div></td>
    	</if>
    	<td width="100%">&nbsp;</td>
    	<if condition="is_browser('ie')">
    		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
    		<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
    	</if>
    		<td>
    			<div class="imagebutton" id="{$editorid}_cmd_resize_0_99"><img src="$stylevar[imgdir_editor]/resize_0.gif" width="21" height="9" alt="$vbphrase[decrease_size]" /></div>
    			<div class="imagebutton" id="{$editorid}_cmd_resize_1_99"><img src="$stylevar[imgdir_editor]/resize_1.gif" width="21" height="9" alt="$vbphrase[increase_size]" /></div>
    		</td>
    	<if condition="$show['wysiwyg_compatible']">
    		<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
    		<td><div class="imagebutton" id="{$editorid}_cmd_switchmode"><img src="$stylevar[imgdir_editor]/switchmode.gif" width="21" height="20" alt="$vbphrase[switch_editor_mode]" /></div></td>
    	</if>
    	</tr>
    	</table>
    </div>
    </if>
    <div class="controlbar">
    	<if condition="$show['qr_require_click']">
    	<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]" disabled="disabled">$vbphrase[click_quick_reply_icon]</textarea>
    	<else />
    	<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]"></textarea>
    	</if>
    </div>
    
    <input type="hidden" name="wysiwyg" id="{$editorid}_mode" value="$editortype" />
    <input type="hidden" name="styleid" value="$session[styleid]" />
    
    <script type="text/javascript">
    <!--
    vB_Editor['$editorid'] = new vB_Text_Editor('$editorid', $editortype, '$forumid', '$parsesmilie');
    var QR_EditorID = '$editorid';
    //-->
    </script>

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    i need button thats add button text in text area
    What's button text?
    - Mike

  3. #3
    Join Date
    Jan 2007
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    1) Welcome
    2) Thanks

  4. #4
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    1) Welcome
    2) Thanks
    Are you welcoming yourself or something? Huh? I didn't even answer your question.
    - Mike

  5. #5
    Join Date
    Jan 2007
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    LOL...I was telling you what give the title to buttons

  6. #6
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Ah, I see. The function won't work properly for one. I need to have the full html page, the external script link is there. The function is called from an external file, which I don't have access to to solve your problem
    So if you could post the code, it would help.
    - Mike

  7. #7
    Join Date
    Jan 2007
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    There is no html page code

    I am using vbulletin forum

  8. #8
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Oh yeah... I forgot. I don't think I can help.
    Wait *scrolls to bottom of page
    This forum uses vBulletin! Ask ddadmin
    - Mike

  9. #9
    Join Date
    Jan 2007
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Lol...ok..no Thanks 2 U :d

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •