PDA

View Full Version : swapping "online"/"Offline" pic for new one


gulfcoasttundra
02-17-2010, 06:48 PM
where would I find the code to swap out the icon/pic/logo for Online/Offline Status?

Thanks
Ben

Lynne
02-17-2010, 07:57 PM
The code? Why not just replace the images? If you want to change it in the template and don't know what template, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

gulfcoasttundra
02-25-2010, 12:15 AM
sweetness... thanks Lynne... you've saved my ass on a few occasions.

gulfcoasttundra
03-07-2010, 09:47 PM
ok...so i found the section but do i need to host the file in my root directory or does it not matter where?

mandingo
03-07-2010, 10:19 PM
ok...so i found the section but do i need to host the file in my root directory or does it not matter where?

/images/statusicon/user_invisible.gif
/images/statusicon/user-invisible.png
/images/statusicon/user_offline.gif
/images/statusicon/user-offline.png
/images/statusicon/user_online.gif
/images/statusicon/user-online.png

just replace those.

Or alternately:
Upload replacement files elsewhere on your server and change the path in stylevars>imgdir_statusicon
but make sure to copy all the rest of the files from the other statusicon directory,or obviously make a whole new set.

munsonfan15
03-30-2010, 03:38 PM
Im a little lost on this. I uploaded all new .gif files (animated) for this online/offline status but I dont know how to change it so vb picks those up - It keeps pulling up the vb standard .png files. If I remove the .png files then no picture shows. Is there something else I need to do to point to the .gif files and not the .png files?

Lynne
03-31-2010, 02:55 AM
Why don't you just use Replacement Variables if you are switching from png to gif?