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, 441 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 - HTML Debugged php-nuke? [ ]
 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
wHiTeHaT
Private
Private


Joined: May 31, 2003
Posts: 41


PostPosted: Sat May 24, 2008 11:57 pm Reply with quoteBack to top

Is there a version where all html inside nuke is debugged.

So that there a closing font , center ,tr , td , and table tags.

Couse else the use of a filter to make php-nuke xhtml valid would be useless.
I found a methode to run xhtml/css valid themes from freecssthemes.org .
It would bring some new life to nuke community and fun.

I founded old references on the phpnuke.org website where several peep announced they cleaned up the html in nuke.
However none of website's where was linked to working nomore.

If you feel yourself into clean nuke's html , give me a call.
I will then launch a website related to php-nuke xhtml/css validation , what go hold a filter to transform html to xhtml and a xhtml/css valid themes download area.

Grtzzz wHiTeHaT Wink
Find all posts by wHiTeHaTView user's profileSend private messageVisit poster's website
spottedhog
Captain
Captain


Joined: Apr 30, 2004
Posts: 561


PostPosted: Sun May 25, 2008 3:38 am Reply with quoteBack to top

There have been several "forks" of Nuke made which have cleaned up the html code, mine included. (SMF-Nuke) http://www.smf-nuke.com

My fork however does not use the Nuke themes, but instead, uses the SMF themes. Most of the SMF themes are written to be xhtml compliant, as is SMF.

...just depends on your flavor of nuke...

_________________
SMF-Nuke admin

SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Find all posts by spottedhogView user's profileSend private messageSend e-mailVisit poster's website
wHiTeHaT
Private
Private


Joined: May 31, 2003
Posts: 41


PostPosted: Sun May 25, 2008 3:41 am Reply with quoteBack to top

yes i checked your smf (and other forks), however it isnt what i wanted or expected.
As i really need a original nuke where html is "debugged" not cleaned.

Grtzz wHiTeHaT Wink
Find all posts by wHiTeHaTView user's profileSend private messageVisit poster's website
spottedhog
Captain
Captain


Joined: Apr 30, 2004
Posts: 561


PostPosted: Sun May 25, 2008 4:08 am Reply with quoteBack to top

As you have probably seen, slim to none will be your chances of finding that.

sorry...

_________________
SMF-Nuke admin

SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Find all posts by spottedhogView user's profileSend private messageSend e-mailVisit poster's website
wHiTeHaT
Private
Private


Joined: May 31, 2003
Posts: 41


PostPosted: Sun May 25, 2008 4:14 am Reply with quoteBack to top

You might be right Crying or Very sad

It is strange that devellopers work on a code what isnt clean @ start.

when i was applying a filter to convert html to xhtml i discovered all the html errors.
As they are verry hard to trace back and time consuming, i felt demotivated to continue the project i started.

