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
Details »»

Version: 1.00, by Admin (Coder) Admin is offline
Developer Last Online: Nov 2024 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 01-28-2002 Last Update: Never Installs: 1206
 
No support by the author.

Here's an easy one, it barely took 4 minutes to do. :china:
This hack will add a quick replying box at the bottom of all threads, only if the user has permission to reply, so when you need to reply to something real quickly you don't need to click the Post Reply button and wait for the page to load.

Instructions are in the attached .txt file, and if you want a demo... just look below.

NOTE: For the vB 2.3.2 version please see this post.

Extras:
  • If you want users who have the Use Email Notification option ON, to automatically subscribe to threads they reply to with this hack, see this post.
  • If you want to add an option for each user to turn this feature on and off, please see this post.
  • If you want smilies in your quick reply box please see this post.

Show Your Support

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

Comments
  #1202  
Old 10-01-2003, 01:16 AM
AndreaBash's Avatar
AndreaBash AndreaBash is offline
 
Join Date: Jun 2003
Location: Chicago Area
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have read the entire thread now.. and have also searched it. I am trying desperately to add $vbcode_buttons to my QR box... but no matter where I put it or how I add it, nothing shows up.

I looked at another template and confirmed that $vbcode_buttons is working and showing the correct thing on other templates. What could I possibly be doing wrong?
Reply With Quote
  #1203  
Old 10-01-2003, 07:38 AM
Scott-E Scott-E is offline
 
Join Date: Apr 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure if this was covered at all but I have installed the hack and it's running fine, but I also installed the ability to turn off the quick reply box.

However after making the changes needed it won't show up in Edit Options.
Reply With Quote
  #1204  
Old 10-01-2003, 03:38 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok i'm making this post to link to in the first post of this thread as it's such a frequently asked question.

To add smilies to your quick reply box do the following:
.................................................. ....................................

In showthread.php find:

PHP Code:
$textareacols gettextareawidth(); 

Right below it add:

PHP Code:
$clickysmilies getclickysmilies(); 

Then in your 'showthread_replybox' template add the following right at the top of the template:

Code:
<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>
Then find again in your 'showthread_replybox' template:

Code:
<normalfont><b>Your Reply:</b></normalfont>
Replace it with:

Code:
<normalfont><b>Your Reply:</b></normalfont><br />$clickysmilies
Reply With Quote
  #1205  
Old 10-01-2003, 08:19 PM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea mist
Reply With Quote
  #1206  
Old 10-01-2003, 08:21 PM
klaattu klaattu is offline
 
Join Date: May 2003
Location: mexico
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was lazy to implement the smilies but after seeing the previous post, oh man...In 3 minutes it was intalled !!
THANKS A LOT
Reply With Quote
  #1207  
Old 10-02-2003, 02:16 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by klaattu
I was lazy to implement the smilies but after seeing the previous post, oh man...In 3 minutes it was intalled !!
THANKS A LOT
Yep it was easy to do just that it wasn't made clear at any point during the thread along with some other issues. This being such a popular hack I thought it was time to make it clear for new users in the first post what to do about a few issues
Reply With Quote
  #1208  
Old 10-02-2003, 08:54 PM
RandyP3's Avatar
RandyP3 RandyP3 is offline
 
Join Date: Sep 2003
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get a problem after downloading this. Attached the screen shot.
Reply With Quote
  #1209  
Old 10-02-2003, 10:15 PM
klaattu klaattu is offline
 
Join Date: May 2003
Location: mexico
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gary W
Add the quick reply variable to the bottom of the showthread template, to the second instance of where you're supposed to put it.
same thing happened to me YOU inserted the $reply (variable) in the first occurence of the template not the second (the example in this thread happens TWICE in the template) so....check the template and youll see that the template has the same code at the beginig and att the end,,,DO IT AT THE END then It will appear at he bottom... (the Qreply box)
Reply With Quote
  #1210  
Old 10-05-2003, 05:37 PM
stark427's Avatar
stark427 stark427 is offline
 
Join Date: Aug 2002
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know how this could be related but I have noticed that with the last 2-3 versions of 2.x.x , after I apply the Quick Reply hack, I have problems with the "Go to first unread post".

If I remember well the probs started after 2.3.0.
Clicking on the "got to first unread post" does not always get you to the earliest unread post, but it leads to 2-3 later "new" posts.

This has been confirmed by several members of my forums.
I tried to see what happens and removed the QR hack. Now the "go to first unread post" seems to work ok (as far as I have tested it).

Not sure if there is any "conflict" but I have also read references to this prob and its connection with the Quick Reply hack at the VBulletin.com board. Meaning that there are other members who have said that they had the prob after they applied the hack.

Anyone else with the same prob?

thanx
Reply With Quote
  #1211  
Old 10-07-2003, 06:06 PM
ViewMy.biz ViewMy.biz is offline
 
Join Date: May 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chen
...NOTE: For the vB 2.3.2 version please see this post....
Thanks! For a really quick (no bells) quick reply box (which I sorely needed) for 2.3.2

It is working flawlessly.
Reply With Quote
  #1212  
Old 10-09-2003, 06:58 AM
buurman's Avatar
buurman buurman is offline
 
Join Date: Apr 2002
Location: Amsterdam
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works absolutely great, and easy install

thx, you are my hero
Reply With Quote
  #1213  
Old 10-13-2003, 05:57 AM
gldtn gldtn is offline
 
Join Date: Apr 2003
Location: US
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 4326692027f8
If I can't find the second part in showthread what do I replace?

if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
show_nopermission();
}

if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") {
$pagenumber=1;
The same here, I'm using 2.3.2.. in showthread.php there is:

if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
show_nopermission();
}

$bbcodeon=iif($forum[allowbbcode],$ontext,$offtext);
$imgcodeon=iif($forum[allowimages],$ontext,$offtext);
$htmlcodeon=iif($forum[allowhtml],$ontext,$offtext);
$smilieson=iif($forum[allowsmilies],$ontext,$offtext);

and another line:

if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
show_nopermission();
}

if ($noshutdownfunc) {
$DB_site->query("UPDATE thread SET views=views+1 WHERE threadid='$threadid'");
} else {
$shutdownqueries[]="UPDATE LOW_PRIORITY thread SET views=views+1 WHERE threadid='$threadid'";
}


So what should I replace the code given on quickreply.txt with under showthread.php?

Anyone that got it going under 2.3.2 can help?

Thanks
Reply With Quote
  #1214  
Old 10-13-2003, 01:42 PM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Chen has a link to the modifications you have to make if you're running 2.3.2 in the first post of this thread I believe.
Reply With Quote
  #1215  
Old 10-13-2003, 05:17 PM
gldtn gldtn is offline
 
Join Date: Apr 2003
Location: US
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry guys, I can't believe I missed that in plain BOLD writing :P
Reply With Quote
  #1216  
Old 10-13-2003, 05:55 PM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gldtn
Sorry guys, I can't believe I missed that in plain BOLD writing :P
np
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 10:52 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.07235 seconds
  • Memory Usage 2,372KB
  • Queries Executed 30 (?)
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
  • (3)bbcode_code
  • (2)bbcode_php
  • (5)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
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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