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
  #42  
Old 04-11-2005, 04:18 AM
stumparoooo stumparoooo is offline
 
Join Date: Dec 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried editing forumlist.php so that the BB codes show up on the forum index, but it didn't work.
Reply With Quote
  #43  
Old 04-13-2005, 02:18 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by red_baron2000
having the same problem here ..anyone can help fixing this? thank you
Yo Zzed

can you fix this? I pay 2$ on you paypal lol
Reply With Quote
  #44  
Old 04-13-2005, 02:54 PM
CosmicBlend CosmicBlend is offline
 
Join Date: Feb 2004
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack, just a few things not covered, but overall its a absolute great idea. If anyone has anymore fixes for the showthread title problem, or the index problem please post them up!
Reply With Quote
  #45  
Old 04-29-2005, 11:26 PM
stumparoooo stumparoooo is offline
 
Join Date: Dec 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CosmicBlend
great hack, just a few things not covered, but overall its a absolute great idea. If anyone has anymore fixes for the showthread title problem, or the index problem please post them up!
Does anyone know how to get the colored threads to appear on the forum index and in "Similar Threads". I love the hack and having stickies colored, but I don't like the brackets on the forum index.
Reply With Quote
  #46  
Old 05-02-2005, 02:55 PM
Watson's Avatar
Watson Watson is offline
 
Join Date: May 2004
Location: Scotland
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by StangLuverJ
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']);
that didnt work mate
Reply With Quote
  #47  
Old 06-25-2005, 03:08 PM
v3by v3by is offline
 
Join Date: Jun 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need that the bbcode sees each other in Last Post Info of ChildForum (forumdisplay) and in the Titles of posts (ShowThread).

Thanks ^^
Reply With Quote
  #48  
Old 10-20-2005, 08:03 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Zzed, do you have any plans to release this one for vb 3.5 ??
Reply With Quote
  #49  
Old 10-20-2005, 09:06 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if possible a plugin?
Reply With Quote
  #50  
Old 10-20-2005, 10:04 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here you go Triple_T

@Zzed - Feel free to use this for a 3.5 release - I began to work on getting the navbits to display the parsed text as well, but there is still the thread-title aspect of the postbit to consider and of course the lastposter info from forumdisplay and in a user's profile

Edit: I noticed my attempt to get the navbits to parse has destroyed the structure of the navigation tree - That will need some additional work

I've also posted some screenshots - You can parse smilies and basic BBCode functions within your sticky titles:

Beware: If you allow user's to post stickies you may risk causing layout damage to your board if they are over-enthusiastic with their BBCodes...

Chris
Reply With Quote
  #51  
Old 10-21-2005, 01:30 AM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow thanks Chris, and fast too

I'm going to wait for the bug in the navbar tree to get fixed though and would be nice to have the bb code parsed in showthread as well
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 11:05 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.05202 seconds
  • Memory Usage 2,310KB
  • Queries Executed 27 (?)
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
  • (2)bbcode_code
  • (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
  • (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_postinfo_query
  • fetch_postinfo
  • 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