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)

cclaerhout 06-30-2006 10:00 PM

BBcode Manager 1.32 : New looks for your quote, html, php and code bbcodes !
 
*********************************************
BBcode Manager
-Version 1.32-
Works vB 3.6 -vB 3.5 (special xml file inside zip)
*********************************************
By C?dric Claerhout and Calorie


-Description-

This modification allows you to have new looks for quote, code, phg and html bbcodes. The installation is automatic ; the setup is very easy.


-Features-
  • Five news looks for bbcodes in order to enhance your messages : Light bbcode set ; Dark bbcode set ; Pastel bbcode set ; Simple bbcode set and Simple bbcode with transparency b/g. Configure this sets according to your styles. If you forget or don't want to specify a set for a style, it will use the defaut vB display.
  • GIF or PNG formats available for pictures. Autodetect IE 6 function to use gif extension for this browser. In order to work efficiently the Cached Posts Lifespan must be set to 0 in vB options
  • This hack works with vBa CMPS : it uses special templates to avoid to break the front page. The detection is automatic (since 1.31 version).
  • You can configure : the left margin of bbcode, the color and the size of text.
  • You can set a link to quoted user profile. It creates a clickable link between the person's username being quoted and her profile.
  • Mono or double bubbles for simple quote bbcode | special behaviour for quotes of light, dark and pastel sets.
-Installation-
  1. Upload "bbcodemanager" pictures directory in vBulletin images directory : /forums/images/
  2. Import the product xml file
  3. Configure the mod in vBulletin options -> "BBcode templates manager"
-Updates-
-19/08/2006 : version 1.32 released. New option available : integration of Advanced Syntax Highlighting is now possible. Please note that "Code Block Width" must be in pixels (see "important" paragraphe)
-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.
-14/08/2006 : version 1.30 released thanks to Calorie : the installation is now fully automatic ; you just have to upload product file and that's all (no need to edit php file anymore) ; the english translation is also better thanks to Calorie.
-07/08/2006 : version 1.23 released ; new options available : Link to profil, Left margin, Text color and some Special behaviour for quotes of light, dark and pastel sets. Text color problem for some styles corrected. To update, just import xml product file and upload pictures (there are new ones)
-15/07/2006 : version 1.22b released ; link to a picture corrected
-14/07/2006 : version 1.22 released ; code is simpler ; use now $style[styleid] variable instead of $styleid ->allow guests to see the right bbcode set
-12/07/2006 : version 1.21 released ; now you can config several style ids (for real this time)
-12/07/2006 : version 1.2 released ; new installation procedure ; many big problems corrected ; html code of new bbodes templates updated ; tested and validated XHTML
-03/07/2006 : now you can config several style ids
-Important-
  • To update from 1.30 just import the product file
  • To uninstall version 1.1 or version 1.2, you have to follow a specific procedure described in the archive.

  • [s]To avoid display problems, i strongly advice you to set the "Code Block Width" (available in you style options) to 100%. If you prefer pixels, choose a little value ; especually if you're using legacy postbit. Never enter "auto" otherwise it won't work.[/s]
    The "Code Block Width" must be in pixels ;) Otherwise there are too numerous problems. So forget my advice to put a value in %. It must be in pixels. In 800x600 there is a display problem, but it's the same thing with vb default templates. So i guess we can't do anything.
  • If the text display doesn't suite you, you can do easily what you want. Just turn off the "CSS BBcode text" module and create the CSS : .bbcode
    Do it on your own : you won't be helped for this.

This modification is available in french on vBulletin-fr.org

This french forum is acting against vB piracy

cclaerhout 07-01-2006 09:37 PM

<div align="center">-Reserved-</div>

Barakat 07-01-2006 10:07 PM

Will check it today thanks

michaelk 07-01-2006 10:22 PM

Hello,

it's fine.Can you make it for the vBulletin Version 3.5.4.

Thanks

Michael

cclaerhout 07-01-2006 11:32 PM

I'm almost pretty sure that it works with vBulletin Version 3.5.4 ;)

Scooterpig 07-01-2006 11:41 PM

Look good but after install did nothing at all for me, can't see anything extra or any differnet at all..:(..and yes followed install how-to fine.

DJ XtAzY 07-02-2006 04:15 AM

Quote:

Originally Posted by cclaerhout
I'm almost pretty sure that it works with vBulletin Version 3.5.4 ;)

nope it failed during import, because 3.5.4 dont have excecution order thingy for plugins i think

edit: acutally just remove

executionorder="5"

in the xml file and it works

cclaerhout 07-02-2006 07:31 AM

Quote:

Originally Posted by Intrepid
Look good but after install did nothing at all for me, can't see anything extra or any differnet at all..:(..and yes followed install how-to fine.

Don't forget to revert your quote, code, php and html bbcodes templates to the original. And don't forget to configure the mod. It will work.

