vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 06-09-2008, 11:39 AM
Ted Clore Ted Clore is offline
Member
 
Join Date: May 2007
Posts: 39
Default No Text Editor

For some reason I no longer have a text editor for a BB Code module. I turned off a module to edit it, and there was no editor to do this. When I turned the module back on, it no longer appears on any of the pages where it once did.

Got any ideas?

Am running vBa v. 3.0.1, and vB 3.7.1

Last edited by Ted Clore; 06-09-2008 at 11:42 AM.
Reply With Quote
  #2  
Old 06-09-2008, 01:54 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: No Text Editor

Are you using the 'GTSmiliebox' hack? If so, you will need to edit your 'Replace Templates - editor_smiliebox & editor_toolbar_on' plugin and update the PHP code so it will not try to replace the editor templates with templates that are not set.

Code:
if ($vbulletin->templatecache['editor_toolbar_on_GTSMILIEBOX_3700'] AND $toolbartype AND ($vbulletin->options['smtotal'] > 0 OR $vbulletin->options['wysiwyg_smtotal'] > 0))
{
 // replace templates
 $vbulletin->templatecache['editor_smiliebox'] = $vbulletin->templatecache['editor_smiliebox_GTSMILIEBOX_3700'];
 $vbulletin->templatecache['editor_toolbar_on'] = $vbulletin->templatecache['editor_toolbar_on_GTSMILIEBOX_3700'];
}
Reply With Quote
  #3  
Old 06-09-2008, 02:15 PM
Ted Clore Ted Clore is offline
Member
 
Join Date: May 2007
Posts: 39
Default Re: No Text Editor

Quote:
Originally Posted by Brian View Post
Are you using the 'GTSmiliebox' hack?
Yes. Thank you for the direction, prompt reply and advice, Brian.
Reply With Quote
  #4  
Old 06-09-2008, 03:39 PM
Ted Clore Ted Clore is offline
Member
 
Join Date: May 2007
Posts: 39
Default Re: No Text Editor

This works also, in case you don't want to edit templates.

Turn off the GTSmiliebox hack, change your module, and then turn it back on.
Reply With Quote
  #5  
Old 09-29-2008, 03:48 PM
katie hunter katie hunter is offline
Member
 
Join Date: Jun 2007
Posts: 68
Default

Hi Brian, I am not quite understanding what to edit, can u write more detail about this ?

Like replace what code with what code ?
Which files to edit exactly
Reply With Quote
  #6  
Old 09-30-2008, 09:29 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Replace all of the code in the plugin mentioned above with the code in the box.
Reply With Quote
  #7  
Old 12-18-2008, 05:29 AM
beduino beduino is offline
Member
 
Join Date: Jan 2006
Location: rio de janeiro
Posts: 49
Default

tks a lot
joao barroca
aka beduino
Reply With Quote
  #8  
Old 07-28-2009, 06:29 PM
Bulldog Stang Bulldog Stang is offline
Junior Member
 
Join Date: Nov 2008
Posts: 5
Default

I am also having this problem. I have done the above and it worked. However, I recently installed the vBTweak Hack and it is doing it again ... Is there a fix ??
Reply With Quote
  #9  
Old 07-29-2009, 11:44 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

Can't say I've ever heard of vBTweak... Have you tried checking the thread/site you downloaded it from to see if the author has posted a fix?
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
  #10  
Old 08-08-2009, 12:00 PM
tldagent tldagent is offline
Member
 
Join Date: Jun 2007
Posts: 31
Default

Quote:
Originally Posted by Brian View Post
Are you using the 'GTSmiliebox' hack? If so, you will need to edit your 'Replace Templates - editor_smiliebox & editor_toolbar_on' plugin and update the PHP code so it will not try to replace the editor templates with templates that are not set.

