Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Thread title enhancement Details »»
Thread title enhancement
Version: 2.0.0, by Kungfu Kungfu is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.4 Rating:
Released: 02-07-2007 Last Update: 05-29-2007 Installs: 52
DB Changes Template Edits
Additional Files  
No support by the author.

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
  • Fixed a bug where if you removed all settings from the title but had a font size on it would not remove the font size.
  • Got rid of all the plugin files, now there is only one file to upload
  • Got rid of most template modifications. Only need to do one now.
  • If you want to upgrade you will basically need to start all over, reverse all template changes. Reinstall the product. Delete all files in the plugins folder. Only file that needs to be uploaded is includes\xml\bitfield_tte.xml. All template modifications have changed as well. You can leave them there if you like but make sure to shut off the auto template modification in the TTE options.
1.0.2
  • Added a font select box, you can add more fonts in settings
  • Added a size select box, you can add more sizes in settings.
  • Added bitfields for permissions. You must set these in the usergroup manager as all are set to no by default.
1.0.1
  • Fixed the underline, so if you do underline it does underline now.
  • Added a color table, you can add your own colors
  • Added font size
1.0.0
  • Make thread title Bold, Italic, Underline, Colored and change font.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 02-10-2007, 01:49 AM
parrot5 parrot5 is offline
 
Join Date: Dec 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Error on install:

Quote:
Invalid SQL:
ALTER TABLE vb_thread ADD COLUMN tte_titlefontsize INT UNSIGNED NOT NULL DEFAULT '';

MySQL 错误 : Invalid default value for 'tte_titlefontsize'
错误号 : 1067
Looks like it's because of this syntax error that the column never got added for the previous versions as well?

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?
Reply With Quote
  #23  
Old 02-10-2007, 02:17 AM
Kungfu Kungfu is offline
 
Join Date: Dec 2005
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by parrot5 View Post
Error on install:


Looks like it's because of this syntax error that the column never got added for the previous versions as well?

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?
Sorry that should be 0. And it you leave the field blank or set it to 0 it will just go to 0. If the size is 0 it wont resize the font. Its only if you put in 1 or more. And it goes by pixels.
Reply With Quote
  #24  
Old 02-10-2007, 09:04 AM
xenon58 xenon58 is offline
 
Join Date: Dec 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #25  
Old 02-10-2007, 02:59 PM
Kungfu Kungfu is offline
 
Join Date: Dec 2005
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xenon58 View Post
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
It uses a hex color. If you were to type gray or grey i cant remember which one in IE it doesnt work. Using the hex code should always work and i recommend using that instead of just a color as they dont always work.
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.
Reply With Quote
  #26  
Old 02-13-2007, 05:54 PM
Kungfu Kungfu is offline
 
Join Date: Dec 2005
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #27  
Old 02-14-2007, 06:41 AM
pollon pollon is offline
 
Join Date: Jan 2007
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi!
thank you for this hack. i would like to know if i can set the usergroups that can use this hack.
Reply With Quote
  #28  
Old 02-15-2007, 04:57 AM
Kungfu Kungfu is offline
 
Join Date: Dec 2005
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #29  
Old 02-15-2007, 05:32 AM
apiasto's Avatar
apiasto apiasto is offline
 
Join Date: Oct 2006
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice mod , thnx
Reply With Quote
  #30  
Old 02-16-2007, 12:06 AM
parrot5 parrot5 is offline
 
Join Date: Dec 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're the man! Thanks for improving on the mod. My crew loves you.
Reply With Quote
  #31  
Old 02-16-2007, 05:18 AM
xenon58 xenon58 is offline
 
Join Date: Dec 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thnx for an update bud, really appreciated. unfortunately when installing, got this error

PHP Code:
Parse errorparse errorunexpected T_ENCAPSED_AND_WHITESPACEexpecting T_STRING or T_VARIABLE or T_NUM_STRING in ***\includes\adminfunctions_template.php(3596) : eval()'d code on line 28 
this error showed up when i was doing the last step of an install, which was
PHP Code:
OPEN Threadbit

Find
:
--------

<
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>


Replace With:
--------------

<
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
do you know what gives by any chance?

thnx again for all the time and help.
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 10:27 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.06764 seconds
  • Memory Usage 2,329KB
  • 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
  • (2)bbcode_php
  • (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_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