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)

Elemental 10-05-2004 03:14 PM

Quote:

Originally Posted by Randomlove
The steps are exactly the same as 2.2.x.

No, this doesn't appear to work with 2.3.5 at all. The second line of the first chunk of code to replace, doesn't seem to exist at all in showthread.php. As nobody appears to have answered the queries on the previous page, can somebody please point me in the right direction?

WitchyT 10-07-2004 07:18 PM

Quote:

Originally Posted by Elemental
No, this doesn't appear to work with 2.3.5 at all. The second line of the first chunk of code to replace, doesn't seem to exist at all in showthread.php. As nobody appears to have answered the queries on the previous page, can somebody please point me in the right direction?

Try this (taken from here):


1. Find in showthread.php:

Code:

if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
  show_nopermission();
}

2. Insert this after in the following line:

Code:

if (ismoderator($thread['forumid'],'canopenclose')) {
  if ($thread['open']) {
    $closeopenstatus='Close';
  } else {
    $closeopenstatus='Open';
  }
  eval("\$closeopenthread = \"".gettemplate("newthread_closeopen")."\";");
} else {
  $closeopenthread='';
}

// FireFly's hack
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 {
  if ($bbuserinfo['emailnotification']) {
    $emailchecked = 'yes';
  } else {
    $emailchecked = '';
  }
  $textareacols=gettextareawidth();
  eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");
} // End


ezsouljahs 10-28-2004 04:53 AM

is there one available for 3.0.3 :ninja:

Zachery 10-28-2004 07:18 PM

Try the one that is part of the default package ;)

ezsouljahs 10-28-2004 07:36 PM

oops sorry :)....

pitt2424 01-01-2005 02:30 PM

i have vbulletin version 2.2.8, will this hack work for that?

Gio~Logist 01-01-2005 02:33 PM

should

pitt2424 01-01-2005 02:37 PM

Quote:

Originally Posted by gio~logist
should

okay thanx!

KiraAso 01-22-2005 11:38 PM

Is there a way to include a Sticky Thread and Close Thread option to the Quick Reply box for admins and mods?

pixelghetto 07-08-2005 01:31 PM

I'm using 2.3.6 and after going through 99 odd pages, I can't get this to work. Even though the hack is for 2.3.x the line of code you have to find and replace, doesn't actually seem to exsist. I found the code you are supposed to find and replace, followed all the steps....and it doesn't show up.

Does anyone have a solution that works in 2.3.6?


All times are GMT. The time now is 11:57 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.02593 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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