I have many pages already xhtml valid (most of the module's index pages)
by just add a filter in footer.

wich you can see here : http://www.liveadds.nl
Find all posts by wHiTeHaTView user's profileSend private messageVisit poster's website
spottedhog
Captain
Captain


Joined: Apr 30, 2004
Posts: 561


PostPosted: Sun May 25, 2008 4:23 am Reply with quoteBack to top

Well, as long as the project leader of phpnuke does not do anything with html coding, then there will be little progress.

by the way, I took a look at the link you gave. Nice theme, however, you removed the PHPNuke notice, etc. from the footer. As much as we may not like the original phpnuke, we should still put some kind of statement of where the code originated....

_________________
SMF-Nuke admin

SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Find all posts by spottedhogView user's profileSend private messageSend e-mailVisit poster's website
wHiTeHaT
Private
Private


Joined: May 31, 2003
Posts: 41


PostPosted: Sun May 25, 2008 4:27 am Reply with quoteBack to top

i removed noting.
reference to php nuke is setted in the database.
The footer message is configured inside the theme.
This version comes from nukescripts.

Or dont you mean abouth legal terms?

anyway... "it wasnt me!!!"

[EDIT]

To provide all the flavour i added a copyright
Find all posts by wHiTeHaTView user's profileSend private messageVisit poster's website
wHiTeHaT
Private
Private


Joined: May 31, 2003
Posts: 41


PostPosted: Sun May 25, 2008 5:10 am Reply with quoteBack to top

btw i checked your smf system's homepage and clicked the xhtml validator icon , but your index page isnt pass the validator test.

i dont want to be arrogant, offencing or something else , but it isnt correct policy from development point of view.

Especialy if point fingers to others.

However i could understand that there might be no interess anymore, to have your site validated.
Find all posts by wHiTeHaTView user's profileSend private messageVisit poster's website
spottedhog
Captain
Captain


Joined: Apr 30, 2004
Posts: 561


PostPosted: Sun May 25, 2008 6:00 am Reply with quoteBack to top

I was not pointing fingers...

There is policy in place with respect to Open Source, etc. and this has been talked to death in years past. The bottom line is, whether one agrees or not, there must be a mention of where the software orginated.

Since it stated on the home page of your link that the code was downloaded from NukeScripts, I assumed the author/maintainer of NukeScripts is very good about keeping copyrights, etc. in code. Of course I do not know which archive you downloaded from NukeScripts, and maybe I was wrong to assume. I know Bob is very careful about this kind of thing. Maybe he has a different interpretation when it comes to specifically listing phpnuke in the footer. I am not sure since I have not asked him this question.

I realize the current website setup does not validate, and what does not validate is being addressed in the next release. It is very difficult to make everything perfect, considering where all areas of a page are pulled from. In many respects, it can be nearly impossible to make any and every singly viewed page to be 100% valid using CMS software.

However, the nuke part of the code has been rewritten to remove the most offending html tags, and each area where text is entered is filtered to not allow any non-valid html tags.

Quote:
However i could understand that there might be no interess anymore, to have your site validated.


Now here is where you are mistaken. Foremost in my mind is to write proper html when I am recoding. When I recoded the entire 7.6 version, I made the rewritten code compliant. As you might imagine, rewriting the entire nuke code is not a quick nor easy task.

And now as I am converting modules written by others, I am continuously changing html code since none of it, count 'em, none of it has been remotely close to being valid.

If you have been a site member here for a long time, you may have remembered the times I proposed creating a "Best Practices" and to have areas where html compliant modules/blocks/themes were available, but nothing ever came of that.

The bottom line is, making Nuke valid/compliant is a daily goal and is the first thought in rewriting or creating Nuke modules and blocks. In my mind, Security and html compliance are the primary concerns of any coding done for SMF-Nuke.

Is SMF-Nuke XHTML Strict valid? No... but with each passing day it is closer and closer. And, it is light years ahead of any code put out from phpnuke.org We will get there in time. Current priorities are to convert outside written modules to work with SMF-Nuke, so XHTML Strict validation for the core code is not being addressed at this time. It is however in the works for future releases.

PS. Never said we could pass the XHTML Strict validation, but I am aware of what needs to be done to get there. How many other "forks" are rewriting outside modules and blocks to make them compliant? How many other forks are only putting compliant modules/blocks. etc. in the Downloads?

_________________
SMF-Nuke admin

SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Find all posts by spottedhogView user's profileSend private messageSend e-mailVisit poster's website
wHiTeHaT
Private
Private


Joined: May 31, 2003
Posts: 41


PostPosted: Sun May 25, 2008 6:13 am Reply with quoteBack to top

the pointing fingers part isnt ment as how it sounds.
However i not agree that a cms cant be 100% validated, if think like that, you will never succeed, couse you dont force yourself to have it 100% validated.
I think it is a mistake you make here.

Infact , just 2 minutes ago i fix the problem of having a form btween tags for example : < p > < form ... < / form > < / P> .
Couse of the theme part loads all between setted text as
< p > $ content < / P >

With a simple solution from karakas to have different style per block i managed to show a form inside a block what doesnt break validation.
Code:
$thisblocktitle = ereg_replace(" ","_", $title);
if (file_exists("themes/themename/$thisblocktitle.html")){
    $tmpl_file = "themes/themename/$thisblocktitle.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
 } else {

It is truly that all we need is out there, just need to find it and find out how to use it.
Find all posts by wHiTeHaTView user's profileSend private messageVisit poster's website
spottedhog
Captain
Captain


Joined: Apr 30, 2004
Posts: 561


PostPosted: Sun May 25, 2008 6:23 am Reply with quoteBack to top

Yes, one can/should control what they are able to control.

The key to what you are saying is to centralize all this info, however, to date, no one has stepped up to do it with Nuke code. I am quietly doing that with my fork, however, I am not 100% there yet.

_________________
SMF-Nuke admin

SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Find all posts by spottedhogView user's profileSend private messageSend e-mailVisit poster's website
wHiTeHaT
Private
Private


Joined: May 31, 2003
Posts: 41


PostPosted: Sun May 25, 2008 6:25 am Reply with quoteBack to top

I wish you good luck Wink

Now lets fix this damn thing Laughing

Grtzz wHiTeHaT Wink
Find all posts by wHiTeHaTView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Sun May 25, 2008 1:13 pm Reply with quoteBack to top

RavenNuke is another project that is working on HTML validation. I don't think they are doing XHTML Strict just yet, but check it out
http://www.ravenphpscripts.com

_________________
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
wHiTeHaT
Private
Private


Joined: May 31, 2003
Posts: 41


PostPosted: Sun May 25, 2008 1:24 pm Reply with quoteBack to top

Hello ... yes i seen .. but common, i apreciate theire effors etc etc..
But where is php-nuke here?
raven does XHTML 1.0 Transitional what is good enough it is same i try to achieve for nuke, and i comming verry verry close.

They do a good job, no mistaken me here.

But when ever i see such dev's it mostly go become a big container with all inside and hard to trace back what is been done.
I think the raven project is to much distanciated from original nuke.
Btw i just fixed some other problems with the nuke's html bug's.
Did you now it is full of it , what a shame and what a pitty, i think if there where no default HTML errors it would have been validated already.

So.. bring hands together and do some html debugging lol

Grtzz wHiTeHat Wink

( i dont want to flame other nuke fork or projects, but PLEASE PLEASE before you create something , first CHECK your code for validation , and better make sure when ever you code for something, that it is validated first... before you even start to add your own.it took me a while to see these things much clearer and i have an excelent teacher in this occasion ) Laughing
Find all posts by wHiTeHaTView user's profileSend private messageVisit poster's website
wHiTeHaT
Private
Private


Joined: May 31, 2003
Posts: 41


PostPosted: Tue May 27, 2008 1:15 pm Reply with quoteBack to top

Hello @all....

Maby it is a bit pitty of me to let the readers of this topic know that i succeed a 90% of XHTML validation.
what left to do is:

-Survey's Comments page
-Story Page(article.php) + Comments + the article's right colum (vote,more abouth.. etc etc)
-Statistics pages.

Not much anymore no?

Anyway what i also need to do is check for all pages when there is a user logged in or is guest ( i sometime worked in both modes)
Also i need to check parts where there is option to have the wysiwyg disabled or enabled ( i also sometime had it en-disabled so i cannot garentee a 100% yet), however all that is verry easy to fix , just a little time consuming.
What is also a good point is that i also check pages that requires submission , where either is showed a preview of what is submitted or is given a confirmation ( for example Submit News).
I also need to check the all Your Account when user is logged-in.
Guest visits is already 100% validated for this module.
I also validated admin's index page.
There will go be soon a special site opened for this php-nuke add-on/Tweak.
Curently involved files what require change:
header.php
mainfile.php
footer.php
the changes are verry small.

For header comes a check to the selected themes , it will be a check to lookup used doctype and used style, if the selected theme dont contain one of these it will proceed in original nuke settings.
For the mainfile i had to disable php version checking and the gzip compression.
This might go be fixed with a workaround, the reason is related to the
ob_start ( ' ob_gzhandler ' ) ;

in the footer there is added a filter what releis on the ob start function


Anyway ... i'm happy that i informed you abouth my progresses.
I hope to see you soon on the new launched website, what i will go anounce when it is created.
I need to make a theme and some content ofcourse aswell.

Grtzzz wHiTeHaT Wink
Find all posts by wHiTeHaTView 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 - TUTTISU E-COMMERCE http://www.tuttisu.it
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.068 Seconds - 353 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::