Live Previews

Started by DrCustUmz
  • 207 views
  • 0 replies
Live Previews Details »
W.I.P.
Live Previews
  • Info
Version:
By DrCustUmz Seen
Developer Last Online: Jan 2021

Info

Category: Unknown Rating: (No ratings yet) Installs: 0
Released: December 4th, 2020 Last Update: Never Downloads: () ()
 
No support by the author.

you must have jquery in your template in order for this to work, I did not provide it in the plugin because almost every site already has jQuery.
if you need jQuery you can install Drc -Core although is not required.

After searching for something to display live previews of a thread as it was being typed I came across two mods with similar functions although you needed to click to preview. I wanted something more automatic.

There are many ways to implement a "textarea" output to display things in real time as it's typed, but what about BBCODE we need to be able to show BBCODE within our preview, along with custom BBCODE.

I could have created my own JS and allow users to list their BBCODES as an option, but why make the end user enter every BBCODE they have in a list. Thus I opted to use vbulletin's default parser. Calling it every time there was a keypress was entered could prove to be VERY problematic for larger sites with multiple users creating threads at the same time. To overcome this I chose to add a delay, so when a user stops typing then the function is called thus providing the "live preview" those of you who have ever used codepen.io this feature is exactly like that.

Live previews work in:
New threads
Private Messages
Edit Thread
New Reply

Upon Downloading any DRC product you acknowledge and agree to abide by the following:
Products are designed for default vBulletin, downloads are as is and not guaranteed to work with your custom site.
You are permitted to alter the product code and images for your own personal use.
Under no circumstances is the code (original or modified) permitted to be redistributed.
Exceptions will only be made with written permission from Dirt RIF CustUmz.
All copyright notices must remain in the templates and are not to be modified.
Unless a One-Time or Universal Branding Free license is purchased. (contact me via PM until the shop is complete)
DRC products will collect installation statistics DETAILS HERE
If you have any concerns in regards to this, please contact me.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Changes

Images

Download

Addons