#FF6600
Closet Spammer
31801
0
1
Nov 25, 2024 10:20:01 GMT -8
wildmaven
Fear the Flying Flocks of Fiery Fury!!
35,653
October 2004
wildmaven
Wildmaven's Mini-Profile
|
Post by wildmaven on Sept 7, 2013 16:59:05 GMT -8
I'm looking for a mini-profile plugin that will access a member's registration date and will display a different graphic depending on how many years the member has belonged to the site. I know I can do it manually, but I would really not like to have to keep track of when a new graphic needs to be added. If it can be done automatically upon each yearly anniversary, it would be wonderful!
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Sept 7, 2013 19:30:12 GMT -8
register date isnt something accessible from the proboards.data for anyone, so in order to utilize a plugin that required such data, you would need to embed a small piece into the mini profile template that had the registration date. something like:
<span class="reg_date" style="display:none">$[user.registered_on]</span>
THEN a plugin could extract what it needed. this is how posting activity plugin gets a piece it needs.
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Sept 9, 2013 9:04:26 GMT -8
Would the graphic show for just that one day, or were you looking to show it for like a week?
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Sept 11, 2013 8:08:40 GMT -8
|
|
#FF6600
Closet Spammer
31801
0
1
Nov 25, 2024 10:20:01 GMT -8
wildmaven
Fear the Flying Flocks of Fiery Fury!!
35,653
October 2004
wildmaven
Wildmaven's Mini-Profile
|
Post by wildmaven on Sept 11, 2013 9:06:21 GMT -8
w000t thanks!! Where it says "Year" in the plugin settings, what exactly am I putting there?
And I put the required code in the miniprofile template, but I'm not sure I put it in the right location. I put it after the </div>
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Sept 11, 2013 9:24:43 GMT -8
that would be the year number. so first anniversary would be year 1 second anniversary would be year 2
if you just want the same image for any year, I have to write something else in because I assumed people would want different image for different years.
and that span has to be inside the mini-profile div. you have it just after, so it wont target the correct spot.
|
|
#FF6600
Closet Spammer
31801
0
1
Nov 25, 2024 10:20:01 GMT -8
wildmaven
Fear the Flying Flocks of Fiery Fury!!
35,653
October 2004
wildmaven
Wildmaven's Mini-Profile
|
Post by wildmaven on Sept 11, 2013 9:31:54 GMT -8
that would be the year number. so first anniversary would be year 1 second anniversary would be year 2 if you just want the same image for any year, I have to write something else in because I assumed people would want different image for different years. and that span has to be inside the mini-profile div. you have it just after, so it wont target the correct spot. I put it just before the </div> and it's still not working.
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Sept 11, 2013 9:36:32 GMT -8
can I see the profile?
|
|
#FF6600
Closet Spammer
31801
0
1
Nov 25, 2024 10:20:01 GMT -8
wildmaven
Fear the Flying Flocks of Fiery Fury!!
35,653
October 2004
wildmaven
Wildmaven's Mini-Profile
|
Post by wildmaven on Sept 11, 2013 9:37:40 GMT -8
<div class="$[miniprofile_class]"> $[user]<br /> {if $[user.is_guest]}Guest<br />{/if} {if $[user.group]} $[user.group.name]<br />$[user.group.stars]<br /> {elseif $[user.rank]} $[user.rank.name]<br /> {if $[user.rank.stars]} $[user.rank.stars]<br /> {/if} {/if} {if $[user.custom_title]}$[user.custom_title]<br />{/if} $[user.warning.bar] <br /> {if $[user.avatar]} <div class="avatar">$[user.avatar]</div><br /> {/if} {if $[user.personal_text.message]} $[user.personal_text]<br /> {/if} <center>$[user.rank.stars]</center> {if $[user.is_member]} <div class="info"> Posts: $[user.posts]{if $[user.gender]}<span class="float-right">$[user.gender.image]</span>{/if} {foreach $[user.mini_custom_field]} <br /><span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name]: $[user.mini_custom_field.value]</span> {/foreach} {if $[user.is_online]}<br /><span class="italic">Member is Online</span>{/if} </div><br /> {/if} {if $[user.miniprofile_badge]} <div class="$[user.miniprofile_badge_container_class]"> {foreach $[user.miniprofile_badge]} $[user.miniprofile_badge.icon] {/foreach} </div> {/if} <span class="anniversary" style="display:none">$[user.registered_on]</span> </div>
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Sept 11, 2013 9:38:46 GMT -8
I mean the actual mini-profile. so I can see what is halting the code
|
|
#FF6600
Closet Spammer
31801
0
1
Nov 25, 2024 10:20:01 GMT -8
wildmaven
Fear the Flying Flocks of Fiery Fury!!
35,653
October 2004
wildmaven
Wildmaven's Mini-Profile
|
Post by wildmaven on Sept 11, 2013 9:57:54 GMT -8
I don't know what you mean? Sorry if I'm being dense.
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Sept 11, 2013 10:01:01 GMT -8
a link to a post with the mini-profile that should have the graphic.
|
|
#FF6600
Closet Spammer
31801
0
1
Nov 25, 2024 10:20:01 GMT -8
wildmaven
Fear the Flying Flocks of Fiery Fury!!
35,653
October 2004
wildmaven
Wildmaven's Mini-Profile
|
Post by wildmaven on Sept 11, 2013 10:43:08 GMT -8
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Sept 11, 2013 12:42:28 GMT -8
sorry I didnt consider you were going to display it year round. I just have to make a couple line changes when I get home.
|
|
#FF6600
Closet Spammer
31801
0
1
Nov 25, 2024 10:20:01 GMT -8
wildmaven
Fear the Flying Flocks of Fiery Fury!!
35,653
October 2004
wildmaven
Wildmaven's Mini-Profile
|
Post by wildmaven on Sept 11, 2013 13:24:46 GMT -8
sorry I didnt consider you were going to display it year round. I just have to make a couple line changes when I get home. Thanks!
|
|