Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ChangUonDyU - Thread Title Stylist Details »»
ChangUonDyU - Thread Title Stylist
Version: 2.00, by xtrung xtrung is offline
Developer Last Online: Jan 2009 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.1 Rating:
Released: 06-14-2008 Last Update: 06-14-2008 Installs: 65
Uses Plugins Template Edits Auto-Templates
Code Changes Is in Beta Stage  
No support by the author.

ChangUonDyU - Thread Title Stylist
version 2.0

Feature
-Custom Thread Title style width: Font, Size, Color, Bold, Italic, Underline, Strikeline, Overine at
  • Forum Display
  • Search Results
-Auto template: New thread, Edit first post of thread
-Preview

Settings
-Turn ON or OFF
-Turn feature (view attach)
-Custom your font list, size list, color list
-Usergroup are allowed to asjust thread title style (default: 5,6,7 for Admin,Smod,Mod)

Installation

Import XML file via Product

DONE!
DEMO:
New thread: http://img517.imageshack.us/img517/7311/a1cf0.jpg
Edit first post: http://img517.imageshack.us/img517/9872/a12zs6.jpg
FoumDisplay: http://img517.imageshack.us/img517/5241/a2lu5.jpg
Search Results: http://img255.imageshack.us/img255/4120/a3ji6.jpg

Thank to Fırtına for Turkish Language

Show Your Support

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

Comments
  #12  
Old 06-15-2008, 09:57 PM
DjEddie DjEddie is offline
 
Join Date: Nov 2007
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is very good mod, thanx, installed with no problems...

As someone suggested for next update, When u use Edit Thread in Thread Tools options to have it showing there too for you to edit previously made threads.
Also to have it override any other setting when you make the Thread Sticky And Closed

Thanks

Clicked Installed and Clicked Nominated
Reply With Quote
  #13  
Old 06-16-2008, 11:44 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xtrung View Post
3.5.x -> 3.9.x
Does NOT work for 3.5.x here is the database error I got

HTML Code:
Database error in vBulletin 3.5.3:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
	(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
	('1', '4', 'Chang - Thread Title Style - Select Menu Edit First Post', 'editpost_edit_start', 'global $vbulletin;\r\n			if ($vbulletin->options[\'tstyle_turn\'])\r\n			{\r\n			\r\n			if (!$isfirstpost)\r\n{\r\n    $colorlist = $vbulletin->options[\'tstyle_colorlist\'];\r\n			$colorlist = preg_replace(\"#(\\r\\n|\\r|\\n)#s\",\"#\",$colorlist);\r\n$clist = explode(\'#\',$colorlist);\r\n$sl = sizeof($clist);\r\nfor ($i = 0; $i < $sl; $i++)\r\n{\r\n$selected = \'\';\r\n$ccolor = $clist[$i];\r\nif ($ccolor == $threadinfo[\'tcolor\']) { $selected = \'selected\'; }\r\neval(\"\\$tselectcolor .= \\\"\".fetch_template(\'changuondyu_optioncolor\').\"\\\";\");\r\n}\r\n\r\n$sizelist = $vbulletin->options[\'tstyle_sizelist\'];\r\n$sizelist = preg_replace(\"#(\\r\\n|\\r|\\n)#s\",\"#\",$sizelist);\r\n$clist = explode(\'#\',$sizelist);\r\n$sl = sizeof($clist);\r\nfor ($i = 0; $i < $sl; $i++)\r\n{\r\n$selected = \'\';\r\n$optionvalue = $clist[$i];\r\nif ($optionvalue == $threadinfo[\'tsize\']) { $selected = \'selected\'; }\r\neval(\"\\$tselectsize .= \\\"\".fetch_template(\'changuondyu_optionsizefont\').\"\\\";\");\r\n}\r\n\r\n$fontlist = $vbulletin->options[\'tstyle_fontlist\'];\r\n$fontlist = preg_replace(\"#(\\r\\n|\\r|\\n)#s\",\"#\",$fontlist);\r\n$clist = explode(\'#\',$fontlist);\r\n$sl = sizeof($clist);\r\nfor ($i = 0; $i < $sl; $i++)\r\n{\r\n$selected = \'\';\r\n$optionvalue = $clist[$i];\r\nif ($optionvalue == $threadinfo[\'tfont\']) { $selected = \'selected\'; }\r\neval(\"\\$tselectfont .= \\\"\".fetch_template(\'changuondyu_optionsizefont\').\"\\\";\");\r\n}\r\n}\r\n\r\n$tlocate = \'post\';\r\n\r\n}\r\n', 'changthreadstyle');

MySQL Error  : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date         : Monday, June 16th 2008 @ 07:39:36 AM
Script       : http://www.mysite.com/forums/admincp/plugin.php
Referrer     : http://www.mysite.com/forums/admincp/plugin.php?do=productadd
IP Address   : 67.59.x.x
Username     : XXXXXXXXXXXXXr
Classname    : vb_database
Reply With Quote
  #14  
Old 06-16-2008, 11:45 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now I cant uninstall this hack without database errors, should of really made sure it worked for 3.5.x before posting that it would work
Reply With Quote
  #15  
Old 06-16-2008, 11:50 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I uninstall this plugin? When I try and do an uninstall I get this now

HTML Code:
Database error in vBulletin 3.5.3:

Invalid SQL:
ALTER TABLE thread DROP COLUMN tfont;

MySQL Error  : Can't DROP 'tfont'; check that column/key exists
Error Number : 1091
Date         : Monday, June 16th 2008 @ 07:49:16 AM
Script       : http://www.mysite.com/forums/admincp/plugin.php
Referrer     : http://www.mysite.com/forums/admincp/plugin.php?do=productdelete&productid=changthreadstyle&s=
IP Address   : 67.59.x.x
Username     : xxxxxxxxxxxxxxxxxxxx
Classname    : vb_database

I did check the database and tfont does not exist but I need to remove the plugin from showing up in my CP
Reply With Quote
  #16  
Old 06-16-2008, 01:01 PM
LjNux LjNux is offline
 
Join Date: Jun 2008
Location: Vietnam
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Unknown column 'executionorder' in 'field list'
Check it in database please.
Reply With Quote
  #17  
Old 06-16-2008, 01:02 PM
xtrung xtrung is offline
 
Join Date: Nov 2006
Location: VietNam
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@bada_bing: i tested my hack on vbb358 and work stable, i thing 3.5.3 same..
Now, to Unsintall
you login to AdminCP > Manage Product
Edit my product
Delete all content in Uninstall Code textarea
--then Uninstall product

I thing you should upgrade to 3.7.1, 3.5.3 is very old

I can try edition for 3.5.3
Reply With Quote
  #18  
Old 06-16-2008, 02:30 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xtrung View Post
@bada_bing: i tested my hack on vbb358 and work stable, i thing 3.5.3 same..
Now, to Unsintall
you login to AdminCP > Manage Product
Edit my product
Delete all content in Uninstall Code textarea
--then Uninstall product

I thing you should upgrade to 3.7.1, 3.5.3 is very old

I can try edition for 3.5.3


Thanks xtrung the new plugin worked great for 3.5.3 about upgrading no need to go 3.7 for me no new feature I really want to use plus my version is stable for me... .Thanks
Reply With Quote
  #19  
Old 06-16-2008, 03:23 PM
PiTXI PiTXI is offline
 
Join Date: Apr 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome!!!

*** Installed ***
Reply With Quote
  #20  
Old 06-27-2008, 12:13 AM
q8salem q8salem is offline
 
Join Date: Apr 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

VVVVVVVVVery nice !!!

*** Installed ***

If it show the same results on forumhome it would be great.

thanks
Reply With Quote
  #21  
Old 06-27-2008, 07:57 PM
BWJ BWJ is offline
 
Join Date: Aug 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack - but I have a problem:

1) I installed it
2) I experienced that not all phrases were possible to translate through admin
3) I custom made the translation to the file
4) I overwrote the old file
5) There was a problem with the 'Underline' as it always appeared (may be this was a problem already). But I was in doubt - tried your uninstall instructions mentioned above
6) now I got this database error when I try to overwrite the product again:

Quote:
Invalid SQL:
ALTER TABLE forumthread ADD COLUMN tfont VARCHAR(30) NOT NULL;

MySQL Error : Duplicate column name 'tfont'
Error Number : 1060
How do I remove this column and get back in order?
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 06:21 PM.


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.07244 seconds
  • Memory Usage 2,316KB
  • 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_html
  • (4)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
  • (2)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