Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Clete2

macrumors 65816
Original poster
Sep 20, 2008
1,080
30
USA
I know that this is trivial, but when some people post from their iPhones, it says "Wirelessly posted" and then shows the useragent. Whenever I post from my iPhone, it doesn't do that. Solution?
 
So is it mobile.macrumors.com or what?

It isn't hard to write a vB plugin that will write that message in if the user is using the iPhone (through the useragent string). So I didn't realize that it wasn't automatic.
 
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_1 like Mac OS X; en-us) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5F136 Safari/525.20)

testing

Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_1 like Mac OS X; en-us) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5F136 Safari/525.20)

aha. Thank you to tuftluffjimmy! :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.