cclaerhout 07-02-2006 07:33 AM

Quote:

Originally Posted by XtAzY
nope it failed during import, because 3.5.4 dont have excecution order thingy for plugins i think

edit: acutally just remove

executionorder="5"

in the xml file and it works

Thanks for the information, i'm going to update the archive to make it compatible with vB 3.5


-------------
Archive edited.

ForYou 07-02-2006 12:16 PM

Hello ,

How can i modfiy on this becuase i'm user arabic font from right to left ,

Can i modfiy it ,

http://www.dardasha.net/montada/uplo...1151847107.jpg

Regards

cclaerhout 07-02-2006 02:44 PM

I'll look later if i can make work that module with right to left systems. At the moment, i just can advice you to uninstall it. Sorry for this :(

DJ XtAzY 07-02-2006 08:49 PM

just wondering... does html has to be enabled?

cclaerhout 07-03-2006 12:56 AM

Not at all. When i'm talking about the html bbcode, it's just the html tag

For exemple, you've got an html code you want to share with people. You just have to put it between html tags
HTML Code:

<table width="120" heigh="120">
<tr>
<td>voili voilou</td>
</tr>
</table>


You don't have to worry, you don't want activate html ? So don't activate it, and this mod will still works ;)

cclaerhout 07-03-2006 06:50 AM

Well, i've found a bug that i'm going to correct in a few minutes : if you setup several styles id for a one set, it doesn't work anymore :D Sorry for this.

cclaerhout 07-03-2006 01:16 PM

Version 1.01 released
Now you can choose several style IDs.

To update, just import the product.

gothicuser 07-04-2006 03:58 AM

Hi, really liked the idea of this one but am having serious layout problems.
Both in IE and FF the graphics expand the size of the page dramatically, creating a horizontal scroll bar!
Done various tests, trying to see what causes it, but the same thing happens every time, see screeny please.
Any suggestions?

cclaerhout 07-04-2006 06:51 AM

Bug confirmed. I look at it. I think the error comes from the php display.

cclaerhout 07-04-2006 07:36 AM

***********Bugs fixed***********
-Version 1.1 released-
php display problem is fixed
Dark bbcode set is working now ;)
******************************


ForYou 07-04-2006 09:18 AM

Hello cclaerhout

Please help me for that , realy i can't uninstall this hack becuase i like it ,

Regards

ForYou 07-04-2006 09:20 AM

Just let me know how can i edit it from right to left ,

please cclaerhout

Regards

gothicuser 07-04-2006 10:56 AM

Sorry to ruin your day.
The horizontal scroll bar problem is a lot better, but when people view threads with any of the bbcode_ mods, in screen resolutions of 1024x768 or less, they still get the horizontal scrollers.

The other problem is that we own a copy of Geeks Auto-Links and get some peculiar irregularities in the display as you can see from the images below.
The top two are from Internet Explorer and the lower two from Firefox.
In Firefox the GALs are being truncated, but in IE the GAL logo is overwriting the first character of the GAL.
http://www.cornishserver.com/ie_1.jpg
http://www.cornishserver.com/ie_2.jpg
http://www.cornishserver.com/ff_1.jpg
http://www.cornishserver.com/ff_2.jpg

It would be really great if this can be fixed as all our members really like this mod.
Many thanks

cclaerhout 07-04-2006 02:36 PM

Quote:

Originally Posted by ForYou
Just let me know how can i edit it from right to left ,

please cclaerhout

Regards

I have to test it modifying my language from right to left, but i am almost prettu sure i'll have to rewrite everything to make a special version. And i need to find a lot of time ;) By the way, promise i will try.

cclaerhout 07-04-2006 02:40 PM

Quote:

Originally Posted by gothicuser
Sorry to ruin your day.

You're not ruinning my day ;) You help me to improve the hack.

Quote:

Originally Posted by gothicuser
The horizontal scroll bar problem is a lot better, but when people view threads with any of the bbcode_ mods, in screen resolutions of 1024x768 or less, they still get the horizontal scrollers.

That's strange. I'm going to try to reproduce this error. I don't think it will be hard to solve if i manage to reproduce it.

Quote:

Originally Posted by gothicuser
The other problem is that we own a copy of Geeks Auto-Links and get some peculiar irregularities in the display as you can see from the images below.
The top two are from Internet Explorer and the lower two from Firefox.
In Firefox the GALs are being truncated, but in IE the GAL logo is overwriting the first character of the GAL.

I've also got GAL and i've got no problem. Can you send me by pm the adress of the post message. I'd like to have a look to the code.

cclaerhout 07-04-2006 03:20 PM

Thanks for the link sent in PM. I've looked at the code and it seems there is a problem with your GAL configuration.

The error comes from the $username variable used in quotes bbcode ! It is replaced by
Code:

<a rel='nofollow' href='http://www.cornishserver.com/forums/private.php?do=newpm&amp;u=21' target='_blank' class='gal' onmouseover='GAL_popup(this,"1", 0, "style=\"border: 1pt solid #000000;\"", "Private Message Private Parts", "style=\"background: #FFFFCC;padding: 2px;font-size: 10px;\"");' onmouseout='GAL_hidepopup();'>Private Parts</a>
</div>

Check your configuration... the problem doesn't come from this hack. Just a question : don't you have a problem with the normal vB bbcodes ? I'm sure TheGeek will have a solution ;)

cclaerhout 07-04-2006 03:38 PM

Quote:

Originally Posted by gothicuser
The horizontal scroll bar problem is a lot better, but when people view threads with any of the bbcode_ mods, in screen resolutions of 1024x768 or less, they still get the horizontal scrollers.

I've tried to reproduce the problem without success. Can you make some screens ? I've tested with a 800x600 resolution and its works perfectly. Just see the joined picture.

gothicuser 07-04-2006 04:48 PM

Quote:

Originally Posted by cclaerhout
I've tried to reproduce the problem without success. Can you make some screens ? I've tested with a 800x600 resolution and its works perfectly. Just see the joined picture.

You're getting this one third hand because I was reciting what a couple of my members had reported back to me. I will ask them for screenies.
p.s. I must admin that I couldn't replicate the scrolling bars either.. :confused:

Quote:

Originally Posted by cclaerhout
The error comes from the $username variable used in quotes bbcode ! It is replaced by
Code:

<a rel='nofollow' href='http://www.cornishserver.com/forums/private.php?do=newpm&amp;u=21' target='_blank' class='gal' onmouseover='GAL_popup(this,"1", 0, "style=\"border: 1pt solid #000000;\"", "Private Message Private Parts", "style=\"background: #FFFFCC;padding: 2px;font-size: 10px;\"");' onmouseout='GAL_hidepopup();'>Private Parts</a>
</div>

Check your configuration... the problem doesn't come from this hack. Just a question : don't you have a problem with the normal vB bbcodes ? I'm sure TheGeek will have a solution ;)

As far as I can see, the GAL replacement is correct and going through the 'Replacements' it is as it should be, and display correctly everywhere else.

What do you mean am I having a problem with the normal vB bbcodes?? You confuse me a little.
Many thanks for all your positive action and fast responce :D

cclaerhout 07-04-2006 05:11 PM

Quote:

Originally Posted by gothicuser
What do you mean am I having a problem with the normal vB bbcodes?? You confuse me a little.
Many thanks for all your positive action and fast responce :D

Tell me if the defaut quotes bbcode (see the picture) has the same problem or not. To access defaut vb bbcodes don't precise your style id in the options.

I don't understand : You've made a replacement on some usernames ?

gothicuser 07-04-2006 08:03 PM

I think I have the answer for the GAL problems, you are correct. i am updating the forums over the next couple of days and if we are correct then all should be fine :D
Thankyou

cclaerhout 07-05-2006 12:43 AM

I've understand what your member means. There are still problems with ie. Some french users report me a few problems (one is going to be hard to solve -> try to generate your cache and you will understand.). I'll try to release an update tomorrow before going on a business trip for 2 days.

Scooterpig 07-05-2006 07:22 AM

Great hack and working fine for me but wondering please if it's possible to move the Word for the BBCode being used form the right over to the left hand side please. I see that Quote is on the left but HTML, CODE & PHP are all over on the right hand side.

Thank you..:)

gothicuser 07-05-2006 11:34 AM

cclaerhout, I have worked out what the problem is when displaying bbcode_quote that contain GAL'ed words.
To come straight to the point, where in your templates can I change the linking back to original thread from the $username to the word 'Quote' on the left please?

ForYou 07-05-2006 12:09 PM

Hello cclaerhout ,,

Wait you ,

Regards

Froggy32701 07-06-2006 12:48 AM

I installed your hack and it just didnt work out with my forum, my forum is a very dark skin and it just didnt look right. Any way so I went to remove it, I put the class_bbcode.php back to normal (from a back up I created) and then removed the plugin using the plug in manager. This is where things went wrong...:(

Now if I attempt to go to any thread I get this

Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:

SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
user.*, userfield.*, usertextfield.*,
icon.title as icontitle, icon.iconpath,
avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
level,
deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,
editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
editlog.reason AS edit_reason,
post_parsed.pagetext_html, post_parsed.hasimages,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid


FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid) LEFT JOIN reputationlevel AS reputationlevel ON(user.reputationlevelid = reputationlevel.reputationlevelid)
LEFT JOIN deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND type = 'post')
LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN post_parsed AS post_parsed ON(post_parsed.postid = post.postid AND post_parsed.styleid_code = AND post_parsed.styleid_html = AND post_parsed.styleid_php = AND post_parsed.styleid_quote = )

