![]() |
Quick switch Editor Interface (b/w Standard and Enhanced)
Hack name: Quick switch Editor Interface
Author: HacNho Version: 1.0.1 Description: This hack will switch Editor Interface to Standard or Enhanced Editor (WYSIWYG) (in user profile) by one click when you are editing/posting File to edit: 0 File to upload: 1 (changeinterface.php) Template to edit: 4 ( editpost, newthread, newreply, pm_newpm) Limitation: The pm_newpm only work when sending to 1 user, or pmid exists Screenshot: EditorInterface.gif (20.2 KB) Installation: changeinterface-install.txt (3.4 KB) Step 1: Upload changeinterface.php to your forum directory Step2: Edit templates editpost ... Step 3: Edit templates newthread ... Step 4 Edit templates newreply ... Step 5 Edit template pm_newpm Step 6 Test change interface when (1) edit, (2) post new reply, (3) post new thread, (4) send new PM and reply PM Do I miss anything? Maybe a script to autodetect the sending process (edit or reply or newthread or PM) would be nice, so you dont have to edit individual templates ... but I dont know how yet :D, dont want to execute too many scripts either. Update: version 1.0.1 - add switch for sending pm - optimize the php file and templates (upgrade instruction: redo all the steps) https://vborg.vbsupport.ru/ https://vborg.vbsupport.ru/ https://vborg.vbsupport.ru/ https://vborg.vbsupport.ru/ https://vborg.vbsupport.ru/ https://vborg.vbsupport.ru/ |
2 problems.
|
Quote:
... and the instruction file too |
Please post the instructions in a text file. That way it will be easier to download and save for future use also, instead of having to come to this thread the re-install it on an upgrade. Thank you. ;)
|
Quote:
|
Thankyou for sharing your modification with the community :)
|
Nice work mtha - I'll probably use this.
|
Quote:
[high]* Boofo clicks the install button repeatedly.[/high] |
In step 5:
Look for: $vbphrase[reply_to_thread] should be Look for: $vbphrase[post_new_private_message] right? |
Added a little functionality:
Replace all: Code:
$bbuserinfo[showvbcode]</a> Code:
<if condition="$bbuserinfo[showvbcode]=='2'">WYSIWYG Editor<else />Standard Editor</if></a> |
All times are GMT. The time now is 06:28 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:
|