vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Justify (https://vborg.vbsupport.ru/showthread.php?t=312217)

Toorak Times 06-17-2014 12:22 PM

Justify
 
I was actually stunned today, I have sought a way to add 'justify' to my WYSIWYG, old school publisher, so I can have justified galleys of type for my Publishing Suite, no results, although I found a bbcode that doesn't work in 4.2.2pl1.

THEN I, must be thick, find that in my Blogs 'justify' exists! Have a look...http://www.tooraktimes.com.au/entry....-the-Hierarchy

Can anyone tell me how to get this happening in my CMS by default please?

A simple fix for this would have an enormous impact on the Publishing Suite as a whole I reckon.

My site may get the record for over modified but so much of the basic hacks should just, somehow, be embraced and made organic.

I still love the flexibility of vBulletin, been struggling to understand why the Blogs, Calendars and CMS are so under rated amongst developers, but realise MOST didn't want or need a CMS. To me it was a godsend.

kh99 06-17-2014 01:06 PM

It seems the blog is justified because somewhere in the css (I couldn't immediately find where), class_blogcontent contains "text-align: justify". So if you could figure out the class for the CMS content you should be able to add something similar. Or it seems like you should be able to create a custom JUSTIFY bbcode by making the replacement something like:
Code:

<span style="text-align: justify;">{param}</span>
but I haven't tried either of these methods yet.

Toorak Times 06-17-2014 01:57 PM

Quote:

Originally Posted by kh99 (Post 2502322)
It seems the blog is justified because somewhere in the css (I couldn't immediately find where), class_blogcontent contains "text-align: justify". So if you could figure out the class for the CMS content you should be able to add something similar. Or it seems like you should be able to create a custom JUSTIFY bbcode by making the replacement something like:
Code:

<span style="text-align: justify;">{param}</span>
but I haven't tried either of these methods yet.


Thanks for the quick response mate, I'll give the bbcode a run

--------------- Added [DATE]1403082020[/DATE] at [TIME]1403082020[/TIME] ---------------

No joy with bbcode, thanks anyway


All times are GMT. The time now is 05:11 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.01303 seconds
  • Memory Usage 1,719KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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