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)

Gary King 12-04-2003 01:43 AM

Quote:

Originally Posted by xHollywoodx
does this not work with 2.3.3, cause i cant get it to work, it wont show up????

It doesn't work with 2.3.3

Bulleh 12-06-2003 10:21 AM

gr8 hack, got it installed and working, but just a question
when thy reply VIA Quick reply, there signature does show up, have i installed it wrong, or?

SVTBlackLight01 12-06-2003 11:36 AM

You can add the option to the quick reply template, but with the original hack, the user will have to have signature included by default selected in their control panel.

Bulleh 12-07-2003 06:04 AM

how..can i add the option...?

SVTBlackLight01 12-07-2003 07:09 AM

Add this

Code:

<input type="checkbox" name="signature" value="yes"
checked="$signaturechecked"><b>Attach Signature</b>

to the showthread_replybox template where you want the check box to appear. This will have it checked by default.

Or if you want it to attach the signature automatically for all users and not have it optional with the check box, just add

Code:

<input type="hidden" name="signature" value="yes">
to the list of hidden inputs at the beginning of the form.

Bulleh 12-07-2003 02:47 PM

i did the second one, but signature still doesnt show up on the threads using quick reply? sorry im a bit stupid :(

Gary King 12-07-2003 04:00 PM

Quote:

Originally Posted by Bulleh
i did the second one, but signature still doesnt show up on the threads using quick reply? sorry im a bit stupid :(

That's strange, it should work. Where did you put the code?

DaTeX 12-07-2003 07:22 PM

Quote:

Originally Posted by midnightz
Everybody is right, this hack doesn't work in 2.3.3 even with the changes in the update.

Search in showthread.php for
PHP Code:

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

if (
$bbuserinfo[cookieuser]) {
  
set_bbarraycookie('threadview'$threadidtime());


replace it with
PHP Code:

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 (
$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'";
}

if (
$bbuserinfo[cookieuser]) {
  
set_bbarraycookie('threadview'$threadidtime());


Than add the template und make the showthread template edit and it works.. ;)

SEShady 12-08-2003 08:39 AM

GG DaTex.

works in 2.3.3 now!

Thanks,
SE|Shady

Silverstangs 12-10-2003 05:52 AM

Quote:

Originally Posted by movielist
edit: got it to work with 2.3.2


Thank you!!!!!!!!!!!!!!!!!!!!
I been beating myself up for 9 days trying to get it to work!!!!!

2.3.3 works with your change!


All times are GMT. The time now is 11:41 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.02907 seconds
  • Memory Usage 1,757KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (4)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