Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-02-2003, 02:16 AM
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Location: Southern California
Posts: 718
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default someone for the love of god please help me with adding smilies to quick reply

Ok every addon I come across for the quick reply box is for firefly's version and I have mist's hackless version which is here. Now I have tried to install firefly's version and have had many admins go over the code but it doesnt want to work. So I am forced to use mist's version instead. I would like to know very badly how to add:
  • E-mail notification
  • Clickable smilie box
  • thread subscription

to the quick reply box but nobody has told me how to do this yet except for "look it up". And every time I do look it up it is for firefly's version! Someone please just tell me right here in this thread the PHP code to add to the showthread template! Please!
Reply With Quote
  #2  
Old 09-02-2003, 02:40 AM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The instructions posted in FireFly's thread should work fine with Mist's version.

Anyway,
In showthread.php find:
Code:
$textareacols = gettextareawidth();
Below it add:
Code:
$clickysmilies = getclickysmilies();
Then in your showthread template find:
Code:
<! -- hackless quick reply -->

<br />
Below it add:
Code:
<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>
Still in the showthread template find:
Code:
<normalfont color="{pagetextcolor}"><b>Your Reply:</b></normalfont>
</td>
Replace it with:
Code:
<normalfont color="{pagetextcolor}"><b>Your Reply:</b></normalfont><br>
$clickysmilies
</td>
Find:
Code:
<input type="hidden" name="email" value="">
..and delete it.

Find:
Code:
	<input type="reset" class="bginput" name="reset" value="Reset Form" accesskey="r" tabindex="3">
Below it add:
Code:
<input type="checkbox" name="email" value="yes"><smallfont>Email Notification</smallfont>
Reply With Quote
  #3  
Old 09-02-2003, 03:14 AM
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Location: Southern California
Posts: 718
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That worked really great! Thanks! But I still dont understand why the smilie box isnt showing up in the box.... I did everything exactly as showed..... I dont understand :ermm:
Reply With Quote
  #4  
Old 09-02-2003, 03:35 AM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, try this..

In the showthread template find and delete this code (you just added it):
Code:
<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>
Find:
Code:
<tr>
<td bgcolor="{tableheadbgcolor}" colspan="2">
<normalfont color="{tableheadtextcolor}"><b>Post Reply:</b></normalfont>
</td>
</tr>
Below it add:
Code:
<form enctype="multipart/form-data" action="newreply.php" name="quickreply" method="post" onSubmit="return validate(this)">
<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>
A few lines below that find:
Code:
<form enctype="multipart/form-data" action="newreply.php" name="quickreply" method="post" onSubmit="return validate(this)">
..and delete it.


That should do it.
Reply With Quote
  #5  
Old 09-02-2003, 04:00 AM
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Location: Southern California
Posts: 718
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I really dont know whats wrong with this thing it doesnt seem to work at all! If you want an admin account to my forum you are welcome to have one to see what is wrong with my stupid forum! PM me if you want to look into it!
Reply With Quote
  #6  
Old 09-02-2003, 10:24 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo's version worked. You're obviously applying it wrong MadCat75 - i'll have to dig that up and make an addon's list in the thread I think...
Reply With Quote
  #7  
Old 09-02-2003, 07:04 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 06:00 AM MaDCaT75 said this in Post #5
Ok I really dont know whats wrong with this thing it doesnt seem to work at all! If you want an admin account to my forum you are welcome to have one to see what is wrong with my stupid forum! PM me if you want to look into it!
Yeah I can add it for you. Just PM or email me when you get online.
Reply With Quote
  #8  
Old 09-02-2003, 08:20 PM
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Location: Southern California
Posts: 718
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 12:24 PM Mist said this in Post #6
Boofo's version worked. You're obviously applying it wrong MadCat75 - i'll have to dig that up and make an addon's list in the thread I think...
I swear to god I applied it just like EvilS1 said to. I went over it again and again and it makes no sense.

@ EviLS1 you have a new PM
Reply With Quote
  #9  
Old 09-02-2003, 08:42 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MadCad, check your PMs please.
Reply With Quote
  #10  
Old 09-02-2003, 09:56 PM
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Location: Southern California
Posts: 718
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you EviLS1 it worked wonderfully

Edit: one small thing though:

How do I make the smilie box like the new reply one shown in the screenshot below:
Attached Images
File Type: jpg newreply.jpg (7.8 KB, 0 views)
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 07:23 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.04901 seconds
  • Memory Usage 2,286KB
  • Queries Executed 14 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (13)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete