MyBB Community Forums

Full Version: User agent image in posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello

This is very popular modification in many boards - maybe it should be included in MyBB?

My modification is simple :

SQL :
ALTER TABLE `mybb_posts` ADD `useragent` VARCHAR( 255 ) NOT NULL ;
In attachment - an example how it looks , DIFF (modification) and images in TAR.GZ.

I don't find it particularly useful information, but then again I can't be bothered to see buttons for Email, PM, WWW, Find, etc. on every postbit either. Maybe this should just be a custom profile field instead of a built-in feature that further clutters the postbit.
That information is useful to admin / webmaster, but not to regular users.

Maybe have it be a plugin?
Admin won't be interested in images representing UA-s but rather in full UserAgent texts - so maybe put UA it in "show IP" page?

But users (specially young ones Smile ) seems to like this icons. This is not useful but a fancy thingy Smile.
Tell me, how it install or where find tutorial for this operation.
It's just a DIFF so you have to only patch your forum like:
patch -d mybb_direcotory -p1 -l < ua_mod.diff.txt
And unpack images to /mybb_directory/images/ua/.

However this modification is outdated - it may not work. The current one (for MyBB 1.2.2) is not publicly available.
nice but I'll prefer see that on "who's online"
Quote:
patch -d mybb_direcotory -p1 -l < ua_mod.diff.txt

I am afraid my free account (ifastnet.com) cannot make this Sad
but really thanks.
Hi koziolekSmile
Could you update this modification for Mybb 1.2.2? And if you can - tell mi what I have to change? I don't know how to use patch, my hosting account haven't got shell enabled.

Przemu
przemu Wrote:Could you update this modification for Mybb 1.2.2?
No, I couldn't Smile. This patch for MyBB 1.2.2:
- interacts with and includes my other patches, so automatic patching other forum won't work;
- requires changes in DB;
- requires changes in templates;
I do not have time and motivation to prepare a working solution for everyone.

However I can post my current patch - designed for mine board (MyBB 1.2.2). I do not guarantee that it will work anywhere else Smile Smile.
Pages: 1 2