Suggestions & Feedback
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsForum InformationSuggestions & Feedback

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old April 5th, 2005, 03:52 PM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Cunning Linguist
Dev Shed God 10th Plane (9500 - 9999 posts)
 
Join Date: Jul 2003
Location: I used to live at home, now I stay at the house
Posts: 9,852 ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner Folder
Time spent in forums: 3 Months 2 Weeks 4 Days 12 h 23 m 32 sec
Reputation Power: 698
Facebook
[code] tag alert...

Would it be possible to have a little bit of JavaScript that when a
new post or thread was made or edited would check the post for
the existance of keywords like <script or <?php or <% or anything
else specific to various programming languages, and also look for
the existance of [code] or [php] tags, and if not, then create an
alert() box saying something like "It seems you are posting some
code, but it appears you have omitted [code] or [php] tags!
".

I'm sure plenty of other people tire of seeing pages and pages of
code posted by n00bs who "didn't know any better".

Whatcha reckon?
__________________
Support requests via PM will be ignored!
Sites: Route of Queue | Sinthetic - Alternative UK Hiphop
Read These: The General Rules Thread | The General FAQ Thread | NEW USERS - How to post a question

Sign up with Matched.co.uk and earn up to £15 per website every month!


Reply With Quote
  #2  
Old April 5th, 2005, 04:10 PM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,669 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 8 h 5 m 34 sec
Reputation Power: 219
Send a message via ICQ to computer
I reckon it would be simple enough if you can workout where the code is that doesn't let you post less than 2 characters, etc.
__________________

Reply With Quote
  #3  
Old April 5th, 2005, 04:18 PM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Cunning Linguist
Dev Shed God 10th Plane (9500 - 9999 posts)
 
Join Date: Jul 2003
Location: I used to live at home, now I stay at the house
Posts: 9,852 ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)ChiefWigs1982 User rank is Brigadier General (60000 - 70000 Reputation Level)  Folding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner FolderFolding Points: 50746 Folding Title: Beginner Folder
Time spent in forums: 3 Months 2 Weeks 4 Days 12 h 23 m 32 sec
Reputation Power: 698
Facebook
That's done in a function called validateMessage() in global.js.

Reply With Quote
  #4  
Old April 6th, 2005, 12:56 AM
B-Con's Avatar
B-Con B-Con is offline
Crypto-Con
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Apr 2004
Location: UC Davis
Posts: 6,605 B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 5 Days 10 h 23 m 34 sec
Reputation Power: 711
write the patch and submit it

me, I need to get to work on the shoutbox bracket bug
__________________
- "Cryptographically secure linear feedback shift register based stream ciphers" -- a phrase that'll get any party started.
- Why know the ordinary when you can understand the extraordinary?


- Sponsor my caffeine addiction! (36.70 USD recieved so far -- Latest donor: Mark Foxvog
)

Reply With Quote
  #5  
Old April 6th, 2005, 09:56 AM
Iron_Cross's Avatar
Iron_Cross Iron_Cross is offline
Wang
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Bamberg, Germany
Posts: 213 Iron_Cross User rank is Sergeant (500 - 2000 Reputation Level)Iron_Cross User rank is Sergeant (500 - 2000 Reputation Level)Iron_Cross User rank is Sergeant (500 - 2000 Reputation Level)Iron_Cross User rank is Sergeant (500 - 2000 Reputation Level)Iron_Cross User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 11 h 1 m 11 sec
Reputation Power: 10
Send a message via ICQ to Iron_Cross Send a message via AIM to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Yeah, I think this would be an awesoem idea. The only problem, is you can't really just check for code (other than markup languages) because the code can start with everyday words. And you can't really just check for ( or ) because they're common. The only thing you could really check for is { and } and MAYBE #.
Again this is talking everything that is not a markup language :P
__________________

Pain is weakness leaving the body.

Reply With Quote
  #6  
