Jump to content

Awards


Daniel

Recommended Posts

  • Moderators

daniel come on i just replyed in a other tread that you need to do a search in the forum.

still you keep asking for code i think that i cab talk for the rest iff you keep asking for code without first looking for it you will not get anny help.

every day you ask a new question first do some looking and then maby make 1 topic with all you questions you can't solve

gr joeri

  • Like 2
Link to comment
Share on other sites

  • Administrators

what is the code for the pilot center so when i give them an award it just shows an image. I know there is one already there but it does not work.

thanks

Daniel

The code I have to assume you are referring to is ->

/* To show the image:

  <img src="<?php echo $award->image?>" alt="<?php echo $award->descrip?>" />

*/

You have to un-comment the code for it to work (ie - remove the /* and */ comment strings) and place it within the html section of the foreach loop created just below it.

And, Joeri is right, it has been addressed a number of times.

  • Like 2
Link to comment
Share on other sites

  • Administrators

but still it does not show the image in the pilot center. could you help me out that with that pls

thanks

Some more information would be helpful....

Is anything at all displaying? (blank image box, text, open code, etc..)

Have you correctly set the path to the image in your admin center?

Does the description or title for the award display?

  • Like 1
Link to comment
Share on other sites

  • Administrators

yep, www.pashairvirtual.co.uk the image does not show in the pilot center under 'My Awards' it just shows a box like an image is missing.

I just went through a few of the public profile pages and none seem to have any awards at all. If you are seeing a box with what seems like a missing image than the path you have set in the admin center is probably wrong. Does the image show in the listing of awards in your admin center?

  • Like 1
Link to comment
Share on other sites

  • Administrators

The url of the image should not have an index.php in it.....

If you mean this is the page it should be on, I can not see it as you have to be logged in.

You need to compare the code from a page it is working on to the page you are having trouble with.

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