![]() |
Hello, need a lillte clarification on this hack.
I have $onlinestatus in postbit template which show Online or Offline If i install this hack can i get it to change 'offline' to 'away' if user sets themselves as being 'away'. Would look silly having 'offline' and 'away' message. cheers |
When you install the hack, it adds it to the functions.php so it will show the away message accordingly in the postbit. :)
[QUOTE]Originally posted by carpman Hello, need a lillte clarification on this hack. I have $onlinestatus in postbit template which show Online or Offline If i install this hack can i get it to change 'offline' to 'away' if user sets themselves as being 'away'. Would look silly having 'offline' and 'away' message. cheers |
I'm using 2.2.6 and I can't get it working. I keep getting a parse error in Usercp.php line 382. Line 382 is just ?>
There is code differences to that in the installer script. Dunno if that is causing the problem. The code is actually if ($buddy['lastactivity'] > $datecut and !$buddy['invisible'] and $buddy['lastvisit'] != $buddy['lastactivity']) { $onoff="on"; } else { $onoff="off"; } As there was no mention of userid==6 stuff I left that out. I've spent 2 days trying to suss it to no avail. I thought installing the weather hack and vbpad might have been more difficult but they went smoothly compared to this. :( Anyone know why I'm getting that parse error? |
can i get a TEXT installation for version 1.2.........thx
|
https://vborg.vbsupport.ru/showthrea...017#post257017
[QUOTE]Originally posted by ZiRu$ can i get a TEXT installation for version 1.2.........thx |
thx man
|
You're very welcome there, sir. ;)
|
ok, this thread is 20 pages long so maybe this has been answered already but I am getting this error
Quote:
*EDIT* Never mind, I started looking through the pages while I was waiting for a reply and I think I got it fixed. |
I think you need a comma after FROM_UNIXTIME(awaydate) AS awaydate like this:
FROM_UNIXTIME(awaydate) AS awaydate, |
how can i put the away icon in the sig??
|
All times are GMT. The time now is 12:44 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|