Author |
Message |
floppydrivez
Involved


Joined: Feb 26, 2006
Posts: 340
Location: Jackson, Mississippi
|
Posted:
Sat May 12, 2007 7:47 pm |
|
Looking for a little feedback. Also have a few questions for someone who might can help me with some security advice. PM me if you that person lol.
http://www.clan-themes.co.uk/hey.html |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Sat May 12, 2007 9:43 pm |
|
I like the concept - even better since it supports nukeWYSIWYG. But, there is an older error pages tweak called DisError that essentially does the same thing. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
floppydrivez

|
Posted:
Sat May 12, 2007 9:45 pm |
|
Well, I thought with the addition of WYSIWYG it would be much more user-friendly for poeple. Thanks for the input. My favorite part is still the links, not sure why though. HaHa
This is actually a rewrite of a module hitwalker helped me find. This actually uses one standalone page and one function inside it, verses using serval functions for each error. I don't think I used one line of code from the old as it disgusted me, but I used the same title. |
|
|
|
 |
kguske

|
Posted:
Sat May 12, 2007 10:01 pm |
|
What's really nice about using something like this, especially if you combine it with tracking functions (a la MS Analysis or even NukeSentinel), is that you can see in Nuke what games people are trying to play. It makes it easier than checking through error logs... Having the content stored in a database and being able to modify it is really nice. Let me know when you release it - please submit a story on my site. Also, I'd be happy to test it.
Also, is that your site? (clan-themes.co.uk) Pretty nice - and it has some nice addons. Keep up the good work! |
|
|
|
 |
floppydrivez

|
Posted:
Sat May 12, 2007 10:07 pm |
|
Yes, thats mine thanks kgsuske. Hmm... The ability to see what url/page was trying to be accessed when the error page was generated! Would that be better stored in the database or read from a .log file?
A .log file seems as if it would be less stress on the server, but if in the database it would be easier to clear/manage. Both could be read through the admin panel though.
Those are good questions. |
|
|
|
 |
floppydrivez

|
Posted:
Sat May 12, 2007 11:16 pm |
|
This is the problem I am running into with catching the requested url. Since .htaccess is forwarding to a page. The requested url is the error page. If anyone can think of something I should try let me know.
Code:$requested_url = $_SERVER['REQUEST_URI'];
|
Like I said, returns the error pages. |
|
|
|
 |
floppydrivez

|
Posted:
Sun May 13, 2007 12:04 pm |
|
I got this figured out. Super nice suggestions. Thanks |
|
|
|
 |
kguske

|
Posted:
Sun May 13, 2007 1:02 pm |
|
Great - did you modify the script - or the htaccess? |
|
|
|
 |
floppydrivez

|
Posted:
Sun May 13, 2007 1:08 pm |
|
Both!
Code:$current_url = getenv("REQUEST_URI");
|
For the .htaccess you have to list your urls like so
Code:ErrorDocument 400 /error-E400.html
|
Compared to
Code:ErrorDocument 400 http://www.yoursitename.com/error-E400.html
|
Took some play, but it works now. With some super advanced features to limit the paths/urls it watches & record ips/usernames. |
|
|
|
 |
CodyG
Life Cycles Becoming CPU Cycles

Joined: Jan 02, 2003
Posts: 714
Location: Vancouver Island
|
Posted:
Mon May 14, 2007 9:11 am |
|
cool!
does it record file changes too? |
_________________ "We want to see if life is ubiquitous." D.Goldin |
|
|
 |
floppydrivez

|
Posted:
Sun Jun 03, 2007 7:54 pm |
|
No sorry it doesn't. However the mod is going great. A few more days and a little beta on different systems it should be done.
I added the ability to turn the theme on and off per page. This delivers 100% xhtml standard compliance and put in a redirect script just in case. All with on and off switches in admin. |
|
|
|
 |
|