Author Topic: Icon for paid members  (Read 1841 times)

flyer5

  • Active Member
  • ***
  • Posts: 96
  • Karma: +4/-0
    • North East Nudists
Icon for paid members
« on: February 24, 2015, 10:09:05 AM »
Hi all
I want to display a badge on the profiles of subscribed members, whats the best way to do this?
I can add a table with a field that updates when we get a succseful response from paypal easy enough, but how can i query this and display it if the users status is true?
Javascript in the html?
Im crap with javascript :)

any suggestions or code welcome!

JohnHarperJr

  • Active Member
  • ***
  • Posts: 78
  • Karma: +6/-0
    • SocialGratis.com
Re: Icon for paid members
« Reply #1 on: February 26, 2015, 03:39:51 AM »
Query your database for their membership status with PHP. If it returns true, display the indicated CSS for your badge.

Marble

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 1004
  • Karma: +56/-7
Re: Icon for paid members
« Reply #2 on: April 16, 2015, 02:15:24 AM »
flyer5, did you ever solve this?
If you see that I'm logged in forever... it just means I turned the page on my browser and forgot to logout.

flyer5

  • Active Member
  • ***
  • Posts: 96
  • Karma: +4/-0
    • North East Nudists
Re: Icon for paid members
« Reply #3 on: April 16, 2015, 02:20:25 AM »
No i forgot about it, but you've just reminded me! Ill have a play tonight after work.

F5

Marble

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 1004
  • Karma: +56/-7
Re: Icon for paid members
« Reply #4 on: August 27, 2015, 09:37:52 PM »
A member on my site just asked me about this. I've seen it used in other websites.
If you see that I'm logged in forever... it just means I turned the page on my browser and forgot to logout.

flyer5

  • Active Member
  • ***
  • Posts: 96
  • Karma: +4/-0
    • North East Nudists
Re: Icon for paid members
« Reply #5 on: August 30, 2015, 11:42:16 AM »
hi
yes this was achieved, i display 4 'badges' on user profiles they are, paid subscriber, verified, administrator and moderator

Marble

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 1004
  • Karma: +56/-7
Re: Icon for paid members
« Reply #6 on: August 30, 2015, 05:58:36 PM »
Oh wow! that's better than what I was thinking and certainly more flexible than one icon for paid subscribers.  :)
It turns out that the member who suggested this is a moderator on my site.
If you see that I'm logged in forever... it just means I turned the page on my browser and forgot to logout.

Marble

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 1004
  • Karma: +56/-7
Re: Icon for paid members
« Reply #7 on: September 03, 2015, 08:03:25 AM »
hi
yes this was achieved, i display 4 'badges' on user profiles they are, paid subscriber, verified, administrator and moderator

So, how did you do it?
If you see that I'm logged in forever... it just means I turned the page on my browser and forgot to logout.

flyer5

  • Active Member
  • ***
  • Posts: 96
  • Karma: +4/-0
    • North East Nudists
Re: Icon for paid members
« Reply #8 on: September 03, 2015, 02:18:16 PM »
Ill write it up as a contribution, I also have a 'fake' badge for known fake profiles.

Marble

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 1004
  • Karma: +56/-7
Re: Icon for paid members
« Reply #9 on: September 28, 2015, 12:26:32 PM »
Ill write it up as a contribution, I also have a 'fake' badge for known fake profiles.

I understand that you're very busy, but do you happen to have a tutorial on making these badges?
If you see that I'm logged in forever... it just means I turned the page on my browser and forgot to logout.

Hornyflings

  • Prime Member
  • ****
  • Posts: 182
  • Karma: +3/-0
    • AsiasHeart
Re: Icon for paid members
« Reply #10 on: January 04, 2016, 03:06:21 AM »
Quote
Ill write it up as a contribution, I also have a 'fake' badge for known fake profiles.

Is there contribution available by now ?

Marble

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 1004
  • Karma: +56/-7
Re: Icon for paid members
« Reply #11 on: January 09, 2016, 04:24:23 PM »
Quote
Ill write it up as a contribution, I also have a 'fake' badge for known fake profiles.

Is there contribution available by now ?

Good question. Maybe JohnHarper Jr can help us figure this out.
If you see that I'm logged in forever... it just means I turned the page on my browser and forgot to logout.

KHDev

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 498
  • Karma: +43/-2
  • Etano Contributor (Skins & Mods)
    • KH Web Development
Re: Icon for paid members
« Reply #12 on: January 09, 2016, 06:24:05 PM »





Full Guide on how to achieve this is available @ http://forum.datemill.com/index.php?topic=4482.0







Hornyflings

  • Prime Member
  • ****
  • Posts: 182
  • Karma: +3/-0
    • AsiasHeart
Re: Icon for paid members
« Reply #13 on: January 10, 2016, 02:28:12 AM »
Thanks for sharing KHDev.
will give it a try.

Marble

  • Global Moderator
  • Veteran Member
  • *****
  • Posts: 1004
  • Karma: +56/-7
Re: Icon for paid members
« Reply #14 on: January 10, 2016, 04:04:30 AM »
Thanks KHDev! I tried it out and customized it for my liking. It works perfectly.  :)
I moved this to the Code Contributions category.
If you see that I'm logged in forever... it just means I turned the page on my browser and forgot to logout.