Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Urdu Editor Integration for vBulletin 4.1.6 Details »
Urdu Editor Integration for vBulletin 4.1.6
Mod Version: 1.00, by simunaqv (Member) simunaqv is offline
Developer Last Online: May 2018 I like it Show Printable Version Email this Page

vB Version: 4.1.6 Rating: (3 votes - 5.00 average) Installs: 13
Released: 11 Oct 2011 Last Update: 12 Oct 2011 Downloads: 118
Not Supported Uses Plugins Template Edits Re-usable Code  

Hello,

Since the introduction of CKEditor in newer versions of vbulletin, the Urdu editor cannot be integrated simply by including some javascript code inside the headinclude template. I have therefore written a ckeditor plugin to enable Urdu text editing. This plugin is part of the Urdu editor integration that I am providing here. This makes it possible to type Urdu even in the wysiwyg mode. The following screenshots show the editor on the post page in standard editor mode and the wysiwyg mode respectively.






Installation

1. Unpack the zip-archive and upload the contents of the upload folder to your forum file area.

2. Import the product file product-urdu_editor.xml

3. Open template headinclude
Add at the end the following code:



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

4. Open template editor_contents.css
Add at the end the following code:



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Customization of the Urdu editor


In order to modify the font of the non-wysiwyg editor, change the font name in the following line:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To modify the font of the wysiwyg editor you will need to adapt the css code added to the editor_content.css template.

Update October 12, 2011


-fixed a bug in the CKEditor plugin that prevented Urdu editor integration in the standard editor mode.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Integration with vBulletin Virtual Urdu Editor for vBulletin 4 Post Reader vBulletin 4.x Add-ons 10 27 Oct 2011 10:55
New Posting Features Add an Urdu Editor to your vBulletin forum - Urdu OpenPad integration simunaqv vBulletin 3.6 Add-ons 113 10 Apr 2011 08:09

Comments
  #2  
Old 11 Oct 2011, 21:26
SpaceStar SpaceStar is offline
 
Join Date: Apr 2005
Assalamo Allaikum

Where to find: Open template editor_contents.css ?
Reply With Quote
  #3  
Old 11 Oct 2011, 21:51
Shadow's Avatar
Shadow Shadow is offline
 
Join Date: Jan 2011
Location: Planet Earth
AdminCP --> Styles and Templates --> Search in Templates.

Type in editor_contents.css in to the box and select Yes on "Search Titles Only". Click Find and you should get what you're looking for.
Reply With Quote
  #4  
Old 11 Oct 2011, 21:54
SpaceStar SpaceStar is offline
 
Join Date: Apr 2005
Originally Posted by Shadow786 View Post
AdminCP --> Styles and Templates --> Search in Templates.

Type in editor_contents.css in to the box and select Yes on "Search Titles Only". Click Find and you should get what you're looking for.
I did that - but I didn't find anything - that's why I posted here
Reply With Quote
  #5  
Old 12 Oct 2011, 00:37
SpaceStar SpaceStar is offline
 
Join Date: Apr 2005
I found out why I couldnt find editor_contents.css - I was using an elder version of vBulletin.

It's a much needed mod for urdu boards, I have installed it and it works ok, though I have disabled it again. Reason? None of the icons are showing in the WYSIWYG editor, see image attached.

If you reply to a post and click in on the Urdu, the cursor jumps to the title field instead of the editing field.

Reply with Quote - does not work anfter this mod neither do the Reply button.

Quick reply looks very odd
Attached Images
File Type: png 12-10-2011 02-30-03.png (11.3 KB, 60 views)
Reply With Quote
  #6  
Old 12 Oct 2011, 02:31
M.Iftikhar's Avatar
M.Iftikhar M.Iftikhar is offline
 
Join Date: May 2011
very nice brother i will cheeked this i am very thankful to you.....i am waiting many days ago...thanks
Reply With Quote
  #7  
Old 12 Oct 2011, 03:40
M.Iftikhar's Avatar
M.Iftikhar M.Iftikhar is offline
 
Join Date: May 2011
does it work 4.1.7 i try but it could not work....please tell me does it work or not in 4.1.7..thanks and reply me soon.
Reply With Quote
  #8  
Old 12 Oct 2011, 04:22
M.Iftikhar's Avatar
M.Iftikhar M.Iftikhar is offline
 
Join Date: May 2011
Originally Posted by Shadow786 View Post
AdminCP --> Styles and Templates --> Search in Templates.

Type in editor_contents.css in to the box and select Yes on "Search Titles Only". Click Find and you should get what you're looking for.
you can find editor_contents.css in CSS Templates...thanks
Reply With Quote
  #9  
Old 12 Oct 2011, 07:10
simunaqv simunaqv is offline
 
Join Date: May 2007
Originally Posted by SpaceStar View Post
I found out why I couldnt find editor_contents.css - I was using an elder version of vBulletin.

It's a much needed mod for urdu boards, I have installed it and it works ok, though I have disabled it again. Reason? None of the icons are showing in the WYSIWYG editor, see image attached.

If you reply to a post and click in on the Urdu, the cursor jumps to the title field instead of the editing field.

Reply with Quote - does not work anfter this mod neither do the Reply button.

Quick reply looks very odd
You don't need buttons to type Urdu or to switch language mode. These buttons are not available for wysiwyg mode. You can instead use the CTRL+SPACE shortcut for switching the language mode. Alternatively you can change preferences in your profile settings to use the standard editor instead of the wysiwyg one. This will then appear with the language controls.


Originally Posted by M.Iftikhar View Post
does it work 4.1.7 i try but it could not work....please tell me does it work or not in 4.1.7..thanks and reply me soon.
I did not test it on 4.1.7. What is the problem that you are facing?
__________________
Urdu Mehfil Forum
Reply With Quote
  #10  
Old 12 Oct 2011, 08:23
M.Iftikhar's Avatar
M.Iftikhar M.Iftikhar is offline
 
Join Date: May 2011
Standard Editor - Extra formatting controls USE KIY HA LAKIN YA WORK NAHI KR REHA YA MOD SELECT KRNA SE URDU TU BILKUL EDITOR MEIN TYPE NAHI HOTI.....
Enhanced Interface - Full WYSIWYG Editing..KRNA SE TYPE HOTI HA LAKIN NA BACKGROUND COLOR SHOW HOTA HA OR NA LANGUAGE CONTROL SHOW HOTA HA....ZARA BAHI YA KAM KR DY.......THANKS
Reply With Quote
  #11  
Old 12 Oct 2011, 08:58
SpaceStar SpaceStar is offline
 
Join Date: Apr 2005
Originally Posted by simunaqv View Post
You don't need buttons to type Urdu or to switch language mode. These buttons are not available for wysiwyg mode. You can instead use the CTRL+SPACE shortcut for switching the language mode. Alternatively you can change preferences in your profile settings to use the standard editor instead of the wysiwyg one. This will then appear with the language controls.
brother I have a very odd Advance Reply layout - none of the icons are visible - as you can see in the image, I attached to my previous post. I had upgraded vBulletin to 4.1.7.

Quick Reply is looking equally odd.
Reply With Quote
  #12  
Old 12 Oct 2011, 09:03
JAFRI's Avatar
JAFRI JAFRI is offline
 
Join Date: Jun 2009
Good work, i need this ;-) just i like some changing.

var urdueditor_lang = 0; // 1: Urdu, 0: English
Reply With Quote
  #13  
Old 12 Oct 2011, 09:41
M.Iftikhar's Avatar
M.Iftikhar M.Iftikhar is offline
 
Join Date: May 2011
Originally Posted by JAFRI View Post
Good work, i need this ;-) just i like some changing.

var urdueditor_lang = 0; // 1: Urdu, 0: English
WHAT IS MEAN (var urdueditor_lang = 0; // 1: Urdu, 0: English)
Reply With Quote
  #14  
Old 12 Oct 2011, 09:45
uhking uhking is offline
 
Join Date: Dec 2010
Originally Posted by SpaceStar View Post
It's a much needed mod for urdu boards, I have installed it and it works ok, though I have disabled it again. Reason? None of the icons are showing in the WYSIWYG editor, see image attached.

Quick reply looks very odd
Brother, you should change the directory of the images in stylvars:

in Stylvars find (imgdir_editor) click on it and change image path to "images/editor"

Thanks,
Reply With Quote
  #15  
Old 12 Oct 2011, 10:30
JAFRI's Avatar
JAFRI JAFRI is offline
 
Join Date: Jun 2009
Originally Posted by uhking View Post
Brother, you should change the directory of the images in stylvars:

in Stylvars find (imgdir_editor) click on it and change image path to "images/editor"

Thanks,
change bburl.

bburl}/image/xxxx/xxxx
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 12:15.

Layout Options | Width: Wide Color: