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)

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?


All times are GMT. The time now is 04:36 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.01095 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete