Previous Thread
Next Thread
Print Thread
Rate Thread
#70576 04/06/2001 2:13 PM
Joined: Feb 2000
Posts: 61
Member
Member
Offline
Joined: Feb 2000
Posts: 61
This should be easy and fun.

Open the ubb_lib.cgi file in UBB603. Find the following line:

sub UBBCode {

Look at the two lines of code just below that. Write some Perl code that is functionally equivalent to these lines. Use as few characters as possible.

Note: Please DO NOT post any UBB source code here. Just post your own version of the two lines.

laugh


"Waffles are nothing more than a vehicle for butter and syrup" - Dr. Clayton Forrester
Sponsored Links
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
Okay, you've got me. Those lines don't appear to do anything.

Just a thought smile

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
[ April 07, 2001: Message edited by: MasterMind ]

Joined: Jan 1999
Posts: 568
Moderator / Fish
Moderator / Fish
Offline
Joined: Jan 1999
Posts: 568
Quote
quote:

erm, mastermind...

#70580 04/07/2001 11:05 AM
Joined: Feb 2000
Posts: 61
Member
Member
Offline
Joined: Feb 2000
Posts: 61
Ding ding ding! Cal wins!

It was a trick question. Here is the correct answer:

Code
code:

The first lines in the UBBCode sub were modified slightly for 602, probably to solve the disappearing " character after a URL tag. Don't worry, it's not really a bug or anything bad. The lines just don't do anything now.

See, it was easy laugh


"Waffles are nothing more than a vehicle for butter and syrup" - Dr. Clayton Forrester
Sponsored Links
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
hahahahahahahahahaha

Just a thought smile


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)