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)

MeTaL_oRgY 01-22-2004 12:50 AM

lol... I don´t know what I do wrong the first time... I didn´t found two instances... I don´t know.. the only thing I know is that now I can use Quick Reply... THNX!!!

Fargo 01-22-2004 11:37 AM

3rd hack, 1st headache & 1st post! After reading 90 pages (twice!!) I finally got it working.

How I did it? By using someone elses posted showthread.php :(

Personal opinion:
Every forum should have a quick reply box - they rock, theyre a time saver if you post a lot & they save some bandwidth, however I think the instructions need to be looked over again - or at least supply a version that deals with the code of the newer versions.

Either way, great hack and I thank you and the others here who submitted their additional features for this hack. Well done.

johnkruk 01-22-2004 12:59 PM

I just installed this hack and only added it once in showthread.php. Its my own fault. It reads right in the text file

Quote:

1. In showthread.php find this bit of code both times!:
Working like a charm now!

Kerr 01-22-2004 03:40 PM

Can someone help me. My users are griping that my quick reply box is above all the posts. It is above them not like this box which is below, and they want it changed. I am not stupid but not good yet...so can someone please tell me how to get the damn thing below my posts and not the first box you see on the thread?

BTW the instructions are right...there are two instances of that code in showthread.php and it says both times....just like johnkruk said.

I just need to know how to change its location. Oh my version is 2.3.4. Waiting for a very stable 3 to come out.

I FIXED IT. sorry

Marcellus 01-22-2004 07:00 PM

Quote:

Originally Posted by Elyk X
tell me where it says to change it twice in the install file and ill kiss your butt. All it says is to find that code. It never mentions it beign there again.

Start kissing. If you read the previous posts and are in fact using the 2.3.2 version like you are supposed to, the then instuctions specificaly state to replace BOTH instances. Direct copy/past from the file:

Quote:

// ##################################################
// ################ Quick Reply Box #################
// ########### Hack version 1.0 (01.29.02) ##########
// ############## for vBulletin v2.3.2 ##############
// ##################################################
// ########### by Chen 'FireFly' Avinadav ###########
// ########## (chen.avinadav@vbulletin.com) #########
// ########## Updated by Chris #########
// ########## www.runaked.com #########
// ##################################################

1. In showthread.php find this bit of code both times!:
// ##################################################
if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
show_nopermission();
}
// ##################################################
And replace it with the following:
// ##################################################
if (!$getperms['canviewothers'] and $thread['postuserid']!=$bbuserinfo['userid']) {
show_nopermission();
}

if (($bbuserinfo['userid']!=$thread['postuserid']) and (!$getperms['canviewothers'] or !$getperms['canreplyothers'])) {
$replybox='';
} elseif (!$getperms['canview'] or (!$getperms['canreplyown'] and $bbuserinfo['userid']==$thread['postuserid'])) {
$replybox='';
} elseif (!$thread['open'] and !ismoderator($thread['forumid'],'canopenclose')) {
$replybox='';
} else {
$textareacols = gettextareawidth();
eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");
}

borg69 01-23-2004 10:29 PM

Quote:

Originally Posted by Kerr
Can someone help me. My users are griping that my quick reply box is above all the posts. It is above them not like this box which is below, and they want it changed. I am not stupid but not good yet...so can someone please tell me how to get the damn thing below my posts and not the first box you see on the thread?

BTW the instructions are right...there are two instances of that code in showthread.php and it says both times....just like johnkruk said.

I just need to know how to change its location. Oh my version is 2.3.4. Waiting for a very stable 3 to come out.

I FIXED IT. sorry

Can you tell me how you fixed it mate?

Mine is still stuck at the top!! :ermm:

Cheers

Prince 01-23-2004 10:46 PM

Quote:

Originally Posted by borg69
Can you tell me how you fixed it mate?

Mine is still stuck at the top!! :ermm:

Cheers


go into your showthread template and find where you put $replybox

and move it down below this code:

</tr>
</table>
<!-- first unread and next/prev -->


that is what controls where the reply box shows in the thread.

armani1072 01-24-2004 06:34 AM

any reason why i cannot get it to work for vb 2.3.4???? please help.

MeTaL_oRgY 01-24-2004 11:17 AM

lol, I don´t know dude.... you should search for that line two times..... or so... dunno...

Prince 01-24-2004 03:43 PM

Quote:

Originally Posted by armani1072
any reason why i cannot get it to work for vb 2.3.4???? please help.

ummm...because you can't follow directions?


All times are GMT. The time now is 09:46 PM.

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.03140 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)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