![]() |
VEA (EditArea for vb :: Code Editor for Template)
1 Attachment(s)
This small mod for vb is the integration di EditArea (http://www.cdolivet.com/index.php?page=editArea) in admin panel on the windows "large edit box"
(work also with the older versions of vb, i think from 3... 3.5) EditArea is a free javascript editor for source code (That is no way a WYSIWYG editor). This editor is designed to edit souce code files in a textarea. The main goal is to allow text formatting, search and replace and real-time syntax highlight (for not too heavy text). All rights di EditArea are of Christophe on cdolivet.com but he has released this software on license LGPL, Apche and BSD. Therefore free and freely distributable and then have now VEA :cool: Is beautifulst for work on the template online ;) Installation: Upload the folder "edit_area" which is in the zip Attachment 98722 in folder /admincp Open file /admincp/textarea.php delete all between (line 35) (before you make a copy of backup) HTML Code:
$vbulletin->GPC['name'] = preg_replace('#[^a-z0-9_-]#', '', $vbulletin->GPC['name']); and (line 77) HTML Code:
<?php Now replace with HTML Code:
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> The languages are: "Croatian, Czech, Danish, Dutch, English, Esperanto, French, German, Italian, Japanese, Macedonian, Polish, Portuguese, Russian, Slovak, Spanish" I have set up some tag of common use for vb and html: "condition, else, div, table, tr, td, br, strong, img, url, span" but is very easy add others or to modify these. Sorry for my english Support in italian on vBulletinItalia.it |
thanks! if you can improve it a little bit...maybe without changing vbulletin php files, it would be better..but i like it ;)
|
Quote:
But this file is equal on most vb version, if you copy can make upgrade of vbulletin without problem. |
Excellent hack ! :)
|
Quote:
|
Looks great! Useful integration for template editing. However, can you also do a mod or enable it for plugin editing? Thanks.
|
|
Quote:
Quote:
however if the moderators think that this my hack is a double/copy can also cancel this thread :) Edit: i have also add the button for some tag of common use for vb |
Uno, Thx! Very nice hack :)
Installed |
Tagged, I'll be looking into this mod - Thanks!
:D |
All times are GMT. The time now is 05:04 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:
|