You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 65 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - wysiwyg. [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Silmaril
Nuke Cadet
Nuke Cadet


Joined: Oct 16, 2005
Posts: 1


PostPosted: Sun Jan 15, 2006 5:35 am Reply with quoteBack to top

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
Find all posts by SilmarilView user's profileSend private message
dead__last
Sergeant
Sergeant


Joined: Aug 07, 2004
Posts: 88


PostPosted: Sun Jan 15, 2006 9:40 am Reply with quoteBack to top

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.
Find all posts by dead__lastView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12383


PostPosted: Sun Jan 15, 2006 6:09 pm Reply with quoteBack to top

You'll want to remove all the loading code from includes/javascript.php

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Plasma
Lieutenant
Lieutenant


Joined: Jan 02, 2004
Posts: 261


PostPosted: Tue May 23, 2006 6:03 pm Reply with quoteBack to top

Evaders99 wrote:
You'll want to remove all the loading code from includes/javascript.php



how is this done?
Find all posts by PlasmaView user's profileSend private message
Xyberian
Colonel
Colonel


Joined: Mar 14, 2004
Posts: 1921

Location: Behind you

PostPosted: Tue May 23, 2006 6:22 pm Reply with quoteBack to top

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
Find all posts by XyberianView user's profileSend private messageVisit poster's website
Plasma
Lieutenant
Lieutenant


Joined: Jan 02, 2004
Posts: 261


PostPosted: Tue May 23, 2006 7:42 pm Reply with quoteBack to top

I don't have that code in mine. i've tried pasting it here, but it keeps saying html not allowed
Find all posts by PlasmaView user's profileSend private message
Xyberian
Colonel
Colonel


Joined: Mar 14, 2004
Posts: 1921

Location: Behind you

PostPosted: Tue May 23, 2006 8:51 pm Reply with quoteBack to top

If so, your phpnuke 7.8 is not the correct uploaded one.

_________________
NukeKorea Dev. Network.
NukeKorea Laboratories
Find all posts by XyberianView user's profileSend private messageVisit poster's website
Plasma
Lieutenant
Lieutenant


Joined: Jan 02, 2004
Posts: 261


PostPosted: Wed May 24, 2006 2:23 am Reply with quoteBack to top

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...
Find all posts by PlasmaView user's profileSend private message
Plasma
Lieutenant
Lieutenant


Joined: Jan 02, 2004
Posts: 261


PostPosted: Wed May 24, 2006 11:19 am Reply with quoteBack to top

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

Image


is that something related by chance?
Find all posts by PlasmaView user's profileSend private message
Xyberian
Colonel
Colonel


Joined: Mar 14, 2004
Posts: 1921

Location: Behind you

PostPosted: Thu May 25, 2006 12:20 am Reply with quoteBack to top

You have a serious loading problem of scripts for TinyMice.

_________________
NukeKorea Dev. Network.
NukeKorea Laboratories
Find all posts by XyberianView user's profileSend private messageVisit poster's website
Plasma
Lieutenant
Lieutenant


Joined: Jan 02, 2004
Posts: 261


PostPosted: Thu May 25, 2006 2:30 am Reply with quoteBack to top

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?
Find all posts by PlasmaView user's profileSend private message
sfetcu
Nuke Soldier
Nuke Soldier


Joined: Dec 11, 2005
Posts: 34


PostPosted: Thu May 25, 2006 3:09 am Reply with quoteBack to top

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
Find all posts by sfetcuView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.276 Seconds - 322 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::