BBCode CSS wrap, version php.net

Will replace all your original bbcode wrappers to a CSS based template based on the PHP.net look.

here are the examples *(screenshot is because i may change the wrapper anytime for demos, so you are sure to see it):

nex_bbcode_wrap_phpnet.jpg

There will be other bbcode replacements like this one in the future, but you can not install more than one in the version that we have here… I may be releasing a style file if people request it, so you can dedicate the new bbcode wrappers to be applied to only your selected styles…

To take advantage of the MySQL bbcode, you need this: https://unpapapro.com/vbe-complimentaries/sql-mysql-query-highlighter/5141/

note: 08/24/09, updated, will now use the $stylevar[codeblockwidth], so it does not overflow on your postbit, and you can set the Code Block Width of all your styles to anything like 100%, 540px, or just 540, like originally… any width will fit.. Thanks to [user]Shelley[/user].

Views: 57

7 thoughts on “BBCode CSS wrap, version php.net”

  1. nexia dit :

    a note, with the PHP, HTML, MySQL and Quote, the title of the block is a link, for the quote it may refer to the original post, like usual, and the other three redirect the user to the main page of each individual reference page (php.net, html at w3school, mysql.com)

    also, all these templates are 100% CSS based, no table or wrong HTML… the only problem comes from vBulletin, i have to use

     tags instead of 

    in most of the templates due to the fact that vBulletin itself parse the bbcodes to fit only in a

     field, making it obsolete with HTML5/CSS3... but the code will be rehearsed on due time with vb 4.0

  2. Taragon dit :

    Interesting!
    Looking at this thread https://unpapapro.com/help-me-please/replace-using-custom-template/5121/, could you tell if it is attached to the vBulletin form width stylevars?

  3. nexia dit :

    nope… there is a little bug in the CSS that i forgot about, quotes inside quotes and obsolete templates… because vBulletin cache the posts, making it complicated to deal with replacement templates… i’ll fix this this evening…

  4. nexia dit :

    some errors in the CSS regarding quoting quotes force me to rewrite it a little bit… i’ve recoded the version for IPB3, so it’s easy…

  5. nexia dit :

    Ok, .. [user]Shelley[/user] reported to me that the width with IE8 was causing problem… so i have made a fix… now the system will use the default $stylevar variable that you can set in your Styles… the quoted quotes will also fit as they are set to 95% instead of a fixed width.

    first post edited with a newer file.

  6. wolf dit :

    Can you add SELECT ALL (used Script selectCode) in bbcode ? 😀

  7. nexia dit :

    hum, nope… anybody could, but i’m not adding any new code right now… sorry

Laisser un commentaire

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.

En savoir plus sur Un Papa Pro

Abonnez-vous pour poursuivre la lecture et avoir accès à l’ensemble des archives.

Continue reading