vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Allow BB code in sticky thread titles (https://vborg.vbsupport.ru/showthread.php?t=69234)

Zzed 09-07-2004 10:00 PM

Allow BB code in sticky thread titles
 
Sticky threads have a tendency to be overlooked by the users. So I came up with the idea of allowing BB tags and smilies to be used in the sticky thread titles to make them more noticeable. I made this hack for VB2 about a year or 2 ago, but I neglected to publish it. Another reason why this hack is limited to sticky thread titles is because there are less sticky threads in a forum than there are regular threads, and if this were to be expanded to include regular threads it would be nothing but a can of worms. And also due to the fact that it can only be used in sticky threads, it allows only admins and moderators to use this feature.

This hack is such a simple hack that I am actually embarassed to call it a hack since it actually takes 2 lines of code to do it. :D

The instructions and a screen shot of the hack are attached to this post. :)

kall 09-09-2004 12:35 AM

Quote:

Originally Posted by Zzed
allows only admins and moderators to use this feature.

Unless you have uShop, or some other means for regs to make stickies. :)

Regardless, I'm checking this out.

Bryan Ex 09-09-2004 12:49 AM

I can use it regardless of how simple it is. Thanks.

Johnny 09-09-2004 01:02 AM

pretty cool, but is it possible to have BB codes be used other then stickes, but only limited to a certain group can use bb codes in titles.

SnowBot 09-09-2004 02:05 AM

yer i had this added to my forum months ago but lost it on upgrade and never bothered adding it again. It wasnt yours but something very much alike. Anyway i have clicked install as its worth adding and will remind me to install it again when a new version comes out. :)

kall 09-09-2004 02:11 AM

Quote:

Originally Posted by Johnny
pretty cool, but is it possible to have BB codes be used other then stickes, but only limited to a certain group can use bb codes in titles.

*edit* Damn. I seem to have messed that up.

Johnny 09-09-2004 02:45 AM

thx kall but is their any way to hide the bbcode from being seen in the title since it displays fine in forumdisplay you can see the actuall code in showthread.

second when someone puts a url in the title field it wont go to the actuall thread it will go to that url, just so everyone knows that if your going to use this mod consider who you give access to use this mod as you never know what can happen especially when they have the ability to use almost any of the bbcodes and it will work as regular html.

Bryan Ex 09-09-2004 02:46 AM

A bit of an issue with it on my board unfortunately. Works great for thread titles but the BB code is displayed in both the breadcrumb and thread titles within each post. Attached screen cap....

kall 09-09-2004 02:55 AM

Quote:

Originally Posted by Johnny
thx kall but is their any way to hide the bbcode from being seen in the title since it displays fine in forumdisplay you can see the actuall code in showthread.

second when someone puts a url in the title field it wont go to the actuall thread it will go to that url, just so everyone knows that if your going to use this mod consider who you give access to use this mod as you never know what can happen especially when they have the ability to use almost any of the bbcodes and it will work as regular html.

Oh dear, so you can.

HiDeo 09-09-2004 03:42 AM

Nice hack, Thanks


All times are GMT. The time now is 08:31 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.01094 seconds
  • Memory Usage 1,737KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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