vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - BBcode Manager 1.32 : New looks for your quote, html, php and code bbcodes ! (https://vborg.vbsupport.ru/showthread.php?t=120073)

Smoothie 08-14-2006 06:10 AM

I now click install and thanks for a wonderful modification

cclaerhout 08-14-2006 07:24 AM

There is a bug with the new code for vBa : it loads vba bbcodes in all messages and not only the first one. I'm going to see if i can do something.

the problem is that "!$FIRSTPOSTID" is not working here.

cclaerhout 08-14-2006 09:37 AM

Well after 2 hours, i've found a solution. Before to release a new version (1.31) i'm waiting for Calorie to check the code.

Edit : i'll have to work more... i forgot to include an option for vBa

Virtex-II 08-14-2006 10:02 AM

Quote:

Originally Posted by cclaerhout
Before to release a new version (1.31) i'm waiting for Calorie to check the code.

What about adding an option to resize the quoted, coded, etc. text without the need to add a new CSS variable?


Thanks ;)

Smoothie 08-14-2006 02:35 PM

I turned this off by removing the style id from the set I was using. Now after adding the style id number back in, I cannot seem to get the new style quote to display in pervious posts. I tried setting the Cached Posts Lifespan back to 0 and that did not work.

Smoothie 08-14-2006 03:45 PM

Nevermind, got it to work for all posts. Seems as though it takes a bit for the un-cached posts to show with the new style quote

Gizmo5h1t3 08-14-2006 08:33 PM

so is this now stable?
i want this on me board, but dont wanna bung it on till i know its ok

Gizmo5h1t3 08-14-2006 08:38 PM

Quote:

Version 1.30-
Works with vB 3.5 and vB 3.6
when u install the product, u get a DB error on 3.5.4.....

Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Cache and Variables', 'cache_templates', '$bbcode_templates_array = array();\r\n$bbcode_image_extension = \'png\';\r\n$bbcode_intersect_array = array_intersect(array(\'bbcode_quote\',\'bbcode_co de\',\'bbcode_php\',\'bbcode_html\'), $globaltemplates);\r\n\r\nif (!empty($bbcode_intersect_array))\r\n{\r\n $quote_light = explode(\",\", str_replace(\' \', \'\', $vbulletin->options[\'quote_light\']));\r\n $quote_dark = explode(\",\", str_replace(\' \', \'\', $vbulletin->options[\'quote_dark\']));\r\n $quote_pastel = explode(\",\", str_replace(\' \', \'\', $vbulletin->options[\'quote_pastel\']));\r\n $quote_simple = explode(\",\", str_replace(\' \', \'\', $vbulletin->options[\'quote_simple\']));\r\n $quote_simple_tr = explode(\",\", str_replace(\' \', \'\', $vbulletin->options[\'quote_simple_tr\']));\r\n\r\n if ($vbulletin->options[\'quote_vba\'] AND !$FIRSTPOSTID)\r\n {\r\n $quote_vba_forums = explode(\",\", str_replace(\' \', \'\', $vbulletin->options[\'quote_vba_forums\']));\r\n if ($vbulletin->options[\'quote_vba_forums_all\'] OR in_array($forumid, $quote_vba_forums))\r\n {\r\n $bbcode_templates_array = array(\'bbcode_quote_vba\',\'bbcode_code_vba\',\'b bcode_php_vba\',\'bbcode_html_vba\');\r\n }\r\n }\r\n else if (in_array($style[\'styleid\'], $quote_light))\r\n {\r\n $bbcode_templates_array = array(\'bbcode_quote_light\',\'bbcode_code_light\' ,\'bbcode_php_light\',\'bbcode_html_light\');\r\n }\r\n else if (in_array($style[\'styleid\'], $quote_dark))\r\n {\r\n $bbcode_templates_array = array(\'bbcode_quote_dark\',\'bbcode_code_light\', \'bbcode_php_light\',\'bbcode_html_light\');\r\n }\r\n else if (in_array($style[\'styleid\'], $quote_pastel))\r\n {\r\n $bbcode_templates_array = array(\'bbcode_quote_pastel\',\'bbcode_code_pastel \',\'bbcode_php_pastel\',\'bbcode_html_pastel\');\ r\n }\r\n else if (in_array($style[\'styleid\'], $quote_simple))\r\n {\r\n $bbcode_templates_array = array(\'bbcode_quote_simple\',\'bbcode_code_simple \',\'bbcode_php_simple\',\'bbcode_html_simple\');\ r\n }\r\n else if (in_array($style[\'styleid\'], $quote_simple_tr))\r\n {\r\n $bbcode_templates_array = array(\'bbcode_quote_simple_tr\',\'bbcode_code_sim ple_tr\',\'bbcode_php_simple_tr\',\'bbcode_html_si mple_tr\');\r\n }\r\n\r\n unset($quote_light, $quote_dark, $quote_pastel, $quote_simple, $quote_simple_tr, $quote_vba_forums);\r\n\r\n if (($vbulletin->options[\'quote_iedetect\'] AND is_browser(\'ie\') AND !is_browser(\'ie\', 7)) OR $vbulletin->options[\'quote_extension\'] == 1)\r\n {\r\n $bbcode_image_extension = \'gif\';\r\n }\r\n}\r\n\r\nif (!empty($bbcode_templates_array))\r\n{\r\n $globaltemplates = array_merge($globaltemplates, $bbcode_templates_array);\r\n}', 'bbcodemanager');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Monday, August 14th 2006 @ 10:37:16 PM
Script : http://www.*******.org/forum/admincp/plugin.php
Referrer : http://www.*******.org/forum/admincp...?do=productadd
IP Address : **********
Username : Gizmo
Classname : vb_database
executionorder.........isnt that 3.6.0 specific, or ami just dumb??

cclaerhout 08-14-2006 08:59 PM

15/08/2006 : version 1.31 released. New vba procedure detection ; it's automatic now. Errors in vBa bbcode templates have been corrected. To upgrade from 1.30, just import product file.

cclaerhout 08-14-2006 09:01 PM

Quote:

Originally Posted by Gizmo5h1t3
when u install the product, u get a DB error on 3.5.4.....



executionorder.........isnt that 3.6.0 specific, or ami just dumb??

If you know the answer, don't ask the question ;) The code of the new version 1.31 should be ok with 3.5.

calorie 08-14-2006 09:15 PM

Quote:

Originally Posted by cclaerhout
If you know the answer, don't ask the question ;) The code of the new version 1.31 should be ok with 3.5.

Moved to vB3.5 Add-ons then (see here why). ;)

cclaerhout 08-14-2006 09:31 PM

Quote:

Originally Posted by calorie
Moved to vB3.5 Add-ons then (see here why). ;)

So i will have to update again the code with the original one ; i mean 3.6 and users will have to correct it by themselves.
P.S : i don't have vB 3.5 anymore. So i can't support for this version.

cclaerhout 08-14-2006 09:49 PM

The zip file has been updated with vB 3.6 code. So i would appreciate this thread comes back to 3.6 section.

Sorry for the 3.5 users. You will have to edit yourself the code to make it compatible with the product import system.

calorie 08-14-2006 09:58 PM

Quote:

Originally Posted by cclaerhout
The zip file has been updated with vB 3.6 code. So i would appreciate this thread comes back to 3.6 section.

Sorry for the 3.5 users. You will have to edit yourself the code to make it compatible with the product import system.

Thanks, moved back to vB3.6 Add-ons. :)

For vB 3.5 users, see https://vborg.vbsupport.ru/showpost....&postcount=125

Smoothie 08-14-2006 10:04 PM

The descriptions for the settings are backwards in 1.3.1

cclaerhout 08-14-2006 10:18 PM

Quote:

Originally Posted by Smoothie
The descriptions for the settings are backwards in 1.3.1

Thanks, this little bug is now corrected. The number version won't change for this ;) I'm tired, i have to go to bed. Good night.

dbembibre 08-15-2006 02:35 PM

In first place you amek a good job with this plugin.
Only one thing, how disable the quotes of your plugin for the privates messages ???

cclaerhout 08-15-2006 02:47 PM

Quote:

Originally Posted by dbembibre
In first place you amek a good job with this plugin.
Only one thing, how disable the quotes of your plugin for the privates messages ???

You can't.

Edit :
In fact, there's a way. But i won't give support for it. Go in you Plugin Manager. Edit "Cache and Templates" module. Change the Hook Location from "global_start" to "showthread_postbit_create".

Smoothie 08-15-2006 04:01 PM

I think those new style quotes look great in PM's.

dbembibre 08-15-2006 10:21 PM

Quote:

Originally Posted by cclaerhout
You can't. Edit : In fact, there's a way. But i won't give support for it. Go in you Plugin Manager. Edit "Cache and Templates" module. Change the Hook Location from "global_start" to "showthread_postbit_create".

Thanks a lot, work like a charm :)

Quote:

Originally Posted by Smoothie
I think those new style quotes look great in PM's.

When you have quotes of quotes in the same private message is a litle unredable

Excuse my broken English

bklynjava 08-15-2006 10:49 PM

Installed on 3.6 - Very easy - works fine.

bklynjava 08-15-2006 11:26 PM

