vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Quick Reply Box (https://vborg.vbsupport.ru/showthread.php?t=34597)

James Cridland 06-03-2002 10:35 PM

Quote:

Originally posted by James Cridland
For an even quicker reply, position the cursor in the message box so your user can just start typing without selecting the box in the first place.
And the reason why we don't do this, kids, is because it then scrolls to the bottom of the page when you click on a thread to read, annoying the hell out of everyone.

Ignore me.

Bimma Boy 06-04-2002 12:08 AM

Has anyone installed this hack with 2.2.6? Does it work 100% with it?

Thanks hackers - you people do a wicked job! :)

James Cridland 06-04-2002 01:47 PM

Quote:

Second, one of my users says (not unreasonably) "why does it appear on every page of a thread... why not just the last one"...
This is a valid point: we argue a lot on our board, and it's easy to post a reply without reading where the argument is going...

To make your reply box always appear at the END of the conversation (which will be at the beginning if you sort your posts the other way round!)... search for the following in the hack:
PHP Code:

$textareacols gettextareawidth();
eval(
"\$replybox = \"".gettemplate('showthread_replybox')."\";"); 

Replace with:
PHP Code:

//We might have a reply box here

//Get total posts in this thread
$jrc_threadinfo=$DB_site->query_first("SELECT COUNT(*) AS posts FROM post WHERE threadid='$threadid'");

//Check post order
if (!$postorder) {
    
// newest last page
    
$jrc_wherearewe=$jrc_threadinfo[posts]-($perpage*$pagenumber);
} else {
    
// oldest last page
    
$jrc_wherearewe=($perpage*$pagenumber)-$jrc_threadinfo[posts];
}
    
// print a reply box on page containing last post
    
if ($jrc_wherearewe<=or (!isset($pagenumber) and ($jrc_threadinfo[posts]<$perpage))) {
    
    
$textareacols gettextareawidth();
    eval(
"\$replybox = \"".gettemplate('showthread_replybox')."\";");
    } 

Hope that's of use to you.

desi 06-04-2002 02:19 PM

hiya all ,
i installed this hack today this is what i get

No thread specified. If you followed a valid link, please notify the webmaster

any suggestions would be helpfull

also matinCX thankx for the info i have most of the hcaks working now


cheers :)

sidhighwind 06-04-2002 03:28 PM

Quote:

Originally posted by Bimma Boy
Has anyone installed this hack with 2.2.6? Does it work 100% with it?

Thanks hackers - you people do a wicked job! :)

Yes it works very good on 2.2.6!

:bunny:

desi 06-04-2002 10:16 PM

could someone pls help me i posted my error in the post above .....

i'm have to get my board up and running tonite so pls let me know what do i fix in order to get the quick reply box running

thankx again

jimmy mac 06-06-2002 03:00 AM

*edited out because i'm retarded*

desi 06-06-2002 02:37 PM

wow now reply .......

once again i'm using vbulletin 2.2.5 and evertime i reply through the quick rely box i get the message
==============================================
No thread specified. If you followed a valid link, please notify the webmaster
==============================================

i have reinstalled the entire board again but get the same error

if anyone can tell me how to fix this pls let me know

thankx

snakes1100 06-06-2002 03:00 PM

desi
sounds to me like u didn't do step 1 correctly...

desi 06-06-2002 04:01 PM

Snakes there are 2 files fo hack which one do i use ???

thankx


All times are GMT. The time now is 10:52 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03006 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete