Author Topic: Looking for two addons  (Read 624 times)

rexxx

  • Confirmed Member
  • **
  • Posts: 22
  • Karma: +0/-1
Looking for two addons
« on: August 13, 2015, 10:51:58 PM »
One: Ask Me For My Photo... when uses don't upload a photo

Two: User Offline under photo when searching

Richard

KHDev

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 505
  • Karma: +43/-2
  • Etano Contributor (Skins & Mods)
    • KH Web Development
Re: Looking for two addons
« Reply #1 on: August 14, 2015, 07:13:46 AM »
For 2 - User Offline under photo when searching (I'm guessing its for when searching for members? and not photo searching?)

You could open skins_site > def > static > result_user.html

Place something like:

Code: [Select]
<span class="off_status">User Offline</span>
Then in skins_site > def > styles > search.css.php

Code: [Select]
span.off_status {
display: block;
}
.is_online span.off_status {
display: none;
}

Since you only want it in search results, open skins_site > def > styles > content.css and add

Code: [Select]
span.off_status {
display: none;
}

Then regenerate your skin in the admin panel (Admin > Skin Settings > Click Regenerate)

That will display 'User Offline' in search results if the user is offline.

Then you'll need to apply some styling to position it where you want it show.

rexxx

  • Confirmed Member
  • **
  • Posts: 22
  • Karma: +0/-1
Re: Looking for two addons
« Reply #2 on: August 24, 2015, 06:39:44 PM »
This is what I mean and it may be very hard to do but here goes.
When a user 1 signs up and setup there profile they don't upload a photo or just make them private.
 So now another user 2 sees a possible contact with this user so on that users profile an image from the system says
ASK USER FOR THEIR PHOTO. That is the blank photo asking this, so user 2 now clicks on that photo and the system sends user 1 a request from user 2 that they would like to see a photo of them, so user 1 now can look at user 2's profile and decide whether or not they want to let user 2 get a photo. So now user 1 can be friends with user 2 to allow to see private or upload a file and that file can be private or the default one now.
Maybe this can be done now just by adding a link under the photo stating this and it could be just a private photo. Again this might be something too much I don't know.
Richard