SunQuest
           Suggestions & Feedback
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers 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 Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old January 28th, 2004, 05:14 PM
nazly nazly is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Colombo,SriLanka
Posts: 1,325 nazly User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 18 sec
Reputation Power: 3
Send a message via Yahoo to nazly
Smilies within BBcode

There is a small bug I found out..

When I post a PHP code within PHP BBcode, if a smiley related characters appear within that code it converts those characters into a smiley. Who wants a smiley in the middle of a PHP code

eg:

php Code:
Original - php Code
  1.  
  2. $i=9;
  3. echo ($i>5)?($i+1)." is the answer":($i-1)." is the answer";


Now I'm trying alternatives here..

$i=9;
echo ($i>5)?($i+1)." is the answer"$i-1)." is the answer";

==========

Quote:
$i=9;
echo ($i>5)?($i+1)." is the answer"$i-1)." is the answer";


==========

Code:
$i=9;
echo ($i>5)?($i+1)." is the answer":($i-1)." is the answer";

Reply With Quote
  #2  
Old January 28th, 2004, 06:38 PM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,935 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 4 Days 1 h 52 m 57 sec
Reputation Power: 3
Orkut
RE: Smilies within BBcode

im sure theres a way to filter it out and if there is matt will probably implement it.

Reply With Quote
  #3  
Old January 28th, 2004, 08:39 PM
CodeKadiya CodeKadiya is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Colombo,Sri Lanka
Posts: 2,313 CodeKadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to CodeKadiya
RE: Smilies within BBcode

Nazly,

Just check this out....

Reply With Quote
  #4  
Old January 28th, 2004, 09:23 PM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,935 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 4 Days 1 h 52 m 57 sec
Reputation Power: 3
Orkut
RE: Smilies within BBcode

like you say nazly its really ugly if you have an accidental smiley in your php.

Reply With Quote
  #5  
Old January 29th, 2004, 12:51 AM
nazly nazly is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Colombo,SriLanka
Posts: 1,325 nazly User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 18 sec
Reputation Power: 3
Send a message via Yahoo to nazly
RE: Smilies within BBcode

The thread where I really found out the problem..

http://codewalkers.com/forum/index.php?action=displaythread&forum=phpcoding&id=6004&realm=default

Reply With Quote
  #6  
Old January 29th, 2004, 12:58 AM
CodeKadiya CodeKadiya is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Colombo,Sri Lanka
Posts: 2,313 CodeKadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to CodeKadiya
RE: Smilies within BBcode

Yah... that was quite funny to see smilies insie php code. Anyway, notepad brought up the same problem few months ago and Matt will be taking action on it as he said is the previous thread...

Really, where is notepad? On cruise already?

Reply With Quote
Reply

Viewing: Codewalkers ForumsForum InformationSuggestions & Feedback > Smilies within BBcode


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway