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)
-   -   Reason for closing thread (https://vborg.vbsupport.ru/showthread.php?t=40190)

musicfreak12399 06-23-2002 10:00 PM

really like.. been waiting for this..

great hack, thanks

Paul 06-23-2002 10:00 PM

GameCrash:

Thanks so much for your changes. They work wonderfully. I agree with Tha Rock--Showing the username would be wonderful as well.

Sinecure 06-23-2002 10:03 PM

Ok I updated the instructions to incorporate that new code. Hopefully Xenon will make a modification to the code in ordere to have the Name of the person who closed it :)

Xelation 06-23-2002 11:40 PM

just installed it, no problems... Great Hack! :)

Boofo 06-24-2002 09:58 AM

Sinecure,

Everything else installed fine except the following. In showthread.php, how would I put the code:

Code:

if ($thread[open]) {
  $replyclose="{ replyimage}";
  $thread[closereason]="";
} else {
  $replyclose="{ closedthreadimage}";
  $thread[closereason]=bbcodeparse2($thread[closereason],0,1,1,1);
  eval("\$closereason = \"".gettemplate("showthread_closereason")."\";");
}

in what I already have here (and can it be done)?

Code:

if ($thread[open]) {
  eval("\$replyopenclosed = \"".gettemplate("showthread_replyopen")."\";");
} else {
  if (ismoderator($thread[forumid],'canopenclose')) {
    eval("\$replyopenclosed = \"".gettemplate("showthread_replyclosedmod")."\";");
  } else {
        eval("\$replyopenclosed = \"".gettemplate("showthread_replyclosed")."\";");
  }
}


JohnWoo 06-24-2002 10:23 AM

Sinecure & Xenon greate thanks. I`ll reguest this add-on here:https://vborg.vbsupport.ru/showthrea...threadid=39298 and it`s done.... Uraaa..... :)

Boofo 06-24-2002 10:49 AM

I just downloaded the new file and it has the links to vb.org's images directories in it. :)

Sinecure 06-24-2002 11:31 AM

Quote:

Originally posted by Boofo
I just downloaded the new file and it has the links to vb.org's images directories in it. :)
I just looked at it you are right. For some reason it was parsing those values in the .txt file. Thats a bug Chen, you might want to look into that one :bandit: .

I have the instructions located here:
http://www.pixeljunction.com/misc/cl...n_install.phps

Boofo 06-24-2002 11:38 AM

It's still messed up in the last part of it. :) Did you get a chance to look at the code I posted?

Sinecure 06-24-2002 11:43 AM

Well judging by looking at that it seems you either have a hack installed, or maybe an older version of vBulletin, I'm leaning more towards a hack installed.

Maybe Xenon would know how to intergrate that code you have there, with the code neccesary to run this hack.


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