Previous Thread
Next Thread
Print Thread
Rate Thread
#306974 09/14/2003 2:03 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Aoccdrnig to a rscheearch at an Elingsh uinervtisy, it deosn't mttaer in
waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht teh
frist and lsat ltteer is at the rghit pclae. The rset can be a toatl mses
and you can sitll raed it wouthit a porbelm. Tihs is bcuseae we do not raed
ervey lteter by it slef but the wrod as a wlohe.

Sponsored Links
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
Taht mkeas sesne. I wnoedr if tihs is hrad for a non-nvitae Egnilsh sepkaer to raed.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I forsee a new april fools day mod.

Joined: Jun 2003
Posts: 131
Journeyman
Journeyman
Offline
Joined: Jun 2003
Posts: 131
Looks to me like it's already Apiirl foool's dayay! Tony

Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
Wlel if you hvae no ccnocneise tehn you can put ltetres in any odrer you wnat. Or if you are jsut czray.

Sponsored Links
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
Hey Josh, did you get this from a post on my site? I had two people post about this over the weekend Or was it one of those forward emails that had it?

It is knid of naet tohguh!

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
manes I can saerwe wthiuot the bepleer aciivnattig

Not sure if you would be able to read supercalifragelisticexpialidocious if those letters were rearranged


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
it was posted on my board.... through it was cool.

Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
wow.. that post was posted on my site again for the 4th time in 2 days. Must be showing up in people's in-boxes or something, I never see so many reposts

Joined: Mar 2001
Posts: 644
Member
Member
Offline
Joined: Mar 2001
Posts: 644
Ended up on my site yesterday too... that's just funny.

Sponsored Links
Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
Whoa! That's freakin' trippy! I read Josh' post just like it was all spelled correctly - no problems at all!

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
That's because that's how I usually type.

Joined: Oct 2000
Posts: 2,223
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,223
ya'll are typing like me now.


Picture perfect penmanship here.
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Here ya go:

Open upp addpost.php and find the following lines:
Code
<br />// -------------------------------------------<br />// If Markup is on the we format the markup code<br />   if ( ($Markup == "On") && ( ($convert == "markup") || ($convert == "both") ) ){<br />      $Body = $html -> do_markup($Body);<br />   }<br />


Add these lines ABOVE:
Code
<br />// -----------------------------------------------------<br />// Letter scrambler hack (requires PHP 4.3.0 or greater)<br />   //$scramble = get_input("scramble", "post");<br />   if ($scramble == "on") {<br />      $allwords = preg_split("/\b/", $Body);<br />      while (list($key, $val) = each($allwords)) {<br />         if (preg_match("/^(\w)(.+)(\w)$/", $val, $letters)) {<br />            $NewBody .= $letters[1] . str_shuffle($letters[2]) . $letters[3];<br />         } else {<br />            $NewBody .= $val;<br />         }<br />      }<br />      $Body = $NewBody;<br />   }<br /><br />// End of letter scrambler hack<br />


Now, in templates/default/newpost.tmpl find these lines:
Code
<br /><br /><br />$emailselect<br />


REPLACE them with these:
Code
<br /><br /><br />UBBTPRINT;<br />if ($user['U_Status'] == "Administrator") {<br />   echo '<input type="checkbox" name="scramble" /> Scramble letters in words?<br /><br />';<br />}<br />echo <<<UBBTPRINT<br />$emailselect<br />


That should be it, admins should now have a checkbox to allow them to automatically scramble new posts.

Joined: Jun 2003
Posts: 131
Journeyman
Journeyman
Offline
Joined: Jun 2003
Posts: 131
well......I dunno about scrambling the admin posts....they already seem scrambled enough to some of us! Tony

(sorry...couldn't resist kidding you guys, Josh et al, who are amazingly helpful)

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Well, maybe the scrambler makes the posts more sensible then? =]

The reason I only wanted admins to be able to use it is because otherwise every second post would be scrambled probably.

I also noticed that it didn't work quite as well in Swedish for some reason. Possibly because words are often joined making very long words.

Joined: Aug 2000
Posts: 1,609
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,609
LOL. That's a great idea Gardener! I'll have to give it a try!


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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
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)