I made the xml changes and installed on my other board that still has 3.5 and I got this error

Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'CSS BBcode text', 'parse_templates', '\r\n$search = \'/(\\$style\\[css\\])/\';\r\n$replace = \'\\\\1\r\n<style type=\\\"text/css\\\" id=\\\"bbcode_css\\\">\r\n<!--\r\n.bbcode {\r\nfont-size:{$vbulletin->options[\\\'quote_text_size\\\']}px;\r\ncolor:{$vbulletin->options[\\\'quote_text_color\\\']};\r\n}\r\n// -->\r\n</style>\';\r\n\r\n$vbulletin->templatecache[\'headinclude\'] = preg_replace($search, $replace, $vbulletin->templatecache[\'headinclude\']);\r\n', 'bbcodemanager');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Tuesday, August 15th 2006 @ 08:12:16 PM
Script : http://www.nextelnoob.com/admincp/plugin.php
Referrer : http://www.nextelnoob.com/admincp/pl...?do=productadd
IP Address : 24.164.156.122
Username : bklynjava
Classname : vb_database
Does anyone know the fix for this?
It works great on my test board for 3.6 but its needed on my live board running 3.5.4.

ehjay 08-16-2006 03:56 AM

On the latest version of Safari when quoting a large amount of text, without a cited original author or post, there will be a small hole in the outer frame of the bubble -- just to the right of the "quote" bubble.

cclaerhout 08-16-2006 04:36 AM

Quote:

Originally Posted by bklynjava
I made the xml changes and installed on my other board that still has 3.5 and I got this error



Does anyone know the fix for this?
It works great on my test board for 3.6 but its needed on my live board running 3.5.4.

compatible with vB 3.5 after edits

cclaerhout 08-16-2006 04:38 AM

Quote:

Originally Posted by ehjay
On the latest version of Safari when quoting a large amount of text, without a cited original author or post, there will be a small hole in the outer frame of the bubble -- just to the right of the "quote" bubble.

Can you post a sceenshot ? I don't know if i can fix it, because i don't have Safari.

ehjay 08-16-2006 04:48 AM

https://vborg.vbsupport.ru/

for the record you and i tried to fix this before, with no luck. =]

sudn3sc3d 08-16-2006 06:08 AM

awsome dude :D love it

cclaerhout 08-16-2006 06:11 AM

Quote:

Originally Posted by ehjay
http://img149.imageshack.us/img149/9633/picture1cx3.png

for the record you and i tried to fix this before, with no luck. =]

I will try to find a mac, but i can't promise anything ;) Do the others sets have this problem too ?

Edit : your forum style is great !!!

Smoothie 08-16-2006 04:51 PM

Yes, all styles of quotes are slightly broken when viewing in Safari with large amounts of text;

cclaerhout 08-16-2006 05:48 PM

Quote:

Originally Posted by Smoothie
Yes, all styles of quotes are slightly broken when viewing in Safari with large amounts of text;

I'm going to test with Swift... if any one knows a KHTML for windows, please tell me :)

Edit : well i've tested Swift... it's realy an alpha. There are bugs everywhere and the display is broken.

Virtex-II 08-16-2006 08:13 PM

Guess there's a little bug...the size of the text wrapped in the php tag doesn't change according to the value set in the options...

ehjay 08-16-2006 08:30 PM

Quote:

Originally Posted by cclaerhout
I will try to find a mac, but i can't promise anything ;) Do the others sets have this problem too ?

Edit : your forum style is great !!!

thanks.

and yes, as smoothie said they all have a similar issue.

cclaerhout 08-17-2006 06:28 AM

Quote:

Originally Posted by Virtex-II
Guess there's a little bug...the size of the text wrapped in the php tag doesn't change according to the value set in the options...

That's not a bug. You can't change so easily the size of the text in a php tag.

Virtex-II 08-17-2006 07:04 AM

Quote:

That's not a bug. You can't change so easily the size of the text in a php tag.
Sorry for saying it, didn't know that...

Smoothie 08-17-2006 07:04 AM

cclaerhout,

Let me know if you want me to test any new code if you want to try to fix this Safari bug.

cclaerhout 08-17-2006 07:18 AM

Quote:

Originally Posted by Smoothie
cclaerhout,

Let me know if you want me to test any new code if you want to try to fix this Safari bug.

It wouldn't be easy like this. I really need to find a mac. I'm going to ask a friend if he can lend me his computer.

Apoco 08-17-2006 02:34 PM

This causes errors in PhotoPost Classifieds. Any idea's why?

kru89 08-17-2006 06:38 PM

thanks a lot.. this code is great..

cclaerhout 08-17-2006 07:23 PM

Quote:

Originally Posted by Apoco
This causes errors in PhotoPost Classifieds. Any idea's why?

What is PhotoPost Classifieds ? Can you give me a link ?

Aneurysm 08-17-2006 11:35 PM

Easy install, awsome results, THANKS!


All times are GMT. The time now is 02:56 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.01677 seconds
  • Memory Usage 1,846KB
  • 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
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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