vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Display Enhancements - ChangUonDyU - Thread Title Stylist (https://vborg.vbsupport.ru/showthread.php?t=182524)

xtrung 06-14-2008 10:00 PM

ChangUonDyU - Thread Title Stylist
 
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 :)

Mattimus1984 06-15-2008 03:18 AM

*Reserved* This is great!

Mattimus1984 06-15-2008 03:30 AM

Only one thing... The next update it'd be cool to be able to have the same options when editing a thread!

Magnumutz 06-15-2008 07:42 AM

Very nice mod... would be great if it could be integrated with vBCredits or such systems to take money off people's accounts when they use such customizations.

semka 06-15-2008 07:57 AM

very very very very very COOOL!!!!!!!
This is the BEST mod!

Fırtına 06-15-2008 09:05 AM

Thanks installed and added in language Turkish:)

bada_bing 06-15-2008 04:28 PM

Wow sweet anyone know if this hack will work for vb 3.5.x ?

xtrung 06-15-2008 05:05 PM

Quote:

Wow sweet anyone know if this hack will work for vb 3.5.x ?
3.5.x -> 3.9.x https://vborg.vbsupport.ru/external/2008/06/5.gif

Aclikyano 06-15-2008 08:36 PM

does this not work if the post icons are above the area where message goes?
doesnt seem to be workin on my vb 3.7 PL1 board.

neoxi 06-15-2008 09:43 PM

thank you :) installed

DjEddie 06-15-2008 09:57 PM

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

bada_bing 06-16-2008 11:44 AM

Quote:

Originally Posted by xtrung (Post 1550141)

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


bada_bing 06-16-2008 11:45 AM

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

bada_bing 06-16-2008 11:50 AM

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

LjNux 06-16-2008 01:01 PM

Quote:

Unknown column 'executionorder' in 'field list'
Check it in database please.

xtrung 06-16-2008 01:02 PM

@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 :D

I can try edition for 3.5.3

bada_bing 06-16-2008 02:30 PM

Quote:

Originally Posted by xtrung (Post 1550795)
@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 :D

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

PiTXI 06-16-2008 03:23 PM

Awesome!!!

*** Installed ***

q8salem 06-27-2008 12:13 AM

VVVVVVVVVery nice !!!

*** Installed ***

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

thanks

BWJ 06-27-2008 07:57 PM

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?

LoRdGd 06-27-2008 08:38 PM

Great HACK! I`ve waiting long long time for this :)) THX

neopet001 07-07-2008 03:43 PM

GREAT!
The points systems should have addons linked with this!
And next version should include the Permissions to edit the style option, for vivaldi people who wanna change their color everyday!
Thank you!!!


All times are GMT. The time now is 05:54 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
  • Page Generation 0.01199 seconds
  • Memory Usage 1,766KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete