Go Back   vb.org Archive > Community Discussions > Style and Graphics Requests (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 07-21-2014, 09:33 PM
aminp30 aminp30 is offline
 
Join Date: Jul 2013
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
Oops ... corrected above. Thanks.

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

If you find a descent justify icon for the ckeditor, you might want to attach it to the post -- for others.

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

Comment -- This really needs a full JavaScript plugin to handle exceptions. Image placement and spacing is not handled correctly with just a simple HTML solution.
Great!
It works perfect. thanks a lot dear tbworld

Yes of course
I have two justify icon and also edited sprite.png and added justify and rtl and ltr.


Excuse me but I have another question. is there any way to use this bbcode as like as right and left and center? I mean it just affect on Source mode with no interface in normal mode?


Let's me thank you again for your tutorial.
Attached Files
File Type: zip hidpi.zip (4.7 KB, 3 views)
File Type: zip sprite.zip (54.6 KB, 3 views)
Reply With Quote
  #12  
Old 07-21-2014, 09:48 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aminp30 View Post
Excuse me but I have another question. is there any way to use this bbcode as like as right and left and center? I mean it just affect on Source mode with no interface in normal mode?
Glad your up and running...

Unfortunately, I cannot understand the next question. Could you clarify? Thanks.
Reply With Quote
  #13  
Old 07-21-2014, 10:04 PM
aminp30 aminp30 is offline
 
Join Date: Jul 2013
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
Glad your up and running...

Unfortunately, I cannot understand the next question. Could you clarify? Thanks.

ummmm! when you click on center button for example, in normal mode there is no tag but in source mode you can see [ center ] tag.
now if you click on justify button you can see [ justify ] tag both in normal and source mode.

is there any way to hide this tag in normal mode as like as other justify buttons?
was it clear?
Reply With Quote
  #14  
Old 07-21-2014, 10:26 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for restating. Let me look at it a bit, and the answer is yes. I just didn't notice it was there. I am a little surprised it is not stripped by default, but obviously I overlooked something.

Quick fixes are never quick

I will take a look at it later today, thanks for pointing it out. If I have time I will rewrite the plugin in JavaScript and fix the image positioning problems.
Reply With Quote
  #15  
Old 07-21-2014, 10:43 PM
aminp30 aminp30 is offline
 
Join Date: Jul 2013
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
Thank you for restating. Let me look at it a bit, and the answer is yes. I just didn't notice it was there. I am a little surprised it is not stripped by default, but obviously I overlooked something.

Quick fixes are never quick

I will take a look at it later today, thanks for pointing it out. If I have time I will rewrite the plugin in JavaScript and fix the image positioning problems.
nice sentence!

thanks a lot, :flower:

I taked a look at plugin.js in justify folder in "clientscript\ckeditor\plugins".

Justify completely defined there. look at this codes:

Code:
CKEDITOR.plugins.add( 'justify',
	{
		init : function( editor )
		{
			var left = new justifyCommand( editor, 'justifyleft', 'left' ),
				center = new justifyCommand( editor, 'justifycenter', 'center' ),
				right = new justifyCommand( editor, 'justifyright', 'right' ),
				justify = new justifyCommand( editor, 'justifyblock', 'justify' );
I think these codes are OK. the problem is somewhere else.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:08 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03808 seconds
  • Memory Usage 2,228KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (2)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete