Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.38 veröffentlicht (30.04.24)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
User Agent
#1
Eine neue Erweiterung wurde veröffentlicht: User Agent

Zitat:INSTALLATION:

1. Copy the files into your main MyBB folder. Doing so will make a new directory: images/useragent/. It will contain around 40 GIF files. It will also copy a useragent.php into your inc/plugins.

2. Visit your Plug-in Maganer in the Admin CP. Activate the "User Agent" plugin.

3. Visit yout Template Manager. Open the "Post bit" template pack and edit "postbit" template. Add these lines:
{$post['icon_os']}{$post['icon_browser']}
where you want the icons to appear.

I recommend adding them just after the {$post['button_report']}.

If you skip #3, you will still be able to see the statistics page in the Admin Panel, but your users won't see os/browser icons in their posts.

---

UPDATING FROM 1.1 to 1.2:

Overwrite all files. Then, edit your "postbit" template. Replace the
<img src="images/useragent/{$post['system']}.gif" />
<img src="images/useragent/{$post['browser']}.gif" />

with
{$post['icon_os']}{$post['icon_browser']}
And that's it.

---

OTHER USELESS STUFF:

Please note that posts which have been posted before activating this plugin will have "unknown" both OS and browser. Therefore, you should activate this plugin as fast as possible after founding your new board.

Have fun with your new plug-in! Wink
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  DyMy User Agent MyBB.de Bot 6 2.943 28.04.2013, 15:35
Letzter Beitrag: MyBB.de Bot
  User Agent Reporter MyBB.de Bot 13 4.302 28.04.2012, 18:32
Letzter Beitrag: Lkwmonster
  User-agent MyBB.de Bot 3 3.071 18.11.2009, 15:15
Letzter Beitrag: eneR
  Profile M-Agent MyBB.de Bot 0 1.792 02.03.2009, 18:13
Letzter Beitrag: MyBB.de Bot