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)
-   -   Strike-Through Closed Topic Titles (https://vborg.vbsupport.ru/showthread.php?t=42598)

Funkie 08-22-2002 04:10 PM

How about instead of strike through,have a lill locked icon or [Closed] Text on it??????

Would that be able to be done.

/me clicks install

Vile 08-22-2002 05:41 PM

Cool hack.
Installed just fine:)

Chris M 08-22-2002 07:12 PM

I like it:)

Great job:)

Satan

Obi-Wan 08-22-2002 07:39 PM

clicked install.

But I wonder if something like this is possible:

Make an option in the bottom admin options to select wether you like to kust close the thread (incase you only wanna make a thread wich people read, and instead of an announcement) and an option were you can select the strikethrough.

ja5es 08-22-2002 07:48 PM

Quote:

Originally posted by Funkie
How about instead of strike through,have a lill locked icon or [Closed] Text on it??????

Would that be able to be done.

* Funkie clicks install

Ok that's easy too. If you've already installed it, find this in forumdisplay.php:
PHP Code:

if (!$thread[open]) {
        
$thread[newoldhot]='lock'.$thread[newoldhot];
    
// Strike-Through Hack
    
$thread[title] = "<span class='locked'>$thread[title]</span>";
    
// End Strike-Through Hack
      


And change it to this:
PHP Code:

if (!$thread[open]) {
        
$thread[newoldhot]='lock'.$thread[newoldhot];
    
// Strike-Through Hack
    
$thread[title] = "[CLOSED]thread[title]";
    
// End Strike-Through Hack
      


As for the option to turn it on or off, I might look into that.

Funkie 08-22-2002 08:02 PM

Nice 1 fella:)
thanx.

That gives the words in the topic as [CLOSED]thread[title]
Is that right???

Thanx again for the quick reply

Mr L 08-22-2002 08:40 PM

Nice hack, I've clicked installed!

Slightly off topic, I asked in the request section, would it be possible to create some user code to do this for text. For example...

<STRIKE>Harvey</STRIKE>

...would produce my name with a line through it. If anyone can help here as well, I'd appricate it.

Thanks.

Remi 08-22-2002 08:41 PM

Thank you very much for the hack.

Most of the tims admins hve to stick a thread and close it, you can see it even in this forum.

It does not look nice if a sticky thread posted by the admin was Striked-Through :D

any solutin for that

Thanks again :D

ja5es 08-23-2002 01:14 AM

Quote:

Originally posted by HLodder
Nice hack, I've clicked installed!

Slightly off topic, I asked in the request section, would it be possible to create some user code to do this for text. For example...

<STRIKE>Harvey</STRIKE>

...would produce my name with a line through it. If anyone can help here as well, I'd appricate it.

Thanks.

That doesn't really require a hack, if you just go to your Admin CP and then look under Custom vB Codes you choose "Add".

Then just make the vB code tag [strike], the vb code replacement
Code:

<span style="TEXT-DECORATION: LINE-THROUGH;">{param}</span>
and then save it, it'll work whenever someone type [strike]something[/strike].

Erwin 08-23-2002 03:02 AM

Nice idea. :)


All times are GMT. The time now is 12:45 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.01130 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)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
  • (3)pagenav_pagelink
  • (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