Jump to content

Image country STAFF ONLINE


simonecatalano

Recommended Posts

You've already opened a topic on this, haven't you?

You can add an image, but depending on which script you are using, you need to modify the image url. :)

If you are using this script:

http://forum.phpvms.net/topic/8742-staff-online/page__hl__%2Bstaff+%2Bonline

Then something like this should work:

<img src"<?php echo SITE_URL;?>/lib/images/countries/<?php echo strtolower($pilot->location);?>.png" alt="" />

Link to comment
Share on other sites

You hover over it, right click "Copy", then right click "Paste" inside the foreach and if loops for the staff...A bit of effort from your side instead of waiting for others to do everything for you would certainly be appreciated from your side. All your posts are is request for support where you could have easily solved the issue yourself, or, on the other hand, when you are provided the solution, you don't even try and implement it yourself. Take this as an example. You already have the staff online code, and you have my bit of code, so, it would be logical that they have to be in some way connected. If you started placing the code at each line from top and all the way to the bottom, you would either get an error, or it wouldn't display the image, or it would work. So pretty much 1 minute of trial and error work. It's much quicker then waiting for me or someone else to answer the topic, and to be honest, it shows lack of patience and willingness to fix something yourself.

My 0.2c and a bit of what is supposed to be constructive criticism.

Regards,

Sava

  • Like 1
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
×
×
  • Create New...