Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

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

Quote:
Originally Posted by Bryan Ex
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....
Yes same here, on my old version i had this fixed but i nolonger have the code.

Can we sort this?
Reply With Quote
  #13  
Old 09-09-2004, 04:38 AM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 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.
That would require additional logic to determine whether to call parse_bbcode() or not per usergroup.

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.
At the risk of sounding naive, moderators are usually the more responsible group of users on a board. So this shouldn't really be a problem.

Quote:
Originally Posted by Bryan Ex
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....
Quote:
Originally Posted by SnowBot
Yes same here, on my old version i had this fixed but i nolonger have the code.

Can we sort this?
I can look into trying to fix this. I'll see what I can come up with over the weekend.
Reply With Quote
  #14  
Old 09-09-2004, 08:09 AM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for sharing.
Reply With Quote
  #15  
Old 09-09-2004, 11:32 AM
Johnny's Avatar
Johnny Johnny is offline
 
Join Date: Jun 2002
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zzed
That would require additional logic to determine whether to call parse_bbcode() or not per usergroup.



At the risk of sounding naive, moderators are usually the more responsible group of users on a board. So this shouldn't really be a problem.





I can look into trying to fix this. I'll see what I can come up with over the weekend.
you never know anyone can turn their back on you and try to be funny.
Reply With Quote
  #16  
Old 09-09-2004, 01:58 PM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Johnny
you never know anyone can turn their back on you and try to be funny.
I've had that happen, but on a different matter. That person was demoted and banned for a month.
Reply With Quote
  #17  
Old 09-09-2004, 05:06 PM
Johnny's Avatar
Johnny Johnny is offline
 
Join Date: Jun 2002
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

only a month?, they would have to pay me to get unban
Reply With Quote
  #18  
Old 09-09-2004, 05:11 PM
Zzed's Avatar
Zzed Zzed is offline
 
Join Date: Feb 2002
Location: Glendale, CA, USA
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Johnny
only a month?, they would have to pay me to get unban
Believe me, I wanted this guy gone. But this particular site that I admin for, has 3 other admins and I got outvoted by them.
Reply With Quote
  #19  
Old 09-30-2004, 02:18 AM
maddawg138's Avatar
maddawg138 maddawg138 is offline
 
Join Date: Sep 2004
Location: Fort Bragg, NC
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* maddawg138 installs
[/high]


but find out how to get the forum title in the thread to change?
Reply With Quote
  #20  
Old 09-30-2004, 09:54 AM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks loads for this hack!

Is there a simple extra hack to parse the bb code with seach.php when searching for new posts?

Cause people use newposts a lot at my forum. That would be great.
Reply With Quote
  #21  
Old 10-02-2004, 11:56 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

would love these images/smileys/code to display on a search and not just forum view!
Reply With Quote
Reply


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:47 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.04610 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
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
  • (8)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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