Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Allow BB code in sticky thread titles Details »»
Allow BB code in sticky thread titles
Version: 1.00, by Zzed Zzed is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Version: 3.0.1 Rating:
Released: 09-07-2004 Last Update: Never Installs: 41
 
No support by the author.

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.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-09-2004, 12:35 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 09-09-2004, 12:49 AM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can use it regardless of how simple it is. Thanks.
Reply With Quote
  #4  
Old 09-09-2004, 01:02 AM
Johnny's Avatar
Johnny Johnny is offline
 
Join Date: Jun 2002
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 09-09-2004, 02:05 AM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 09-09-2004, 02:11 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 09-09-2004, 02:45 AM
Johnny's Avatar
Johnny Johnny is offline
 
Join Date: Jun 2002
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 09-09-2004, 02:46 AM
Bryan Ex's Avatar
Bryan Ex Bryan Ex is offline
 
Join Date: Feb 2004
Location: Canada
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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....
Reply With Quote
  #9  
Old 09-09-2004, 02:55 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 09-09-2004, 03:42 AM
HiDeo's Avatar
HiDeo HiDeo is offline
 
Join Date: Oct 2003
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, Thanks
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:22 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04907 seconds
  • Memory Usage 2,284KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete