![]() |
Thanks so much - installed and working nicely. I even modified it to include an AS3S tag for ActionScript3 since that is used on my forums frequently.
|
You're welcome, but thank the GeSHi coders more than me. :P All I did was show how to use it for vBulletin--they're the ones who provided such an awesome project. :3
|
How to add button for lua ?
I added a lines in XML file for lua But the button didn't show up in Editor ... I have already put a pic for it ! Can you tell me how to add a button in editor or make this mod with buttons ? |
On the plugin GeSHi BB Codes (hook location bbcode_create), add the following:
PHP Code:
Title: Lua Source Code BB Code Tag Name: luas Replacement: {Placeholder} Example: print("Herro World") Description: Prints out Lua code all nicely formatted. Use {option}: No Button Image (Optional): --here is where you would specify a button image. Remove Tag If Empty: Yes Disable BB Code Within This BB Code: Yes (well, depends on if you want or not) Disable Smilies Within This BB Code: Yes Disable Word Wrapping Within This BB Code: No Disable Automatic Link Parsing Within This BB Code: Yes Then test it out. |
Quote:
But this did not work ... There is no LUA button in editor I did what you say exactly :( |
Its works the problem is I was using a plugin that add more buttons to editor such as pdf / flash / advanced colors ...etc
when i disabled it .... it works ! I don't know if there a solution to keep both works :confused: |
Hmm. What's the modification? Can you link it? Maybe I can modify my thing to be compatible with it (although I'm not sure why it would be incompatible).
|
Quote:
This Product : http://www.wahtaljouf.com/wahtools/wah-tools-editor.zip same but UTF-8 Encoding : http://www.wahtaljouf.com/wahtools/w...ditor-utf8.zip Info : http://www.traidnt.net/vb/traidnt1998010/ Its in Arabic language not English but you can see the images to have the idea about this product |
When I've tried using this mod, at least with the php code, it actually was causing an error when you try to load the thread. Has anyone else experienced this?
|
Can you make this script looks like this codebox
http://forum.mtasa.com/viewtopic.php...=47798#p473505 appears as code with using lua highlight support & ofcource with rows id |
All times are GMT. The time now is 05:39 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|