Good art is a taste, good design is an opinion.


Come as guest, stay as family.
Board Index

Come as guest, stay as family.


You are not connected. Please login or register

Foto

[Javascript] Online users hack (Show 99hours as last xx hours)



View previous topic View next topic Go down Message [Page 1 of 1]

1
Offline

  Shadow

avatar
Administrator
Administrator
Description:

Well, if your forum is lacking activity and you want to show people that you have more online users in e.g. 24 hours, this tool will help you with that.

Preview:

No Image

Installation steps:

Code:
[panda=js]$(function() {
    var c = document.getElementsByClassName('pun');
    for (i = 0; i < c.length; i++) {
        c[i].innerHTML = c[i].innerHTML.replace(/Members connected during last 99 hours :/g, 'Members connected during last 24 hours:')
    }
});

Basically, it​ will swap the text for Members connected during last 99 hours to Members connected during last 24 hours, which​ is a great way to boost your stats for visitors.

Closing Notes:

Post your questions here.

Disclaimer: Punbb.biz is not using this code and therefore all statistics here are valid.



Forum Administrator, Coolyou,
Due to the volume of PMs I receive, I do not provide support via PM.
We have community forums for most support requests. If it's truly confidential, please do PM me.

Useful links:
-> Before asking question,  please use a Search option.
-> If you want to check our staff members click here.
->  Forum rules, this is a MUST READ thread.
->  FAQ (Frenquently asked questions)

Powered by PunBB
Currently 0 users have thanked Shadow for this post:

2
Offline

  greekport

avatar
Punbb Rookie
Punbb Rookie
txn

Powered by PunBB
Currently 0 users have thanked greekport for this post:

3
Offline

  Websitekontol

avatar
Newbie
Newbie
bot work

Powered by PunBB
Currently 0 users have thanked Websitekontol for this post:

4
Offline

  Websitekontol

avatar
Newbie
Newbie
i mean not work. dunno how to edit post here

Powered by PunBB
Currently 0 users have thanked Websitekontol for this post:

View previous topic View next topic Back to top Message [Page 1 of 1]


Topic URL's

URL
BBcode
HTML

Permissions in this forum:
You cannot reply to topics in this forum