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
  #1187  
Old 09-24-2003, 05:41 PM
RPGXtreme RPGXtreme is offline
 
Join Date: Aug 2003
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got a bit of trouble.

The quick Reply box is at the top of the thread, can someone please help me to move it down to the bottom. Thanks.
Reply With Quote
  #1188  
Old 09-24-2003, 06:28 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just look for the next chunk of code - you added it at the first instance - not the second
Reply With Quote
  #1189  
Old 09-25-2003, 02:36 PM
klaattu klaattu is offline
 
Join Date: May 2003
Location: mexico
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After 3 months of leaving my forum as is, I returned to hacking it and stalled some hacks, but hands down the best is this one
THANKS FireFly !!!

Now I have a weird Problem, I installed it tested it and as you can see it I translated it, but even when I did not make any changes the Qreply apperared in the TOP of thew page, I have broken my Skull figuring out why, I even reinstale dit and the same thing happens...any hints?

ehere is a Screen of the problem

Thanks again!
Reply With Quote
  #1190  
Old 09-25-2003, 06:42 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 klaattu
After 3 months of leaving my forum as is, I returned to hacking it and stalled some hacks, but hands down the best is this one
THANKS FireFly !!!

Now I have a weird Problem, I installed it tested it and as you can see it I translated it, but even when I did not make any changes the Qreply apperared in the TOP of thew page, I have broken my Skull figuring out why, I even reinstale dit and the same thing happens...any hints?

ehere is a Screen of the problem

Thanks again!
Add the quick reply variable to the bottom of the showthread template, to the second instance of where you're supposed to put it.
Reply With Quote
  #1191  
Old 09-25-2003, 10:27 PM
patriciafrankie patriciafrankie is offline
 
Join Date: Sep 2003
Location: Ontario Canada
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a question... I don't know if it has been answered or not as I haven't looked through the entire thread.. lol, but where it says:

1. In showthread.php find this bit of code:
// ##################################################
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;
}
// ##################################################

I cannot find the second part in the php file. Will this work with v2.3.2?

TIA
Patricia
Reply With Quote
  #1192  
Old 09-25-2003, 11:22 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 patriciafrankie
I have a question... I don't know if it has been answered or not as I haven't looked through the entire thread.. lol, but where it says:

1. In showthread.php find this bit of code:
// ##################################################
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;
}
// ##################################################


I cannot find the second part in the php file. Will this work with v2.3.2?

TIA
Patricia
Yes, should work with 2.3.2
Reply With Quote
  #1193  
Old 09-25-2003, 11:28 PM
patriciafrankie patriciafrankie is offline
 
Join Date: Sep 2003
Location: Ontario Canada
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you

Another question, if you don't mind.

3. In the "showthread" template add $replybox right after the following:
// ##################################################
<!-- first unread and next/prev -->
<table cellpadding="2" cellspacing="0" border="0" width="95%" align="center">
<tr>
<td><smallfont>$pagenav&nbsp;</smallfont></td>
<td align="right"><smallfont>
<img src="https://vborg.vbsupport.ru/images/prev.gif" alt="" border="0">
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>
&nbsp;
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
<img src="https://vborg.vbsupport.ru/images/next.gif" alt="" border="0">
</smallfont></td>
</tr>
</table>
<!-- first unread and next/prev -->
// ##################################################

What 'showthread' template is this referring to?

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

The template in the admin cp, named showthread
Reply With Quote
  #1195  
Old 09-25-2003, 11:56 PM
patriciafrankie patriciafrankie is offline
 
Join Date: Sep 2003
Location: Ontario Canada
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

n/m I got it

lol.. I'm a newbie at this. I'm full of questions. How do I get rid of the second quick reply? I have two for some reason.
Reply With Quote
  #1196  
Old 09-26-2003, 12:24 AM
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 patriciafrankie
n/m I got it

lol.. I'm a newbie at this. I'm full of questions. How do I get rid of the second quick reply? I have two for some reason.
Find the $quickreply variable (or something similiar to that that you inserted for this hack), and remove one of them.
Reply With Quote
  #1197  
Old 09-29-2003, 04:32 PM
ViewMy.biz ViewMy.biz is offline
 
Join Date: May 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;
Reply With Quote
  #1198  
Old 09-29-2003, 04:38 PM
ViewMy.biz ViewMy.biz is offline
 
Join Date: May 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I should have said I am in 2.3.2 In the first instance this follows:

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


IN the second instance this follows:

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'";
}
Reply With Quote
  #1199  
Old 09-29-2003, 05:57 PM
klaattu klaattu is offline
 
Join Date: May 2003
Location: mexico
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot Its ok now, by the way you can put banners inside those quick reply with the hack ehere in the Vbulletin.org, I am testing it if its ok Ill post the hack later!
Reply With Quote
  #1200  
Old 09-30-2003, 03:55 PM
tsmith025 tsmith025 is offline
 
Join Date: Sep 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this hack on 2.3.2. I cant get the Reply Box to show up. But when I add a line of text where the box should beI can see the text. I follewed the directions very carefully and I have done it 3 times now. Can anybody help me please???

My url is: www.offshoremuscle.com
Reply With Quote
  #1201  
Old 09-30-2003, 04:36 PM
tsmith025 tsmith025 is offline
 
Join Date: Sep 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have attached a screenshot for you to view.
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 11:19 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.07984 seconds
  • Memory Usage 2,362KB
  • 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_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