Which hack do you use to display the User Agent in posts?

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) :( :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: =D> #-o :^o [-X [-o< 8-[ [-( :-k ](*,) :-"
View more smilies

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Which hack do you use to display the User Agent in posts?

Re: Which hack do you use to display the User Agent in posts

by LoudNoise » May 26th, 2015, 8:29 pm

It was an idle search out of vague curiosity. That said, I think it was from around 2005 and linked back to the solution found at the PHPbb forum.

Kerz discovered the secret on Oct 20, 2007, there is a very good chance that a better method has come along. Since this is simply Site discussion it might be a better idea to go to the source. If noting else, they have a good deal more of information about the subject than we have.

Re: Which hack do you use to display the User Agent in posts

by barbaz » May 26th, 2015, 6:46 pm

LoudNoise wrote:That came from a post here. I don't remember the search but you might be able to find it again.

Not finding it, all I found is this post by Dartman...

Re: Which hack do you use to display the User Agent in posts

by LoudNoise » May 26th, 2015, 6:26 pm

That came from a post here. I don't remember the search but you might be able to find it again.

Re: Which hack do you use to display the User Agent in posts

by barbaz » May 26th, 2015, 3:00 pm

@LoudNoise: with that hint, it appears the code from that phpBB thread should go in includes/functions_posting.php, and the display template to modify is buried in styles/ . I think I'm on my own from there. Thanks :)

Re: Which hack do you use to display the User Agent in posts

by LoudNoise » May 26th, 2015, 7:12 am

For showing the UA, I think you just add that to message template. I would assume that it would need to be added the message database.

Re: Which hack do you use to display the User Agent in posts

by barbaz » May 22nd, 2015, 10:41 am

I also am interested in this.

Frank Lion wrote:https://www.phpbb.com/community/viewtopic.php?f=71&t=586216

Thanks, but unfortunately that link doesn't say where to insert that code, how to actually display the user-agent, or how to restrict who gets to see user-agents...

Which hack do you use to display the User Agent in posts?

by Dingler » May 22nd, 2015, 6:15 am

Hello!

How do you display the UA in user's messages?
I saw this topic: https://www.phpbb.com/community/viewtop ... &t=2073975

Could you post the modifications (or mod) you added to phpBB to do that?

Ty in advance.

Top