Latest Posts:
flame11-23-2024 Not boat related (Rep.#41) from: GoFastRacerflameflame11-23-2024 Gas price in your area (Rep.#7,275) from: GoFastRacerflameflame11-23-2024 The Totally Useless Thread IV (Rep.#164) from: GoFastRacerflameflame11-23-2024 Brrrr (Rep.#14,943) from: GoFastRacerflameflame11-20-2024 Three Word Post.....The Next Generation.... (Rep.#19,431) from: stingrayflame
No members are browsing this topic
Forum Led by: Havasu Doug

 

[ Track this topic :: Email this topic :: Print this topic ]
add a reply to this topic create a new topic create a new poll
Havasu DougMale Offline
Pisces
HDF Gold Supporter
Delta Tau Chi - ΔTX
10,000 post flame1,000 post flame1,000 post flame100 post flame
North Padre Island, Texas
Posts: 12,188
APPD 1.52
Post Rank: 7
'78 Challenger jet
Post Icon Posted: July 20 2005,9:02 pm Post # 1 see this member send this member a private message  quote this post in reply

Well with a little time on my hands I added something that you probably never would have noticed:

Commas,,,,,,,,,,,,

to some of the numbers on the board. :D

So far, I have added them to the Board Statistics section, the Topics column, and the Replies column of the main board view.

Also, to the Replies and Views columns of the Forum View. :D

For anyone interested in programming in Perl, this is an example of some of the code:

Quote
   sub comma_me {
  local $_ = shift;
  1 while s/^(-?\d+)(\d{3})/$1,$2/;
  return $_;
   };
 
   $Data->{'TOPIC_POSTS'} = comma_me($Data->{'TOPIC_POSTS'});
:D






Back to top
website  | Member # 1 | Joined: 12-02-2002 |
GoFastRacerMale Offline
HDF Supporter
V-Driver For Life!
50,000 post flame10,000 post flame1,000 post flame1,000 post flame500 post flame100 post flame100 post flame
Big River, Ca
Posts: 62,729
APPD 7.90
Post Rank: 1
Spectra20
Post Icon Posted: July 21 2005,5:52 am Post # 2 see this member send this member a private message  quote this post in reply

So that is Perl huh, interesting gonna have to read up on that, thanks!.. :good
Back to top
website  | Member # 101 | Joined: 3-03-2003 |
Carrera EliteMale Offline
Libra
HDF Supporter

10,000 post flame10,000 post flame10,000 post flame10,000 post flame1,000 post flame1,000 post flame1,000 post flame1,000 post flame100 post flame
Glendale,AZ
Posts: 44,127
APPD 5.50
Post Rank: 2
1990 Carrera 23.5 Classic
Post Icon Posted: July 21 2005,8:34 am Post # 3 see this member send this member a private message  quote this post in reply

Quote (GoFastRacer @ July 21 2005,5:52 am)
So that is Perl huh, interesting gonna have to read up on that, thanks!.. :good

RIGHT!!!  :rotflmao  :D


Sarcasim, Just one more thing that I offer for free!!
I've Reached The Age Where Happy Hour Is A Nap!!

WWW.StormPokerRuns.Com

Back to top
| Member # 8 | Joined: 12-04-2002 |
AZKCMale Offline
Leo
HDF Bronze Supporter
Jack of all trades. Master of none.
10,000 post flame5,000 post flame1,000 post flame100 post flame100 post flame100 post flame100 post flame
Tucson
Posts: 16,439
APPD 2.05
Post Rank: 5
1979 20ft Hawaiian Moonraker
Post Icon Posted: July 21 2005,12:57 pm Post # 4 see this member send this member a private message  quote this post in reply

HD is a hacker supreme :beer


God is Great, Beer is Good, and People are Crazy......

AUTO SAFETY HOUSE

Back to top
| Member # 29 | Joined: 12-18-2002 |
Havasu DougMale Offline
Pisces
HDF Gold Supporter
Delta Tau Chi - ΔTX
10,000 post flame1,000 post flame1,000 post flame100 post flame
North Padre Island, Texas
Posts: 12,188
APPD 1.52
Post Rank: 7
'78 Challenger jet
Post Icon Posted: July 22 2005,4:52 am Post # 5 see this member send this member a private message  quote this post in reply

Basically every number on this board either comes from a database field, which doesn't save numbers with commas or is a result of a computation of numbers in more than one field in the database.  The hacks convert the results to show commas in any given location.  I converted a few more numbers over, like in the topic view post count, memberlist post count, and most of the numbers in the statistics page.  I just have a few more to convert over. :D

Now the numbers from the board that show on my main home page are a completely different story. :eek  That is an SHTML page so this hack wouldn't work there. :(  The board generates text files for certain stats and the text files are imported into the SHTML page through SSI (Side Server Includes).






Back to top
website  | Member # 1 | Joined: 12-02-2002 |
GoFastRacerMale Offline
HDF Supporter
V-Driver For Life!
50,000 post flame10,000 post flame1,000 post flame1,000 post flame500 post flame100 post flame100 post flame
Big River, Ca
Posts: 62,729
APPD 7.90
Post Rank: 1
Spectra20
Post Icon Posted: July 22 2005,5:30 am Post # 6 see this member send this member a private message  quote this post in reply

Quote (Carrera Elite @ July 21 2005,8:34 am)
Quote (GoFastRacer @ July 21 2005,5:52 am)
So that is Perl huh, interesting gonna have to read up on that, thanks!.. :good

RIGHT!!!  :rotflmao  :D

I have been reading on it, totally a different world from building computers that's for sure!.. :eek  :laugh  :laugh

Perl!
Back to top
website  | Member # 101 | Joined: 3-03-2003 |
GoFastRacerMale Offline
HDF Supporter
V-Driver For Life!
50,000 post flame10,000 post flame1,000 post flame1,000 post flame500 post flame100 post flame100 post flame
Big River, Ca
Posts: 62,729
APPD 7.90
Post Rank: 1
Spectra20
Post Icon Posted: July 22 2005,5:31 am Post # 7 see this member send this member a private message  quote this post in reply

Quote (Havasu Doug @ July 22 2005,4:52 am)
Basically every number on this board either comes from a database field, which doesn't save numbers with commas or is a result of a computation of numbers in more than one field in the database.  The hacks convert the results to show commas in any given location.  I converted a few more numbers over, like in the topic view post count, memberlist post count, and most of the numbers in the statistics page.  I just have a few more to convert over. :D

Now the numbers from the board that show on my main home page are a completely different story. :eek  That is an SHTML page so this hack wouldn't work there. :(  The board generates text files for certain stats and the text files are imported into the SHTML page through SSI (Side Server Includes).

Okkk!.. :stupid  :laugh
Back to top
website  | Member # 101 | Joined: 3-03-2003 |
Havasu DougMale Offline
Pisces
HDF Gold Supporter
Delta Tau Chi - ΔTX
10,000 post flame1,000 post flame1,000 post flame100 post flame
North Padre Island, Texas
Posts: 12,188
APPD 1.52
Post Rank: 7
'78 Challenger jet
Post Icon Posted: July 22 2005,5:26 pm Post # 8 see this member send this member a private message  quote this post in reply

Quote (GoFastRacer @ July 22 2005,5:30 am)
Quote (Carrera Elite @ July 21 2005,8:34 am)
Quote (GoFastRacer @ July 21 2005,5:52 am)
So that is Perl huh, interesting gonna have to read up on that, thanks!.. :good

RIGHT!!!  :rotflmao  :D

I have been reading on it, totally a different world from building computers that's for sure!.. :eek  :laugh  :laugh

Perl!

It literally is a different language isn't it. :eek  I sort of feel lost on the hardcore perl sites.  I only comprehend around 20% of what I read there, but I'm improving.  I somehow managed to get an "A" in Perl Programming a couple semesters ago though. :D






Back to top
website  | Member # 1 | Joined: 12-02-2002 |
GoFastRacerMale Offline
HDF Supporter
V-Driver For Life!
50,000 post flame10,000 post flame1,000 post flame1,000 post flame500 post flame100 post flame100 post flame
Big River, Ca
Posts: 62,729
APPD 7.90
Post Rank: 1
Spectra20
Post Icon Posted: July 23 2005,6:11 am Post # 9 see this member send this member a private message  quote this post in reply

Quote (Havasu Doug @ July 22 2005,5:26 pm)
Quote (GoFastRacer @ July 22 2005,5:30 am)
Quote (Carrera Elite @ July 21 2005,8:34 am)
Quote (GoFastRacer @ July 21 2005,5:52 am)
So that is Perl huh, interesting gonna have to read up on that, thanks!.. :good

RIGHT!!!  :rotflmao  :D

I have been reading on it, totally a different world from building computers that's for sure!.. :eek  :laugh  :laugh

Perl!

It literally is a different language isn't it. :eek  I sort of feel lost on the hardcore perl sites.  I only comprehend around 20% of what I read there, but I'm improving.  I somehow managed to get an "A" in Perl Programming a couple semesters ago though. :D

At least you understood 20% :banghead  :rotflmao Unless they have "Perl for Dummies" I'd say a course in it would be mandatory!. :eek  :laugh
Back to top
website  | Member # 101 | Joined: 3-03-2003 |
Havasu DougMale Offline
Pisces
HDF Gold Supporter
Delta Tau Chi - ΔTX
10,000 post flame1,000 post flame1,000 post flame100 post flame
North Padre Island, Texas
Posts: 12,188
APPD 1.52
Post Rank: 7
'78 Challenger jet
Post Icon Posted: July 23 2005,6:21 am Post # 10 see this member send this member a private message  quote this post in reply

Here's another great source for Perl: Perl Cookbook. :good

My project last night was modifying this line on the main board view:

"5 guests, 4 members and 0 anonymous members"

If any of the categories show "1" the "s" (plurality) in the group names will be dropped.  For example the new line will read:

"5 guests, 1 member and 0 anonymous members"

or

"5 guests, 4 members and 1 anonymous member" :D






Back to top
website  | Member # 1 | Joined: 12-02-2002 |
GoFastRacerMale Offline
HDF Supporter
V-Driver For Life!
50,000 post flame10,000 post flame1,000 post flame1,000 post flame500 post flame100 post flame100 post flame
Big River, Ca
Posts: 62,729
APPD 7.90
Post Rank: 1
Spectra20
Post Icon Posted: July 23 2005,6:40 am Post # 11 see this member send this member a private message  quote this post in reply

Cool site, interesting stuff there, thanks!.. :good
Back to top
website  | Member # 101 | Joined: 3-03-2003 |
Havasu DougMale Offline
Pisces
HDF Gold Supporter
Delta Tau Chi - ΔTX
10,000 post flame1,000 post flame1,000 post flame100 post flame
North Padre Island, Texas
Posts: 12,188
APPD 1.52
Post Rank: 7
'78 Challenger jet
Post Icon Posted: July 23 2005,7:17 am Post # 12 see this member send this member a private message  quote this post in reply

Quote (GoFastRacer @ July 23 2005,6:40 am)
Cool site, interesting stuff there, thanks!.. :good

You're welcome. :D

Here's another mod I just did in the last few minutes.

The old format was:

2 member(s) are browsing this topic
        >Havasu Doug >BHH

or

1 member(s) are browsing this topic
            >Havasu Doug

or

Nothing in the field if no members browsing.

The new format takes the # of members into consideration and prints the words accordingly:

2 members are browsing this topic
      >Havasu Doug >BHH  

or

1 member is browsing this topic
        >Havasu Doug

or

No members are browsing this topic


Once school starts up again, I'll have to knock this crap off. :rotflmao






Back to top
website  | Member # 1 | Joined: 12-02-2002 |
My Man's Sportin' WoodFemale Offline
Capricorn
HDF Supporter
Hallett Hottie
1,000 post flame1,000 post flame1,000 post flame500 post flame
Flathead Lake Montana/Lake Havasu City
Posts: 3,500
APPD 0.45
Post Rank: 20
Post Icon Posted: July 23 2005,4:54 pm Post # 13 see this member send this member a private message  quote this post in reply

Quote (Havasu Doug @ July 23 2005,7:17 am)
Quote (GoFastRacer @ July 23 2005,6:40 am)
Cool site, interesting stuff there, thanks!.. :good

You're welcome. :D

Here's another mod I just did in the last few minutes.

The old format was:

2 member(s) are browsing this topic
        >Havasu Doug >BHH

or

1 member(s) are browsing this topic
            >Havasu Doug

or

Nothing in the field if no members browsing.

The new format takes the # of members into consideration and prints the words accordingly:

2 members are browsing this topic
      >Havasu Doug >BHH  

or

1 member is browsing this topic
        >Havasu Doug

or

No members are browsing this topic


Once school starts up again, I'll have to knock this crap off. :rotflmao

This one I actually noticed.  I thought "hmmm.  It never said 'no members are browsing this topic' before."  :stupid
Back to top
| Member # 250 | Joined: 10-17-2003 |
shuemanMale Offline
Libra
HDF Gold Supporter
Born To Drive...
10,000 post flame5,000 post flame1,000 post flame1,000 post flame100 post flame100 post flame
Alta Loma CA
Posts: 17,228
APPD 2.27
Post Rank: 4
NADA
Post Icon Posted: July 23 2005,9:40 pm Post # 14 see this member send this member a private message  quote this post in reply

Nice "tweaks".... :good  :beer
Back to top
| Member # 376 | Joined: 2-01-2004 |
Bullitt BobMale Offline
Taurus
HDF Supporter
        Truckin' Bozo
1,000 post flame1,000 post flame1,000 post flame100 post flame100 post flame
Mesquite, NV.
Posts: 3,229
APPD 0.43
Post Rank: 21
Eliminator Jet
Post Icon Posted: July 24 2005,1:34 am Post # 15 see this member send this member a private message  quote this post in reply

I wish I knew how to do all that neat stuff. :good


All I know how to do are idiotic things like



:bebe


Back to top
| Member # 632 | Joined: 5-11-2004 |
Havasu DougMale Offline
Pisces
HDF Gold Supporter
Delta Tau Chi - ΔTX
10,000 post flame1,000 post flame1,000 post flame100 post flame
North Padre Island, Texas
Posts: 12,188
APPD 1.52
Post Rank: 7
'78 Challenger jet
Post Icon Posted: July 24 2005,6:19 pm Post # 16 see this member send this member a private message  quote this post in reply

Quote (Bullitt Bob @ July 24 2005,1:34 am)
I wish I knew how to do all that neat stuff. :good


All I know how to do are idiotic things like



:bebe

You've got great skills Bob. :good  In addition to getting a kick out of your photochops, I still listen to those custom mixed songs like "Highway Patrol". :good






Back to top
website  | Member # 1 | Joined: 12-02-2002 |
Havasu DougMale Offline
Pisces
HDF Gold Supporter
Delta Tau Chi - ΔTX
10,000 post flame1,000 post flame1,000 post flame100 post flame
North Padre Island, Texas
Posts: 12,188
APPD 1.52
Post Rank: 7
'78 Challenger jet
Post Icon Posted: July 24 2005,6:22 pm Post # 17 see this member send this member a private message  quote this post in reply

Quote (My Man's Sportin' Wood @ July 23 2005,4:54 pm)
This one I actually noticed.  I thought "hmmm.  It never said 'no members are browsing this topic' before."  :stupid

You must of been lurking "under cover" to see that message Angie. :rotflmao






Back to top
website  | Member # 1 | Joined: 12-02-2002 |
My Man's Sportin' WoodFemale Offline
Capricorn
HDF Supporter
Hallett Hottie
1,000 post flame1,000 post flame1,000 post flame500 post flame
Flathead Lake Montana/Lake Havasu City
Posts: 3,500
APPD 0.45
Post Rank: 20
Post Icon Posted: July 24 2005,6:26 pm Post # 18 see this member send this member a private message  quote this post in reply

LOL, I was wondering if anyone would figure that out.

With Jeff online at work now, I don't want him to catch me lurking when I should be working---hey that rhymes.
Back to top
| Member # 250 | Joined: 10-17-2003 |
Bullitt BobMale Offline
Taurus
HDF Supporter
        Truckin' Bozo
1,000 post flame1,000 post flame1,000 post flame100 post flame100 post flame
Mesquite, NV.
Posts: 3,229
APPD 0.43
Post Rank: 21
Eliminator Jet
Post Icon Posted: July 25 2005,1:35 am Post # 19 see this member send this member a private message  quote this post in reply

Quote (Havasu Doug @ July 24 2005,6:19 pm)
You've got great skills Bob. :good  In addition to getting a kick out of your photochops, I still listen to those custom mixed songs like "Highway Patrol". :good

Thanks for the kind words, Doug. :beer

I made a few new tunes and I'll send you a couple via email. :good


Back to top
| Member # 632 | Joined: 5-11-2004 |
Bullitt BobMale Offline
Taurus
HDF Supporter
        Truckin' Bozo
1,000 post flame1,000 post flame1,000 post flame100 post flame100 post flame
Mesquite, NV.
Posts: 3,229
APPD 0.43
Post Rank: 21
Eliminator Jet
Post Icon Posted: July 25 2005,2:33 am Post # 20 see this member send this member a private message  quote this post in reply

Hmm, your mailbox must be full because I sent you 3 tunes and 2 came back undeliverable. :banghead

The original message was received at Mon, 25 Jul 2005 04:18:28 -0500
from [65.160.21.10]

  ----- The following addresses had permanent fatal errors -----
   (reason: Can't create output)

  ----- Transcript of session follows -----
procmail: Quota exceeded while writing "/var/spool/mail/doug"
550 5.0.0 ... Can't create output
 :cry


Back to top
| Member # 632 | Joined: 5-11-2004 |
Havasu DougMale Offline
Pisces
HDF Gold Supporter
Delta Tau Chi - ΔTX
10,000 post flame1,000 post flame1,000 post flame100 post flame
North Padre Island, Texas
Posts: 12,188
APPD 1.52
Post Rank: 7
'78 Challenger jet
Post Icon Posted: July 25 2005,2:53 am Post # 21 see this member send this member a private message  quote this post in reply

Quote (Bullitt Bob @ July 25 2005,2:33 am)
Hmm, your mailbox must be full because I sent you 3 tunes and 2 came back undeliverable. :banghead

The original message was received at Mon, 25 Jul 2005 04:18:28 -0500
from [65.160.21.10]

  ----- The following addresses had permanent fatal errors -----
   (reason: Can't create output)

  ----- Transcript of session follows -----
procmail: Quota exceeded while writing "/var/spool/mail/doug"
550 5.0.0 ... Can't create output
 :cry

You're right, it was full. :eek  I cleaned it out though. :)  "Trekkin' in a Blue Dress" managed to make it through though. Thanks! :good






Back to top
website  | Member # 1 | Joined: 12-02-2002 |
Bullitt BobMale Offline
Taurus
HDF Supporter
        Truckin' Bozo
1,000 post flame1,000 post flame1,000 post flame100 post flame100 post flame
Mesquite, NV.
Posts: 3,229
APPD 0.43
Post Rank: 21
Eliminator Jet
Post Icon Posted: July 25 2005,3:11 am Post # 22 see this member send this member a private message  quote this post in reply

Quote (Havasu Doug @ July 25 2005,2:53 am)
You're right, it was full. :eek  I cleaned it out though. :)  "Trekkin' in a Blue Dress" managed to make it through though. Thanks! :good

Oh good, I'm glad at least you got that one. :good

I resent the other 2 tunes just now. :beer


Back to top
| Member # 632 | Joined: 5-11-2004 |
Havasu DougMale Offline
Pisces
HDF Gold Supporter
Delta Tau Chi - ΔTX
10,000 post flame1,000 post flame1,000 post flame100 post flame
North Padre Island, Texas
Posts: 12,188
APPD 1.52
Post Rank: 7
'78 Challenger jet
Post Icon Posted: July 25 2005,7:17 am Post # 23 see this member send this member a private message  quote this post in reply

Quote (Bullitt Bob @ July 25 2005,3:11 am)
Quote (Havasu Doug @ July 25 2005,2:53 am)
You're right, it was full. :eek  I cleaned it out though. :)  "Trekkin' in a Blue Dress" managed to make it through though. Thanks! :good

Oh good, I'm glad at least you got that one. :good

I resent the other 2 tunes just now. :beer

Got them. Thanks. :D






Back to top
website  | Member # 1 | Joined: 12-02-2002 |
Havasu DougMale Offline
Pisces
HDF Gold Supporter
Delta Tau Chi - ΔTX
10,000 post flame1,000 post flame1,000 post flame100 post flame
North Padre Island, Texas
Posts: 12,188
APPD 1.52
Post Rank: 7
'78 Challenger jet
Post Icon Posted: July 27 2005,1:00 pm Post # 24 see this member send this member a private message  quote this post in reply

Just changed on the main board view:

User(s) active in this forum : 1

has been changed to:

1 user active in this forum

or

2 users active in this forum

etc, the board tests for plurality to clean up the verbiage now.  :D






Back to top
website  | Member # 1 | Joined: 12-02-2002 |
23 replies since July 20 2005,9:02 pm < Next Oldest | Next Newest >
 

[ Track this topic :: Email this topic :: Print this topic ]
add a reply to this topic create a new topic create a new poll

navbarlogo
The Colorado River WebRing
‹ Prev | Hub | Like | Join | Surprise | Next ›

Please help keep HDF free. If you enjoy this site, feel free to make a donation to keep it running. THANKS!