| Author |
Message |
Silmaril
Nuke Cadet


Joined: Oct 16, 2005
Posts: 1
|
Posted:
Sun Jan 15, 2006 5:35 am |
  |
Hi. Im having trouble with the wysiwyg editor in phpnuke 7.7 (TinyMCE editor)
I would rather that it wasnt there at all - is there a quick fix? I have seen other posts that tell you the code to add.... but it also appears that the posts have been edited - so i cant actually see what it is i am meant to do.
i tried using some patched files, and in doing that i wasnt able to veiw the site at all... it was the wysiwyg fix from nuke resources that i tried using.
I managed to restore the original files to get it back going.
In Any case, What i want to do is completely disable the wysiwyg if possible please for phpnuke v 7.7 |
|
|
   |
 |
dead__last
Sergeant


Joined: Aug 07, 2004
Posts: 88
|
Posted:
Sun Jan 15, 2006 9:40 am |
  |
In your config.php file: look for the line
$advanced_editor = 1;
change the 1 to a zero to disable tiny mce
so it should read
$advanced_editor = 0;
Hope that helps |
_________________ dead__last webmaster @ http://www.doom3.ca doom 3, Quake 4 and Enemy territory news, reviews etc. |
|
    |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Sun Jan 15, 2006 6:09 pm |
  |
|
     |
 |
Plasma
Lieutenant


Joined: Jan 02, 2004
Posts: 261
|
Posted:
Tue May 23, 2006 6:03 pm |
  |
| Evaders99 wrote: |
| You'll want to remove all the loading code from includes/javascript.php |
how is this done? |
|
|
   |
 |
Xyberian
Colonel


Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
|
Posted:
Tue May 23, 2006 6:22 pm |
  |
Follow my steps:
| Code: |
#
# -- [ OPEN ] --
#
<nuke-root>/includes/javascript.php
#
# -- [ FIND ] --
#
if ($nuke_editor == 1) {
.
.
.
.
.
.
}
#
# -- [ BEFORE, ADD ] --
#
/*
#
# -- [ AFTER, ADD ] --
#
*/
|
Good Luck. |
_________________ •NukeKorea Dev. Network.
•NukeKorea Laboratories |
|
    |
 |
Plasma
Lieutenant


Joined: Jan 02, 2004
Posts: 261
|
Posted:
Tue May 23, 2006 7:42 pm |
  |
I don't have that code in mine. i've tried pasting it here, but it keeps saying html not allowed |
|
|
   |
 |
Xyberian
Colonel


Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
|
Posted:
Tue May 23, 2006 8:51 pm |
  |
|
    |
 |
Plasma
Lieutenant


Joined: Jan 02, 2004
Posts: 261
|
Posted:
Wed May 24, 2006 2:23 am |
  |
| Xyberian wrote: |
| If so, your phpnuke 7.8 is not the correct uploaded one. |
that's weird, b/c the javascript.php file I uploaded was from freshly unzipped 7.8 file. i even looked in the patched files and fixes. i'll redownload it today and check again... |
|
|
   |
 |
Plasma
Lieutenant


Joined: Jan 02, 2004
Posts: 261
|
Posted:
Wed May 24, 2006 11:19 am |
  |
okay, i just downgraded to 7.6 patched today, how would I disable javascript with that version?
also, i forgot to mention, i'm getting these weird lines when I click on the admin
is that something related by chance? |
|
|
   |
 |
Xyberian
Colonel


Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
|
Posted:
Thu May 25, 2006 12:20 am |
  |
|
    |
 |
Plasma
Lieutenant


Joined: Jan 02, 2004
Posts: 261
|
Posted:
Thu May 25, 2006 2:30 am |
  |
i clears up after a few seconds. the weirder thing is I downgraded from 7.8 to 7.6 yesterday, and it still does it.
what is my best course of action here? just delete all the files and reupload them? or is that related to the db as well? |
|
|
   |
 |
sfetcu
Nuke Soldier


Joined: Dec 11, 2005
Posts: 34
|
Posted:
Thu May 25, 2006 3:09 am |
  |
It is not the best idea but for me it was the most efficient: after setting $advanced_editor = 0; in config file, I just delete the folder tiny_mce from includes/tiny_mce. I have no more troubles with wysiwyg for all the systems where I wanted to disable it. |
_________________ Nicolae Sfetcu
http://www.bestdownload.biz | http://www.sfetcu.com |
|
    |
 |
|
|