Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Quick Thread Box Details »»
Quick Thread Box
Version: 1.00, by Neo Neo is offline
Developer Last Online: Dec 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-16-2002 Last Update: Never Installs: 85
 
No support by the author.

Ok, this is like Fireflys quick reply box, but its for making quick threads. This is at the bottonm of your forumdisplay.

This has the basics to it. There are only the name of the new thread and the new thread message area. And if people wish for more options.. maybe thats what the normal way is for

Enjoy.

Show Your Support

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

Comments
  #42  
Old 05-14-2002, 10:14 AM
inphinity's Avatar
inphinity inphinity is offline
 
Join Date: Oct 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v. nice hack neo

Quote:
Originally posted by hellsatan
So what do you think of the add-on?

I was wondering...

Every time you post a New Thread using this, it doesnt add your Signature...

How could you make it enable Signatures?

Satan
signatures, parsing urls, similies are handled by form values passed to newthread.php

the defaults on my forum are for signatures and to automatically parse urls.

to pass these silently as defaults use input type hidden

Code:
<input type="hidden" name="parseurl" value="yes" checked>
<input type="hidden" name="signature" value="yes" checked>
and include them somewhere on your submit form (probably just below check message length)

or you can give them an option or two (see attached pic):

find:
Code:
			<smallfont><a href="javascript:checklength(document.vbform);">[check message length]</a></smallfont></td>
		</tr>
		</table>
	</td>
</tr>
and below put:

Code:
<tr>	
	<td bgcolor="{ firstaltcolor}" valign="top"><normalfont><b>Options:</b></normalfont></td>
	<td bgcolor="{ firstaltcolor}" valign="top"><smallfont>
	<input type="checkbox" name="parseurl" value="yes" checked> <b>Automatically parse URLs:</b> automatically adds [ url] and [ /url] around internet addresses.
	<br><input type="checkbox" name="signature" value="yes" checked> <b>Show Signature:</b> include your profile signature.  Only registered users may have signatures.
	</smallfont></td>
</tr>
remember to remove the spaces after { and [

if you want to give them more options copy and paste the inputs out of the newthread template and hide the ones you dont want shown (you may need to hardcode some variables like $signaturechecked (either CHECKED or UNCHECKED)
Reply With Quote
  #43  
Old 05-14-2002, 05:17 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool thnx...

Shall do...

Satan
Reply With Quote
  #44  
Old 05-19-2002, 04:32 PM
chipheodeptrai chipheodeptrai is offline
 
Join Date: Mar 2002
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

How do i add on smilies to quick thread box ? please help

thanks
Reply With Quote
  #45  
Old 05-19-2002, 06:10 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe there is an answer in the Quick Reply Box hack by FireFly...

I shall try and find it for you...

Satan
Reply With Quote
  #46  
Old 05-19-2002, 06:23 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add this line:

Code:
	$clickysmilies = getclickysmilies();
to showthread.php right after this:

Code:
 
	$textareacols = gettextareawidth();
then use $clickysmilies in the "newthreadbox" template to add the box with the smilies in it, but you will also need to add these two lines:

Code:
<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>
to the template either before or after :

Code:
<tr>
	<td bgcolor="{firstaltcolor}" valign="top" nowrap><normalfont><b>Message:</b></normalfont>
		<p><smallfont>
		See Forum Rules (below) for<br>
		more information about what<br>
		codes you are allowed to use<br>
		in your posts.
	</smallfont></p></td>
	<td bgcolor="{firstaltcolor}">
		<table cellpadding="0" cellspacing="0" border="0">
		<tr valign="top">
			<td><textarea name="message" rows="7" cols="$textareacols" wrap="virtual" tabindex="2">$message</textarea><br>
			<smallfont><a href="javascript:checklength(document.vbform);">[check message length]</a></smallfont></td>
		</tr>
		</table>
	</td>
</tr>
Hope that helps...

Satan
Reply With Quote
  #47  
Old 05-20-2002, 12:58 AM
chipheodeptrai chipheodeptrai is offline
 
Join Date: Mar 2002
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dear hellsatan

I see, but i must add $clickysmilies = getclickysmilies(); to fuctions.php .....lol
Now all done...thanks for your help
Reply With Quote
  #48  
Old 06-16-2002, 01:07 AM
globalwin's Avatar
globalwin globalwin is offline
 
Join Date: Jun 2002
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by chipheodeptrai
Dear hellsatan

I see, but i must add $clickysmilies = getclickysmilies(); to fuctions.php .....lol
Now all done...thanks for your help
where abouts? :bored:
Reply With Quote
  #49  
Old 06-22-2002, 03:45 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nvm, it has been fixed.
Reply With Quote
  #50  
Old 06-22-2002, 08:23 PM
Units Units is offline
 
Join Date: Jun 2002
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool hack!
Reply With Quote
  #51  
Old 06-27-2002, 07:49 AM
Bro_Joey_Gowdy's Avatar
Bro_Joey_Gowdy Bro_Joey_Gowdy is offline
 
Join Date: May 2002
Location: Hickory Flat MS 38633
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack - just one question -

how do i remove to second 'post thread' above the quick thread box ?
Reply With Quote
Reply


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 01:12 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.04936 seconds
  • Memory Usage 2,309KB
  • 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
  • (7)bbcode_code
  • (2)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