![]() |
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. :) |
Quote:
Regardless, I'm checking this out. |
I can use it regardless of how simple it is. Thanks.
|
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.
|
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. :)
|
Quote:
|
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. |
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:
|
Nice hack, Thanks
|
Quote:
Can we sort this? |
Quote:
Quote:
Quote:
Quote:
|
Thanks for sharing.
|
Quote:
|
Quote:
|
only a month?, they would have to pay me to get unban
|
Quote:
|
[high]* maddawg138 installs :)
[/high] but find out how to get the forum title in the thread to change? |
Thanks loads for this hack! :D
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. :D |
would love these images/smileys/code to display on a search and not just forum view! :D
|
does this restrict the url tags??? cause if you use it, just like the old 2.x hack, it will go to the url instead of the thread. This can be misused.
|
^ ^
it's a mods only feature, no problem. :) |
Zzed, great idea! :D
But it doesn't show the bbcode parsed titles in many places, like the search, who's online, title in the threaddisplay page, the title on forumhome , print page etc etc. It only shows on forumdisplay ( which figures since the only code change was there ). Any plans to cover the rest as well ? Would be a more complete hack that way :D Hope to see updates soon ! :D |
Quote:
It isn't very professional to have these code brackets in a thread... |
This been done for 3.0.3 yet, cause I keep getting the code showing up in the topic title within the actual post, and it dont actually work in the topic title
|
It's certainly a great idea, but on my forumhome page...the title is coded for all to see:)...anybody figure this yet? It'd be a shame to have to dump it.
|
so has a fix been made yet to show this on threads and in posts aswell as in the forum?
|
I'm waiting on a fix for showing on the rest of the forum too. I have it installed now and its only showing in the forum display like eveyrone else.
Thanks... |
Has the fix been published yet?
|
I fixed it in a few places where I felt it was needed mostly.
note: this would allow nonsticky's to show in the search results and the navbit but not in the forum dislpay |
*thanks*
|
Quote:
|
I added those fixes.. and it got rid of the bbcode on showthread. :/
Did I add it wrong or something? Hehe. |
This hack does not like quotes in thread titles.... it displays them as
Code:
" Quote:
Quote:
|
how can I add this to the index and showthread too?? O.o
|
Quote:
for the index... Edit: functions_forumlist.php Find: Code:
$lastpostinfo['trimthread'] = fetch_trimmed_title($lastpostinfo['lastthread']); Code:
require_once('./includes/functions_bbcodeparse.php'); |
mine did not show up??
|
'Just installed it..makes those stickied threads stand out even more! ;)
Thanks! |
I just tried editing the functions_forumlist.php and it still doesn't show up for the index. :(
|
Quote:
|
All times are GMT. The time now is 04:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|