Kennzo Posted August 17, 2014 Report Share Posted August 17, 2014 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 Quote Link to comment Share on other sites More sharing options...
Moderators Solution gadeas Posted August 17, 2014 Moderators Solution Report Share Posted August 17, 2014 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. 2 Quote 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 More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.