PDA

View Full Version : Any way to tell which skin a post was made from


SEOvB
09-20-2008, 11:32 PM
Not sure if anyone here ever visits crackberry.com but whenever someone posts to their mobile style, a message is added at the end of their post

"This posted from my crackberry to wapforums.crackberry.com" or something along those lines.

Any one know how it was done?

Dismounted
09-21-2008, 06:17 AM
Most likely, they detect the user agent, and add that message if a specific user agent is detected.

SEOvB
09-21-2008, 02:33 PM
alright, So i think i know how to detect user agent (well i'm using the User Agent Detect Plugin thing available here). But my question is how would i integrate that with the postbit templates to check if the user has posted from their device.

Thanks

Lynne
09-21-2008, 03:12 PM
Is it actually added into the post (so if you quote it, it shows up) or is it a new line in the postbit template (non-quotable)? It's just that if it's part of the post, then they most likely append the message to the end of the post at posting time. If it's just a part of the postbit template, then they probably have some data saved somewhere that flags the post as coming from a mobile device and then they just spit out that message.