Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Oct 2020, 14:16
IT_Smart IT_Smart is offline
 
Join Date: Jul 2019
Edit vBulletin template with a code editor

Hello guys
A question about edit templates, is there a way to edit vBulletin templates from an external code editor, like NotePad++ or SublimeText?
But I'm not talking about copy and paste all the code of the template and paste it back into the vBulletin editor, but edit directly the code...

Context: We work with a VBulletin 4.2.3 and edit templates is really a PITA, no color coding, no indentation, you have to be, super-ultra careful when editing code.

This question was published in 2009
https://www.vbulletin.org/forum/showthread.php?t=84525
In this post is mentioned other text editor, but my question is, how can you access a template that is _inside the database and is not a simple file like template.php, how could you achieve that?

I did not want to add to the same thread because is very old, and I think, man, in 11 years things must have changed, so maybe there is a way now.

Please guys could you tell me if you guys were able to edit code with another editor?
I know that the vBulletin version we use is old, is 4.2.3 version when the new version in 5... btw, is the code editor improved?
Thank you all
Reply With Quote
  #2  
Old 29 Oct 2020, 22:24
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
There was a way way back then and there is a way now, I do this when creating templates myself for the same reasons, all my templates are files, and all I have to do is save the file and refresh the page. I do this my own way, and only really work with vB3 I have never released my product for this. But would be willing to give it vB4 compatibility for a fee.

There is also VDE but I haven't been able to get that working 100% myself. The reason I made my own product for this.
__________________
If you need custom work done please use Dirt RIF CustUmz
Owner of vBTeam
vBulletin 3.8.14 DRC Edition PHP 7.4 Compatible- NOT a null, NOT complete files Requires a legit copy of vBulletin 3.8.11.
Reply With Quote
  #3  
Old 03 Nov 2020, 22:35
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Perhaps, you can use something like this https://www.vbulletin.org/forum/showthread.php?t=257072 in a "workaround" manner, edit the templates in the generated file then upload again after modifying in your own text editor.
__________________
Daddy Does Dios and Figs!

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #4  
Old 04 Nov 2020, 02:03
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Real name: Ryan
why do that when you can just dump your files and write a plugin that reads straight from your files (not for use in a live site of coarse) but great for a dev environment.
Attached Images
File Type: png 2020-11-03_22-02-36.png (65.1 KB, 10 views)
__________________
If you need custom work done please use Dirt RIF CustUmz
Owner of vBTeam
vBulletin 3.8.14 DRC Edition PHP 7.4 Compatible- NOT a null, NOT complete files Requires a legit copy of vBulletin 3.8.11.
Reply With Quote
  #5  
Old 06 Nov 2020, 09:09
x iJailBreak x's Avatar
x iJailBreak x x iJailBreak x is offline
 
Join Date: Jan 2011
Originally Posted by Dr.CustUmz View Post
why do that when you can just dump your files and write a plugin that reads straight from your files (not for use in a live site of coarse) but great for a dev environment.
To be fair, I'd argue to an extent that it'd even be worthwhile having this on a live site to minimize hits to the database. With some work, it'd probably end up being much faster.
__________________
Professional web developer & sysadmin. Former bad man.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show Thread Enhancements [CKEditor] MARCO1 Advanced Editor - Quick Reply & Quick Edit With Full Editor Control MARCO1 vBulletin 4.x Add-ons 469 20 May 2019 08:04



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

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 01:03.

Layout Options | Width: Wide Color: