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)

Xenon 08-04-2002 01:53 PM

@boofo: This post is meant ;)

@brauner:
Code:

else $closereason=" closereason='Wurde wegen Spam von ".$bbuserinfo[username]." geschlossen!', ";
replace with:
PHP Code:

else {
        if(
$thread[forumid]==xx$closereason=" closereason='Wurde wegen Spam von ".$bbuserinfo[username]." geschlossen!', ";
       elseif(
$thread[forumid]==y$closereason=" closereason='Wurde wegen Beleidigungen von ".$bbuserinfo[username]." geschlossen!', ";
       else 
$closereason=" closereason='', ";



brauner 08-04-2002 04:54 PM

Der vordefinierte Text funzt nun einwandfrei mit Name und Zeit etc.
Allerdings geht das nicht mit der Zeit Datum und Username wenn ich den Standarttext nicht benutzen m?chte.

In Englisch:
PHP Code:

The pre-defined text funzt now perfectly with name and time etc..  However with the time the date and username does not go not using if I the text of kind of condition would like


ZiRu$ 08-20-2002 03:55 PM

dope i shall install this

Boofo 08-22-2002 03:28 AM

Can anyone please tell me why I am getting this all of a sudden on a closed thread?

Quote:

Reason for Thread being Closed by (Boofo on Aug 21, 2002 pm31 11:21 pm):

eXtremeTim 08-22-2002 03:39 AM

Wow nice hack you guys. :)

I will proble install tommorrow.

Once again VERY NICE HACK.

Keep up the good work.

Donkeyballz 08-22-2002 07:51 AM

Nice hack, very usefull :)

Xenon 08-22-2002 08:04 PM

Boofo: seems you have corupted the timeformat part of the date/time addition of the hack ;)

Boofo 08-22-2002 08:08 PM

But I didn't chnage anyting in it. Any idea how to fix it? :)

Quote:

Originally posted by Xenon
Boofo: seems you have corupted the timeformat part of the date/time addition of the hack ;)

Xenon 08-22-2002 08:19 PM

if you haven't changed something then i don't have an idea ;)

Boofo 08-23-2002 10:13 AM

Well, Xenon, it kept bugging me so I kept at it until I found out (with some help) what the time problem was I was having. It turns out that it was my fault after all. You were right. The code you gave me for the time had this in it:

Code:

".vbdate($dateformat." ".$timeformat,time())."', ";
and I added an "at" to it, where, apparently, I shouldn't have. Like this:

Code:

".vbdate($dateformat." at ".$timeformat,time())."', ";
and the code I needed to change it to was this:

Code:

".vbdate($dateformat,time())." at ".vbdate($timeformat,time())."', ";
I guess I learned a little something from this after all. :)


All times are GMT. The time now is 10:53 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.01956 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)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