Jump to content

Cerere Cod Timp Online Pe Forum Ipb

Go to solution Solved by gadeas,

Recommended Posts

Salut PCT , de curand am modificat userinfopane-ul .. dar am nevoie de codu` pentru intervalulul de timp online petrecut pe forum.. de unde pot lua acel cod:-? am cautat si in:

BoardIndex > sos33_timespent_sidebar

acel cod, insa nu am gasit acel interval de timp: 9h 13 minutes 9 sec

Am nevoie de acel cod :-?


Link to comment
Share on other sites

  • Moderators
  • Solution

Ce vrei mai exact sa faci?

Daca vrei sa-l customizezi stilu cum e la mine ( si cum il ai tu in poza ), atunci va trebuii sa modifici direct fisieru .xml.


Tine minte sa faci backup la forum/hook.

In fisieru "timeOnline.xml" cauta urmatoru rand:

$string	= ( $_data['author']['member_id'] && in_array($_data['author']['member_group_id'], $canUse) ) ? "<ul class='basic_info'><li class='post_count desc lighter'>{$text}: {$days}{$hrs}{$mins}{$secs}</li></ul>" : '';

Si modifical cu urmatoru:

$string	= ( $_data['author']['member_id'] && in_array($_data['author']['member_group_id'], $canUse) ) ? "<ul class='pairsJustified'><li><dt>{$text}:</dt> <dd>{$days}{$hrs}{$mins}{$secs}</dd></li></ul>" : '';

Odata modificat, instaleaza din nou hook-ul si va arata cum vrei.

  • Upvote 2

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.