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)

chitown 02-25-2003 11:11 AM

no answer on an attachment fix eh?

Boofo 02-25-2003 11:23 AM

Quote:

Originally posted by Vlad


$textareacols = gettextareawidth();

That code is in the quick reply box code. You won't find it until you install it.

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;
}

// ##################################################
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')."\";");
}

if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") {
$pagenumber=1;
}[/QUOTE]

PennylessZ28 02-25-2003 11:27 AM

I installed this a long time ago, but forgot to say COOL BEANS! And click install, excellent work, I have done much modification to mine since then :)

CityInet 02-25-2003 05:20 PM

the box does not give the option to subscribe to the forum. how can i set my users to subscribe to the forum they are replying to , by default?

Cluster One 02-26-2003 02:23 AM

I've got this installed, but when I use it i keep getting this error..

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

Any Ideas?

maligno 02-26-2003 09:33 AM

vbcode botton it does not work with $vbcode_buttons

idea?

Xyphen 02-27-2003 06:59 PM

Works perfectly fine with vB2.3.0 RC3.

Nivlam 02-27-2003 08:27 PM

uh i did something wrong .. mine says "No input file specified." when i click on quick reply

ed2k_2 03-01-2003 06:36 PM

Maybe I'm wrong somewhere, that's why I got this message:

https://vborg.vbsupport.ru/

Kindly help... this is the first time I'd like to install this Quick Reply hack.

97cobracpe 03-02-2003 03:35 PM

I just installed this hack. Works great, my members will enojy this new feature. Easy to install as well. :)


All times are GMT. The time now is 12: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.02090 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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