Code:
if ($vbulletin->templatecache['editor_toolbar_on_GTSMILIEBOX_3700'] AND $toolbartype AND ($vbulletin->options['smtotal'] > 0 OR $vbulletin->options['wysiwyg_smtotal'] > 0))
{
 // replace templates
 $vbulletin->templatecache['editor_smiliebox'] = $vbulletin->templatecache['editor_smiliebox_GTSMILIEBOX_3700'];
 $vbulletin->templatecache['editor_toolbar_on'] = $vbulletin->templatecache['editor_toolbar_on_GTSMILIEBOX_3700'];
}
Edit which templates? Replacement Templates? Some of the code is in red, which templates exactly do we have to edit?
Reply With Quote
  #11  
Old 08-08-2009, 12:04 PM
CareyCrew CareyCrew is offline
Gone. vB is worthless now
 
Join Date: Sep 2007
Posts: 1,676
Default

Quote:
If so, you will need to edit your 'Replace Templates - editor_smiliebox & editor_toolbar_on' plugin
__________________
Seen vB5 beta? No more vbulletin for me, done , gone,finished .
Reply With Quote
  #12  
Old 08-08-2009, 12:25 PM
tldagent tldagent is offline
Member
 
Join Date: Jun 2007
Posts: 31
Default Editor not showing up in Module Content

That certainly fixed my editor not showing up but it took some figuring out so I'll simplify it for others in the future.

If for some reason when you edit a module or create a new module the editor is not showing up for the actual Module Content it could be due to the GTSmilieBox. In my case it was and to fix it, here's what I did.

Step 1

Login to AdminCP and scroll down to Plugins and Products and select the Plugin Manager.

Step 2
Scroll down until you see the Product: GTSmiliebox - Move Smilies Below Editor and there are two options. Click: Replace Templates - editor_smiliebox & editor_toolbar_on

Step 3
The code you will see is:
Code:
if ($toolbartype AND ($vbulletin->options['smtotal'] > 0 OR $vbulletin->options['wysiwyg_smtotal'] > 0))
{
 // replace templates
 $vbulletin->templatecache['editor_smiliebox'] = $vbulletin->templatecache['editor_smiliebox_GTSMILIEBOX_3700'];
 $vbulletin->templatecache['editor_toolbar_on'] = $vbulletin->templatecache['editor_toolbar_on_GTSMILIEBOX_3700'];
}
Replace that with the code Brian provided above. The changed code is in the red. Here is the replacement code:
Code:
if ($vbulletin->templatecache['editor_toolbar_on_GTSMILIEBOX_3700'] AND $toolbartype AND ($vbulletin->options['smtotal'] > 0 OR $vbulletin->options['wysiwyg_smtotal'] > 0))
{
 // replace templates
 $vbulletin->templatecache['editor_smiliebox'] = $vbulletin->templatecache['editor_smiliebox_GTSMILIEBOX_3700'];
 $vbulletin->templatecache['editor_toolbar_on'] = $vbulletin->templatecache['editor_toolbar_on_GTSMILIEBOX_3700'];
}
Hopefully this will assist some of the less experienced. It worked for me.
Reply With Quote
  #13  
Old 11-16-2009, 09:54 PM
CaptJack CaptJack is offline
Junior Member
 
Join Date: Mar 2009
Posts: 1
Default

Thanks. This was exactly what was wrong with mine, and the fix was extremely easy to do.
Reply With Quote
Reply


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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editor Images... persian Troubleshooting & Problems 4 02-04-2011 12:31 PM
Module editor in RC2 Bigsbydapicka Troubleshooting & Problems 6 01-08-2008 03:03 PM
Editor Size dilbert05 Troubleshooting & Problems 5 12-22-2007 03:54 PM
ANOTHER problem with the editor... osousous Troubleshooting & Problems 3 12-01-2007 01:56 PM
WYSIWYG Editor reefland Chit Chat 3 03-30-2005 01:59 PM


All times are GMT -4. The time now is 07:36 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.