![]() |
Thread title enhancement
Thread title enhancement
To use this i recommend uninstalling Thread cosmetics if you have it installed already. Im not really sure what this might do to have them both. Also disable vbplaza if you have not already. It should work ok with vbplaza, but its not a good idea to have it enabled. To use this you will see under the thread drop down menu Thread Cosmetics, just like the hack below had. You must click Beautify and then update to update the values. Install takes about 5 minutes Description: Thread title enhancement will let you Italicize, Bold, Underline, Color or set a Font to a thread title. Inspiration / Thanks: Well i liked how you could do this in vbplaza. Then there was another hack to do this without having to use points. https://vborg.vbsupport.ru/showthread.php?t=131913 , i actually modified that hack and took the portion from vbplaza to make this. Its a little bit better as it will work in any browser that i know of. I thank paul41598 and vbplaza. Only reason i made this was so i could have the colored stuff again without having vbplaza installed due to the exploits. Im not sure if it will ever come back. Support: I wont be supporting this hack that much, its basically going to be as is. I may add more features later on. Version 1.0.2 is probably my last update, if anyone wants to expand on this hack they may. Changelog: 2.0.0
|
Changelog:
2.0.0
OPEN SHOWTHREAD Find: ------- Code:
<if condition="$show['editpoll']"><div><label for="ao_edp"><input type="radio" name="do" id="ao_edp" value="editpoll" />$vbphrase[edit_poll]</label></div></if> Add Beneath: ------------- Code:
$beautifyoptions * If you set the options to not try to automatically do the template modifications you will need to do them manually. To do this please read the install file included in the zip. This should only be used if you have done a lot of hacking to the templates to where its just not working right for you. Otherwise it should work on just about any forum no matter how many modifications you made to the template. Changelog: 1.0.2
OPEN SHOWTHREAD Find: ------ Code:
<script language="javascript"> ------------- Code:
<!-- Thread Title Enhancment --> Find: ------- Code:
<body onload="$onload hideAll();"> -------------- Code:
<body onload="$onload; <if condition="$vbulletin->bf_ugp['ttepermissions']['can_beautify']">hideAll();</if>"> Find: ------- Code:
<!-- Thread Title Enhancment --> -------------- Code:
<!-- Thread Title Enhancment --> 1.0.1
|
Thanks, Very Nice :)
|
|
I first I thought this was like some of the others, but this is far better. Excellent idea.
|
I can't get it working either. Do I need to rebuild forum cache (or similar) after installation? I see the Beautify enhancements in the Thread Tool. All the messages are fine too. But I don't see the effects added.
|
Quote:
In Threadbit Find: Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a> Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$thread['titlestyle']">style="$thread[titlestyle]"</if><if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a> |
Quote:
Just do the last template mod i forgot to add and it should work. |
Creative idea!
Ill bookmark could look nice in some ways |
Quote:
For the ease of use for my crew though, I might modify it so that the colours can be chosen instead of typed in... but I understand that your method gives the most flexibility. |
Quote:
I worked on the color table thing a little bit. I decided to do something sort of like the VB editor. I didnt know how to just create the button so im doing this from scratch. Its just a table with rows. You can add your own colors and it goes up to 5 columns then starts a new one as shown in the screenshots. hopefully ill get it so it does pop down like the color font on the vb editor. |
its a great idea. one thing i wanted to ask, if its possible at all, once you are done with color table can you please add an option to change the size of the font, next to the name of the font? i think it would be more useful to users to be able to change the size of the font. thnx
|
Quote:
|
Quote:
Quote:
|
I get a database error whenever I try going into any forum after upgrading it. Here's the error log:
Quote:
|
You reuploaded the product file? You may have to uninstall it and try to reinstall it again. It sucks that theres no way to check if a column already exists or not.
|
Quote:
Quote:
|
Quote:
ALTER TABLE vb_thread.thread ADD COLUMN tte_titlefontsize INT UNSIGNED NOT NULL DEFAULT ''") |
Quote:
|
Quote:
|
Error on install:
Quote:
I tried changing '' to '11' and the site loads normally. I can change the colors and size. However when try to remove all of enhancements, the size won't revert back to 11. I was already happy with 1.0 version and I think I'm going back to 1.0 at least for now :) Do you mind providing 1.0 again? |
Quote:
|
hi, thanks for taking and including my suggestion, i do appreciate it. i've just checked on a new version and unfortunately i've found few bugs that id like to point your attention to.
1. i wanted to know about the color table that is created, when a user choses a color, why it doesn't get entered into the color text box as a color of choice? i had to manually write the name of the color in order to change the color of the letters. i think it would be great to have user select the color form the table, click on it, and name of the color gets entered into that box, so the users knows which color those letters will be. 2. on the font box, do you think having a drop-down box like in the editor with the name of the fonts installed would be possible to do? i just think that it would be more useful as an option to users just to choose the font type, and a size from already available fonts, rather then write down a name of a font that doesnt exists and ask stupid questions like "why it didnt change the font" 3. when i've selected to remove all the changes i've made, unfortunately only color change was removed, but bold, underline and font-size are still there and unchanged. so the removal procedure didnt work as planned. thank you again for creating this great addon. its a great idea indeed. i do appreciate your time and efforts spent on this. im sure its going to be one helluva mod, once its done ;) |
Quote:
I suppose i could add an option like HexColor:RealColorName in the options so when you click on it, it shows the real color name or something. For fonts i could have a setting in options to add more for size i would have to treat a bit different since its pixels not pts like the bbcode. but ill look into it. |
I added the font select box instead now. Just need to add the size in a select box. Instead of saying a color i just added a preview box instead.
The preview box only works if you click on the a color from the table. Ill probably add an option to make the box read only so whatever you put in the colortable is the only colors you can choose from. I started to make it show up as an actual color, but it started to get complicated quite fast so instead i just made a preview area so you can see what color it is and font etc.. |
hi!
thank you for this hack. i would like to know if i can set the usergroups that can use this hack. |
Ok, fixed the issues from before when upgrading. It should not give you errors anymore. I tested this on another board and it worked ok for me. There are quite of bit of changes so i suggest just replacing everything in the SHOWTHREAD template.
Added permissions to usergroup manager, so you must set permissions here for people to use it. Good thing about this hack is it shouldnt use anymore SQL queries then what you currently have now. It just adds onto or uses existing queries that VB makes. This will probably be the final update, so if anyone wants to take this project and further develop it they can. |
nice mod , thnx
|
You're the man! Thanks for improving on the mod. My crew loves you.
|
thnx for an update bud, really appreciated. unfortunately when installing, got this error
PHP Code:
PHP Code:
thnx again for all the time and help. |
Quote:
try Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$thread[titlestyle]">style="$thread[titlestyle]"</if><if condition="$show[gotonewpost]"> style="font-weight:bold"</if>>$thread[threadtitle]</a> |
thnx for your suggestion bud, i did, and unfortunately its still a no go for me :(
eventhough it didnt show an error as it did last time, this time its a bit different look at the attached image and you will see what i'm talking about http://img412.imageshack.us/img412/2148/screentt2.jpg the test thread name was sdfgdfgdfgdsf, and everything before that showed up after i've tryed that code you've showed me in above post to bypass that parser error that i had before. also, after a complete install i took a scrrenshot of my thread_tools options and unfortunately i dont have those beautify options there as you have it :( http://img126.imageshack.us/img126/9008/toolspn7.jpg dont pay attention to funny chars, those are translated frases, and look funny when i change default language. white space above the button, also not a part of an error i'm trying to fix here, so dont pay attention to that as well ;) hope youll be able to see what i'm talking about and have some tips on how to fix this thnx again for all the time and help bud, i really do appreciate it. |
You need to set permissions from the usergroup manager. Probably not why the option is not showing up. But theres some template problem that you are having. Try to revert back to what you had before. Basically all i added to that line was another if statement.
<if condition="$thread['titlestyle']">style="$thread[titlestyle]"</if> but im not sure if your board doesnt like the single quotes or not as thats why it was giving you the error before. But it seems like you are missing something. this should be your orginal <a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a> If its not you will need to add <if condition="$thread['titlestyle']">style="$thread[titlestyle]"</if> manually in there. Either before the <if condition... or after the </if> |
thnx again for your reply. i've added the statement and saved the changes, all went ok, i think. the reason i cant say for sure, cause i still cant use this mod. i've zipped a screenshot of my usergroup manager > admin group. i've looked everywhere, but unfortunately i couldn't find a place where to turn on the mod. if you can, please take a look and let me know what am i missing. thnx again for all the time and help.
|
make sure the xml file is uploaded also try to re build your bitfield.
http://www.yoursite.com/forum/adminc...buildbitfields should be something like that. It will rebuild them. Try that and see if it shows up after that. Its just one option called TTE Permissions |
thnx for a quick respond. i did just that, and got a message that bitfields were rebuild and all is well, however, installing/uninstalling/reuploading/reinstalling xml file didnt do anything, i still dont have the option where to turn this mod on, anywhere :( i swear i looked everywhere. i wonder if its only me having all these problems. i was able to test previous versions ok, but have no idea whats up with all this. im sorry for causing a headache for you bud, and i do appreciate your help. maybe you can paste me a line where i can turn the option on for admins and registrered and where to paste this into xml file? i dont know what else could help. hope you do ;) thnx again for all the time and efforts.
|
I've got almost the same problem of Xenon.
I've installed this hack, rebuilt the bitfield, set the usergroup permission and modified the code in the threadbit template inserting this code: <a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a> I even tried with this one: <a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$thread['titlestyle']">style="$thread[titlestyle]"</if><if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a> but it doesn't works. I do have the TTE menu in vbulletin options and I have enabled this mod. After modifying the thread i get the message "your thread is now Beautified" and get redirected to the thread. but nothing changes. this mod has none effect on the treads. I'm on 3.6.5. what can I do? |
Quote:
Having same problem. And have attempted all the above also. I can go through all the steps with the beautify and when it refreshes the page it shows the orginal nothing new. Really want this mod. It looks great. |
I am also having the same problem as the last couple of posters. Looking forward to a solution, because this mod looks like it rocks :)
|
yea, same problem. thanks for the mod tho it looks promising :cool:
EDIT: Nevermind i looked in thread tools and it showed up for me..thanks edit again: well i actually went to "beautify" and it didn't do anything to the thread title |
All times are GMT. The time now is 06:24 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:
|