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 Aug 26, 2014 19:34:03 GMT -8
well thats definitely weird because the awards shouldnt show up in the mmp if it doesnt exist yet.
|
|
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 6, 2014 23:01:45 GMT -8
gtv22can you link me to a thread where its showing in both?
|
|
gtv22
Junior Member
Still learning ...
Posts: 260
inherit
203486
0
Mar 1, 2014 9:50:41 GMT -8
gtv22
Still learning ...
260
December 2013
gtv22
|
Post by gtv22 on Sept 7, 2014 13:54:25 GMT -8
Sure.
On that page, they show in both places, but if you go back a page, they show only in the hover pop up. All threads are currently doing the same thing.
Thanks for your help.
|
|
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, 2014 16:13:08 GMT -8
The awards plugin has a footer component that makes it run after all the plugins have ran regardless of what order they are listed in the manager. on pagination, both plugins follow the order because they loaded into the queue that way. Todge must have needed to write the call into the footer for a reason. the awards hit both boxes because I put a second class of mini-profile on the mini-mini-profile in case other plugins or CSS needed to affect the mmp as well. Im open to ideas Todge..
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Sept 7, 2014 17:11:36 GMT -8
There was a reason I put the function call in the footer, but I'll be damned if I can remember why.
I'll see what I can do with the awards plugin, but without a working computer that may take a while.
|
|
gtv22
Junior Member
Still learning ...
Posts: 260
inherit
203486
0
Mar 1, 2014 9:50:41 GMT -8
gtv22
Still learning ...
260
December 2013
gtv22
|
Post by gtv22 on Oct 2, 2014 17:43:43 GMT -8
in your template, surround the rank names and the rank stars with something so it can be found and I can get you something that will pull them into MMP Do you mean something like this? <div id="user_rank_info"> {if $[user.rank]} $[user.rank.name]<br /> {if $[user.rank.stars]} $[user.rank.stars]<br /> {/if} {/if} </div> Is this what you meant for me to do to surround them?
|
|
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 Oct 7, 2014 1:21:11 GMT -8
sorry I keep forgetting to come back to this. I should hopefully have time during the screening tomorrow to write something up. part of the reason ranks and stars werent included is that the the main point of the mini-mini was to put as little as possible in it. just enough to identify who made the post. then if you wanted to see all the extraneous stuff, you just had to hover. what I can write up is something that should hopefully sit in global footer and follow the plugin running to copy what you have in that div into the mini-mini.
|
|
gtv22
Junior Member
Still learning ...
Posts: 260
inherit
203486
0
Mar 1, 2014 9:50:41 GMT -8
gtv22
Still learning ...
260
December 2013
gtv22
|
Post by gtv22 on Oct 7, 2014 10:45:33 GMT -8
I think you made a great plug-in and I think your decision on what to include was just right, too. Ordinarily, I would also prefer to leave out the ranks and stars and have the profile be as small as possible. The reason that I would like them to show, is that we use other images in lieu of stars and some of us like to roleplay as our rank images. On our roleplay posts, the rank & image is sort of part of our identity. It's very nice of you to spend your time helping me to include them when it is an extra. Thanks. I really appreciate it.
|
|
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 Oct 9, 2014 1:31:30 GMT -8
add this to GLOBAL footer <script type="text/javascript"> $(document).ready(function(){ // move rank and stars back into mmp $('div.mini-profile .user_rank_info').each(function(){ $(this).parent().next().find('a.user-link').after($(this).clone(true)); }); }); </script>
|
|
gtv22
Junior Member
Still learning ...
Posts: 260
inherit
203486
0
Mar 1, 2014 9:50:41 GMT -8
gtv22
Still learning ...
260
December 2013
gtv22
|
Post by gtv22 on Oct 9, 2014 10:43:28 GMT -8
Thank you. I have added it to the global footer and I can see the ranks appear briefly, but then they are ending up back into the hover.
I have just started learning these things, so I hope this is not a stupid question - Should I take the ranks back out of the div id? I don't see the div in your code.
|
|
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 Oct 9, 2014 17:21:10 GMT -8
I didnt remove it from the hover, I just duplicated it into the mini-view. recopy the snippet. do you want to remove it from the hover or have it in both?
|
|
gtv22
Junior Member
Still learning ...
Posts: 260
inherit
203486
0
Mar 1, 2014 9:50:41 GMT -8
gtv22
Still learning ...
260
December 2013
gtv22
|
Post by gtv22 on Oct 9, 2014 17:41:34 GMT -8
I didnt remove it from the hover, I just duplicated it into the mini-view. recopy the snippet. do you want to remove it from the hover or have it in both? I recopied it and the rank info doesn't stay in view. Ideally, it would not be in the hover, but it's not a big deal. I don't want to make more work for you.
|
|
gtv22
Junior Member
Still learning ...
Posts: 260
inherit
203486
0
Mar 1, 2014 9:50:41 GMT -8
gtv22
Still learning ...
260
December 2013
gtv22
|
Post by gtv22 on Oct 9, 2014 18:36:13 GMT -8
Someone on my forum found a minor typo in the snippet. They changed the .user_rank_info to #user_rank_info and now it works perfectly. Thanks.
|
|
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 Oct 9, 2014 18:54:47 GMT -8
hmmm. yeah that should actually be fixed. in your template make it
<div class="user_rank_info">
and put the snippet back to what it was before. you should only have ONE element with an ID on the page. not dozens. using class is better (and what I thought you had done because I didnt check).
|
|
gtv22
Junior Member
Still learning ...
Posts: 260
inherit
203486
0
Mar 1, 2014 9:50:41 GMT -8
gtv22
Still learning ...
260
December 2013
gtv22
|
Post by gtv22 on Oct 9, 2014 19:26:44 GMT -8
Ok. I edited my div and changed back to your snippet. Thank you.
|
|