Skip to content
View in the app

A better way to browse. Learn more.

Tip.It Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

lil' lite PhpBB3 online banner thingy. (PhpBB3 MOD)

Featured Replies

just copy-pasted out of the staff lounge of RV. I've quit from RV so i don't care if this is leaking or not, and anyway i wrote it :P

 

 

 

So, how to get it to work: (all file locations are respectibe of the root directory)

 

 

 

open viewtopic.php

 

 

 

find:

 

'S_ONLINE'				=> ($poster_id == ANONYMOUS || !$config['load_onlinetrack']) ? false : (($user_cache[$poster_id]['online']) ? true : false),

 

 

 

after, add:

 

'ONLINE_TXT'		=> ($poster_id == ANONYMOUS || !$config['load_onlinetrack']) ? '' : (($user_cache[$poster_id]['online']) ? $user->lang['ONLINE'] : $user->lang['OFFLINE'] ),

'ONLINE_COLOR'			=> ($poster_id == ANONYMOUS || !$config['load_onlinetrack']) ? '' : (($user_cache[$poster_id]['online']) ? "green" : "red" ),

 

 

 

 

 

open language/en/common.php

 

 

 

find:

 

'STATISTICS'				=> 'Statistics',

 

 

 

after, add:

 

'STATUS'					=> 'Status',

 

save/close all files.

 

 

 

go into admin panel; styles; templates; edit template

 

 

 

open viewtopic.html in the styles edit thing:

 

 

 

Delete:

 




{postrow.ONLINE_IMG}



 

 

 

find:

 

 

 

 

after, add:

 



{L_STATUS}: {postrow.ONLINE_TXT}

 

 

 

commit the changes.

 

 

 

voila.

 

 

 

Colours are included with it, but are a seperate variable because i'm lazy.

 

 

 

You can preview it here

 

 

 

here's an image:

 

lite%20online.PNG

 

 

 

i'f you want to use on these forums, feel free ;) But it's free code for anyone to use if they wish

sig4.png

We already have something that says whether you are online or offline... :|

spacescenev24.jpg
  • Author
We already have something that says whether you are online or offline... :|

 

I wrote it as a replacement for the banner, which on some forums can look quite out of place. It also free's up a bit of space in the side panel for you to use for MODs like the custom title MOD etc.

sig4.png

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.