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
  #32  
Old 02-09-2005, 02:46 PM
cyt0plas cyt0plas is offline
 
Join Date: Jan 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*thanks*
Reply With Quote
  #33  
Old 02-09-2005, 03:47 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kompakt
I fixed it in a few places where I felt it was needed mostly.
...This worked fine for the others though. Not bad for 1st timer
Thanks much!
Reply With Quote
  #34  
Old 02-09-2005, 04:45 PM
jamesyfx jamesyfx is offline
 
Join Date: Jan 2005
Location: Manchester, UK
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added those fixes.. and it got rid of the bbcode on showthread. :/

Did I add it wrong or something? Hehe.
Reply With Quote
  #35  
Old 02-10-2005, 11:04 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack does not like quotes in thread titles.... it displays them as
Code:
"
SO- a title that said:
Quote:
Say "HI" to the new guests!
now reads:
Quote:
Say "HI" to the new guests!
Reply With Quote
  #36  
Old 03-02-2005, 01:24 AM
FFZoneXtreme FFZoneXtreme is offline
 
Join Date: Jan 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can I add this to the index and showthread too?? O.o
Reply With Quote
  #37  
Old 03-11-2005, 05:13 PM
StangLuverJ StangLuverJ is offline
 
Join Date: Nov 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FFZoneXtreme
how can I add this to the index and showthread too?? O.o

for the index...

Edit: functions_forumlist.php

Find:
Code:
$lastpostinfo['trimthread'] = fetch_trimmed_title($lastpostinfo['lastthread']);
Under it Add:
Code:
require_once('./includes/functions_bbcodeparse.php');
$lastpostinfo['trimthread'] = parse_bbcode($lastpostinfo['trimthread']);
Reply With Quote
  #38  
Old 03-23-2005, 02:17 AM
bigmonay2k bigmonay2k is offline
 
Join Date: May 2004
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mine did not show up??
Reply With Quote
  #39  
Old 04-02-2005, 08:52 PM
stumparoooo stumparoooo is offline
 
Join Date: Dec 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

'Just installed it..makes those stickied threads stand out even more!

Thanks!
Reply With Quote
  #40  
Old 04-02-2005, 09:41 PM
stumparoooo stumparoooo is offline
 
Join Date: Dec 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just tried editing the functions_forumlist.php and it still doesn't show up for the index.
Reply With Quote
  #41  
Old 04-08-2005, 09:17 AM
red_baron2000's Avatar
red_baron2000 red_baron2000 is offline
 
Join Date: Jul 2002
Location: EU
Posts: 88
Благодарил(а): 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....
having the same problem here ..anyone can help fixing this? thank you
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 03:00 AM.


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.04922 seconds
  • Memory Usage 2,301KB
  • 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
  • (3)bbcode_code
  • (5)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
  • (4)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