Old April 6th, 2005, 03:51 PM
Sepodati's Avatar
Sepodati Sepodati is offline
Banned
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Dec 1999
Location: Afghanistan
Posts: 14,360 Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)  Folding Points: 69352 Folding Title: Intermediate FolderFolding Points: 69352 Folding Title: Intermediate FolderFolding Points: 69352 Folding Title: Intermediate FolderFolding Points: 69352 Folding Title: Intermediate Folder
Time spent in forums: 2 Months 3 Weeks 6 Days 2 h 26 m 30 sec
Reputation Power: 1606
Send a message via ICQ to Sepodati Send a message via Yahoo to Sepodati
He's not saying check for everything. Check for <?, <% and <script and you'll catch quite a few instances. The goal isn't to catch everything, just most of it.

---John Holmes...

Reply With Quote
  #7  
Old April 6th, 2005, 03:55 PM
Sepodati's Avatar
Sepodati Sepodati is offline
Banned
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Dec 1999
Location: Afghanistan
Posts: 14,360 Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)Sepodati User rank is General 9th Grade (Above 100000 Reputation Level)  Folding Points: 69352 Folding Title: Intermediate FolderFolding Points: 69352 Folding Title: Intermediate FolderFolding Points: 69352 Folding Title: Intermediate FolderFolding Points: 69352 Folding Title: Intermediate Folder
Time spent in forums: 2 Months 3 Weeks 6 Days 2 h 26 m 30 sec
Reputation Power: 1606
Send a message via ICQ to Sepodati Send a message via Yahoo to Sepodati
Quote:
Originally Posted by B-Con
me, I need to get to work on the shoutbox bracket bug
Send them a fix that encodes the shout value when you edit it, also. Type </textarea><script>alert('hi');</script> as your shout and then edit it for an example.

I sent a ticket in about it, but it confused them, I think.

---John Holmes...

Reply With Quote
  #8  
Old April 6th, 2005, 10:05 PM
B-Con's Avatar
B-Con B-Con is offline
Crypto-Con
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Apr 2004
Location: UC Davis
Posts: 6,605 B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level)B-Con User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 5 Days 10 h 23 m 34 sec
Reputation Power: 711
Quote:
Originally Posted by Sepodati
Send them a fix that encodes the shout value when you edit it, also. Type </textarea><script>alert('hi');</script> as your shout and then edit it for an example.

I sent a ticket in about it, but it confused them, I think.

---John Holmes...

sorry, I'm limited to one fix at a time till I get pomoted to mod

Reply With Quote
  #9  
Old April 7th, 2005, 07:53 AM
Jcaputo's Avatar
Jcaputo Jcaputo is offline
Kiss My Converse!
Developer Shed Admin.
 
Join Date: May 2003
Location: Davie, Florida
Posts: 1,507 Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 2 Weeks 1 Day 9 h 35 m 12 sec
Reputation Power: 10
Quote:
Originally Posted by B-Con
sorry, I'm limited to one fix at a time till I get pomoted to mod

OK we are going to look into these 2 fixes, can someone provide detailed step by step on how to fix both issues as that will expedite it.

Reply With Quote
  #10  
Old April 7th, 2005, 08:25 AM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,669 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 8 h 5 m 34 sec
Reputation Power: 219
Send a message via ICQ to computer
what fixing B-Con and the mods?

The shoutbox I think needs striphtmlentities() or something added to it, because from what Sep is saying (don't want to try it myself), when editing your should it's putting html straight onto your front page (bad!).

I'm not sure about the two javascript fixes though.

Reply With Quote
  #11  
Old April 7th, 2005, 08:31 AM
Jcaputo's Avatar
Jcaputo Jcaputo is offline
Kiss My Converse!
Developer Shed Admin.
 
Join Date: May 2003
Location: Davie, Florida
Posts: 1,507 Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level)Jcaputo User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 2 Weeks 1 Day 9 h 35 m 12 sec
Reputation Power: 10
Quote:
Originally Posted by computer
what fixing B-Con and the mods?

The shoutbox I think needs striphtmlentities() or something added to it, because from what Sep is saying (don't want to try it myself), when editing your should it's putting html straight onto your front page (bad!).

I'm not sure about the two javascript fixes though.


I requested a detailed step by step walk thru - personally I think this stuff is nitpicky but Im willing to devote developer time to it if you guys are willing to provide a step by step on each thing you want modded.

Reply With Quote
  #12  
Old April 7th, 2005, 09:17 AM
ChiefWigs1982's Avatar