WHERE post.postid IN (0,623,625,626,629,630)
ORDER BY post.dateline;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND post_parsed.styleid_html = AND post_parsed.styleid_php = AND post_parsed.s' at line 22
Error Number : 1064
Date : Wednesday, July 5th 2006 @ 08:42:18 PM
Script : http://www.************/dwg/showthread.php?t=201
Referrer : http://www.***********/dwg/forumdisplay.php?f=26
IP Address : ********
Username : ********
Classname : vb_database
I have my forum up again by reinstalling the plug in, however I would like to remove it.

Please help..


EDIT::

And if I try to disable the plug in, me and my user get this at the top of the page, when you click reply to any thread.

Quote:

Warning: in_array(): Wrong datatype for second argument in /includes/class_bbcode.php(1290) : eval()'d code on line 3

Warning: in_array(): Wrong datatype for second argument in /includes/class_bbcode.php(1290) : eval()'d code on line 36

Warning: in_array(): Wrong datatype for second argument in /includes/class_bbcode.php(1290) : eval()'d code on line 69

Warning: in_array(): Wrong datatype for second argument in /includes/class_bbcode.php(1290) : eval()'d code on line 102

Warning: in_array(): Wrong datatype for second argument in /includes/class_bbcode.php(1290) : eval()'d code on line 142

Warning: in_array(): Wrong datatype for second argument in /includes/class_bbcode.php(1441) : eval()'d code on line 2

Warning: in_array(): Wrong datatype for second argument in /includes/class_bbcode.php(1441) : eval()'d code on line 2

Warning: in_array(): Wrong datatype for second argument in /includes/class_bbcode.php(1441) : eval()'d code on line 51

Warning: in_array(): Wrong datatype for second argument in /includes/class_bbcode.php(1441) : eval()'d code on line 99

Warning: in_array(): Wrong datatype for second argument in /includes/class_bbcode.php(1441) : eval()'d code on line 126

Warning: in_array(): Wrong datatype for second argument in /includes/class_bbcode.php(1501) : eval()'d code on line 2

Warning: in_array(): Wrong datatype for second argument in /includes/class_bbcode.php(1501) : eval()'d code on line 2

Warning: in_array(): Wrong datatype for second argument in /includes/class_bbcode.php(1501) : eval()'d code on line 51

Warning: in_array(): Wrong datatype for second argument in /includes/class_bbcode.php(1501) : eval()'d code on line 99

Warning: in_array(): Wrong datatype for second argument in /includes/class_bbcode.php(1501) : eval()'d code on line 126

Any one have any ideas ?

Froggy32701 07-08-2006 01:44 AM

Any help on this ? ^^

lanc3lot 07-10-2006 11:19 AM

Hello, is there any way, to change the text color, on the quotes? Is displaying in gray and with the background of the quote, cant be readed.

Other than that, its working ok:)

cclaerhout 07-11-2006 10:03 PM

Version 1.2 is out :
-new installation procedure
-many big problems corrected
-html code of new bbodes templates updated
-new bbodes templates tested and validated XHTML


To uninstall version 1.1, follow this procedure. Sorry for this. The version 1.2 avoids this now.

ForYou 07-12-2006 06:56 AM

Hello cclaerhout ,

Please I like this Version , I need install it but i can't becuase i use arabic font from right to left ,

Please help me and just let me how can o solve it if you don't have a time ,

Regards

cclaerhout 07-12-2006 07:30 AM

Quote:

Originally Posted by ForYou
Hello cclaerhout ,

Please I like this Version , I need install it but i can't becuase i use arabic font from right to left ,

Please help me and just let me how can o solve it if you don't have a time ,


Regards

You've already told me this and i had understood the first time. I've spent almost a week to debug and solve the problems. Beside this, i've got a job... ;). As i've already told you, when i saw the screen capture you've joined in your first message, i think the html code must be rewritten to use with right to left language. It requires time, but it first requires to have a good code otherwise i'm going to spend more time to make updates than to correct problems.

cclaerhout 07-12-2006 07:56 AM

Quote:

Originally Posted by ForYou
Hello cclaerhout ,

Please I like this Version , I need install it but i can't becuase i use arabic font from right to left ,

Please help me and just let me how can o solve it if you don't have a time ,


Regards

Well i've made a test, try this and tell me if it works. I know it's not real right to left. But it should work.

Scooterpig 07-12-2006 09:25 AM

Well I dunno what happened, but this was working fine for me before and now with the upgrade following it to the letter, it's gone? No nice boxes now at all.


All times are GMT. The time now is 05:04 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.02898 seconds
  • Memory Usage 1,868KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (15)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
  • (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