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)
-   -   Better recognize locked Threads (https://vborg.vbsupport.ru/showthread.php?t=51062)

Kars10 03-31-2003 10:00 PM

Better recognize locked Threads
 
What does this hack do:
With this hack you can separate closed topics better from normal topics,
because all closed topics are crossed out. :)

Screenshot in the next Post!


Files to edit: 1 (Forumdisplay.php)
Files to add: 0
Templates to add: 0
Templates to edit: 0


Installtime: 1 minute ;o)


[high]Note: Please backup your Files, and if you find this hack useful, please click, lick or kick install![/high] :o)

Kars10 04-01-2003 12:09 PM

Screenshot! :D

Xenon 04-01-2003 12:15 PM

hmm wasn't that already released karsten?

not sure...

nice anyways ;)

Erwin 04-01-2003 12:25 PM

Yeah, I think it's been released before... I remember the crossing out of the titles. :)

Kars10 04-01-2003 12:33 PM

Shure?... i don?t have found this so i make it by myself... ;)

Boofo 04-01-2003 12:46 PM

Yours is a little easier to do though. ;)

https://vborg.vbsupport.ru/showthrea...577#post288577

FlyingDutchman 04-01-2003 02:51 PM

PHP Code:

      $thread[newoldhot]='folder';
      if (!
$thread[open]) {
        
$thread[newoldhot]='lock'.$thread[newoldhot];
        
$thread[title]="<s>".$thread['title']."</s>";
      } else {
        
$thread[title]=$thread[title];
      } 

doesn't this work the same?
only 1 if statement this way, heheh ;)


nevertheless, good hack!
[high]* FlyingDutchman clicks install! ;)[/high]

Kars10 04-01-2003 03:11 PM

@ FlyingDutchman, should work also. ;)
Glad that you like it!

Kars

ZiRu$ 04-04-2003 11:50 PM

I like it.....will install

subu1 04-05-2003 08:17 PM

hi kann ich mal auf deutsch was schreiben, mein schlechtes english wegen. Wie kann ich es verhindern, das die Sticky's/ Stuck Threads nicht markiert werden, da dort äußerst wichtige dabei sind, The Rules etc. . Die sehen so aus als würden sie aufgehoben dadurch.

the same with my bad english. What ist with the importend Stuck Threads, its not so good.
greetz subu1

odl2000 05-16-2003 09:29 PM

Hello, i have do a little modification.

PHP Code:

// Better recognize locked Threads by kars10
      
if (!$thread[open]){ 

I prefere that :
PHP Code:

// Better recognize locked Threads by kars10
      
if (!$thread[open] && !$thread[sticky]) { 


Boofo 05-16-2003 09:42 PM

Is there a way to make it so you can't close a sticky thread?

Remi 05-16-2003 10:29 PM

Some times admins creat a sticky thread and close the, it does not look nice crossing out a sticky thread.

Any solution for that?

Thanks

Boofo 05-16-2003 10:37 PM

Quote:

Today at 06:29 PM Remi said this in Post #13
Some times admins creat a sticky thread and close the, it does not look nice crossing out a sticky thread.

Any solution for that?

Thanks

https://vborg.vbsupport.ru/showthrea...884#post395884

Bad Bunny 04-06-2004 02:55 AM

Looks good man. And thanks, odl2000, for the little addon.

flup 04-21-2004 02:41 PM

Isn't dumping all the closed threads to the last page/bottom of page a better idea to seperate them from the open threads?

Plus it looks better than crossed text


All times are GMT. The time now is 05:50 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.01721 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete