Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Template Modifications

Reply
 
Thread Tools
[tweak]vB code above the QR message field (modifcation of Rufus's tweak) Details »»
[tweak]vB code above the QR message field (modifcation of Rufus's tweak)
Version: 1.00, by imported_Someguy imported_Someguy is offline
Developer Last Online: Jul 2003 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-21-2003 Last Update: Never Installs: 0
 
No support by the author.

<font size="1">[Tweak]: vB Code above Quick Reply
By: Someguy
Original Idea: Rufus
Hacks Needed: FireFly's Quick Reply
Download: Attached
Screenshot: Next post</font>

I was playing around with Rufus's tweak and discovered it looks better on top of the message field (espically when you have the smilie addition where desirable the vB code goes) with the help of one of my co-execs. If you use this tweak please click install and give all the kudos to the world to Rufus/FireFly, because without them this isn't possible. To make it easier I included Rufus's exact coding, so please don't hurt me, I'm not in this for the fame, it's just a learning experience for me that I would like to share.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 02-23-2003, 02:47 PM
imported_Someguy imported_Someguy is offline
 
Join Date: Jan 2003
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok try this code right before the field, this is MY EXACT CODE:

Code:
<normalfont><b>SDS Code</b></normalfont>
	<smallfont>
	[<a href="misc.php?action=bbcode#buttons" target="_blank">help</a>]<br>
	<input type="radio" name="mode" value="0" title="Normal Mode: (alt+n)" accesskey="n"
	onclick="setmode(this.value)" onmouseover="stat('norm')" $modechecked[0]> Normal Mode
	
	<input type="radio" name="mode" value="1" title="Enhanced Mode: (alt+e)" accesskey="e"
	onclick="setmode(this.value)" onmouseover="stat('enha')" $modechecked[1]> Enhanced Mode<br>
	
		<input type="button" class="bginput" value=" B " onclick="vbcode(this.form,'B','')" onmouseover="stat('b')" title="BOLD (alt+b)" accesskey="b" 
		><input type="button" class="bginput" value=" I " onclick="vbcode(this.form,'I','')" onmouseover="stat('i')" title="ITALIC (alt+i)" accesskey="i" 
		> <input type="button" class="bginput" value=" U " onclick="vbcode(this.form,'U','')" onmouseover="stat('u')" title="UNDERLINE (alt+u)" accesskey="u" >

		&nbsp;

		<select id="sizeselect" 
		onchange="fontformat(this.form,this.options[this.selectedIndex].value,'SIZE')" onmouseover="stat('size')">
		<option value="0">SIZE</option>$vbcode_sizebits</select

		><select id="fontselect" 
		onchange="fontformat(this.form,this.options[this.selectedIndex].value,'FONT')" onmouseover="stat('font')">
		<option value="0">FONT</option>$vbcode_fontbits</select

		><select id="colorselect" 
		onchange="fontformat(this.form,this.options[this.selectedIndex].value,'COLOR')" onmouseover="stat('color')">
		<option value="0">COLOR</option>$vbcode_colorbits</select>
		<br>
		
		<input type="button" class="bginput" value="http://" title="Insert Hyperlink" onclick="namedlink(this.form,'URL')" onmouseover="stat('url')"
		><input type="button" class="bginput" value=" @ " title="Insert Email Address" onclick="namedlink(this.form,'EMAIL')" onmouseover="stat('email')"
		><input type="button" class="bginput" value="IMG" title="Insert Image" onclick="vbcode(this.form,'IMG','http://')" onmouseover="stat('img')">
		&nbsp;
		<input type="button" class="bginput" value=" # " title="CODE" onclick="vbcode(this.form,'CODE','')" onmouseover="stat('code')"
		><input type="button" class="bginput" value="PHP" title="PHP CODE" onclick="vbcode(this.form,'PHP','')" onmouseover="stat('php')"
		><input type="button" class="bginput" value="List" title="Ordered List" accesskey="l" onclick="dolist(this.form)" onmouseover="stat('list')"
		><input type="button" class="bginput" value="Quote" title="Insert Quote" onclick="vbcode(this.form,'QUOTE','')" onmouseover="stat('quote')"><br>
		
		<input type="text" class="bginput" name="status" style="font-size:7pt" size="50" value="Use these controls to insert vBcode">

		<br>
		
		
		<input type="button" class="bginput" value=" x " accesskey="c" title="Close Current Tag (alt+c)" style="color:red; font-weight:bold" onclick="closetag(this.form)" onmouseover="stat('closecurrent')">
		Close Current Tag
		<input type="button" class="bginput" value=" x " accesskey="x" title="Close All Open Tags (alt+x)" style="color:red; font-weight:bold" onclick="closeall(this.form)" onmouseover="stat('closeall')">
		Close All Tags
		</smallfont><br>
Reply With Quote
  #23  
Old 02-23-2003, 03:10 PM
Vladdy Vladdy is offline
 
Join Date: Feb 2003
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope still getting same errors :\
Reply With Quote
  #24  
Old 02-23-2003, 06:57 PM
imported_Someguy imported_Someguy is offline
 
Join Date: Jan 2003
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really can't help you there. Like I said, this is a learning experience for me, and I am no where to Rufus, so I think he should take this one over.
Reply With Quote
  #25  
Old 02-23-2003, 07:29 PM
Rufus69's Avatar
Rufus69 Rufus69 is offline
 
Join Date: Oct 2002
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok...change all those ".vbform"s to ".form"s
Reply With Quote
  #26  
Old 02-24-2003, 12:07 AM
imported_Someguy imported_Someguy is offline
 
Join Date: Jan 2003
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

he tried that
Reply With Quote
  #27  
Old 02-24-2003, 02:06 AM
Rufus69's Avatar
Rufus69 Rufus69 is offline
 
Join Date: Oct 2002
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no he didn't, he tried it reversed...
Reply With Quote
  #28  
Old 02-24-2003, 02:18 AM
Vladdy Vladdy is offline
 
Join Date: Feb 2003
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Rufus69
no he didn't, he tried it reversed...
It was set like that in the first place though...
Reply With Quote
  #29  
Old 02-24-2003, 01:36 PM
Rufus69's Avatar
Rufus69 Rufus69 is offline
 
Join Date: Oct 2002
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ah ha! look for those .form's again but this time change them to .message
Reply With Quote
  #30  
Old 02-24-2003, 09:01 PM
Vladdy Vladdy is offline
 
Join Date: Feb 2003
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I will try it later. I removed it so i will put it back on
Reply With Quote
  #31  
Old 02-24-2003, 09:49 PM
imported_Someguy imported_Someguy is offline
 
Join Date: Jan 2003
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope it works...
Reply With Quote
Reply

Thread Tools

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


All times are GMT. The time now is 02:39 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05262 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete