Former Member
inherit
guest@proboards.com
222576
0
Apr 29, 2024 11:18:57 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2016 10:36:58 GMT -8
I'v got this code for members ratings (critique companion plugin) <a href="/user/$[user.id]/critiques"><button type="button">My ratings</button></a> it just a button under their mp ..... could someone help me put this button next to their avatar pic on the members list pls ? thank you
|
|
Former Member
inherit
guest@proboards.com
222576
0
Apr 29, 2024 11:18:57 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2016 11:12:01 GMT -8
i thought i had it but it's not going to the right link.
help pls
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,780
January 2015
msg
|
Post by Lynx on Jul 16, 2016 11:51:36 GMT -8
I'v got this code for members ratings (critique companion plugin) <a href="/user/$[user.id]/critiques"><button type="button">My ratings</button></a> it just a button under their mp ..... could someone help me put this button next to their avatar pic on the members list pls ? thank you You must already have a modified Members List page - because I don't see any avatars on a Members List page on my forum. Without knowing where the avatar is, it would be difficult to tell you where to place your code. I think the Members List page utilizes a table. If so, find in the table of where you had place their avatar and insert your code after it. Your code should end up within the same <td> element as the avatar.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Apr 29, 2024 11:18:57 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2016 15:17:14 GMT -8
I'v got this code for members ratings (critique companion plugin) <a href="/user/$[user.id]/critiques"><button type="button">My ratings</button></a> it just a button under their mp ..... could someone help me put this button next to their avatar pic on the members list pls ? thank you You must already have a modified Members List page - because I don't see any avatars on a Members List page on my forum. Without knowing where the avatar is, it would be difficult to tell you where to place your code. I think the Members List page utilizes a table. If so, find in the table of where you had place their avatar and insert your code after it. Your code should end up within the same <td> element as the avatar. {foreach $[user]} <tr id="$[user.content_id]" class="$[user.content_class] clickable" {if $[user.ip]}data-ip="$[user.ip]"{/if}> <td class="checkbox clickable">$[user.checkbox]</td> <td class="name target">$[user]</td> <td class="username">$[user.username]</td> <td class="rank">{if $[user.group]}$[user.group.name]{else}$[user.rank.name]{/if}</td> <td class="posts">$[user.posts]</td> <td class="date-registered">$[user.registered_on]</td> <td class="last-online last">{if $[user.is_online]}Member is Online{else}$[user.last_online]{/if}</td> </tr> {/foreach} {if !$[user]} <tr><td colspan="7" class="last center">No members were found.</td></tr> {/if} i'v put it in here and it clicks to the users profile page rather than the critique page.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Apr 29, 2024 11:18:57 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2016 15:18:14 GMT -8
i did have avatars on but i reset the template when i messed up, So this is what it's like now ^^
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,780
January 2015
msg
|
Post by Lynx on Jul 16, 2016 15:22:44 GMT -8
So, where do you want it? Next to the Display Name? Username?
|
|
Former Member
inherit
guest@proboards.com
222576
0
Apr 29, 2024 11:18:57 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 17, 2016 0:37:57 GMT -8
So, where do you want it? Next to the Display Name? Username? yea that would be fine thank you.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,780
January 2015
msg
|
Post by Lynx on Jul 17, 2016 10:48:26 GMT -8
Well, it didn't really give me a definitive answer, so I'll use Display Name, Try this:
{foreach $[user]}
<tr id="$[user.content_id]" class="$[user.content_class] clickable" {if $[user.ip]}data-ip="$[user.ip]"{/if}>
<td class="checkbox clickable">$[user.checkbox]</td>
<td class="name target">$[user] <a href="/user/$[user.id]/critiques"><button type="button">My ratings</button></a></td>
<td class="username">$[user.username]</td>
<td class="rank">{if $[user.group]}$[user.group.name]{else}$[user.rank.name]{/if}</td>
<td class="posts">$[user.posts]</td>
<td class="date-registered">$[user.registered_on]</td>
<td class="last-online last">{if $[user.is_online]}Member is Online{else}$[user.last_online]{/if}</td>
</tr>
{/foreach}
{if !$[user]}
<tr><td colspan="7" class="last center">No members were found.</td></tr>
{/if}
|
|
Former Member
inherit
guest@proboards.com
222576
0
Apr 29, 2024 11:18:57 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 17, 2016 11:41:31 GMT -8
lol sorry i just read the first one. yea anywhere will do. i'll go check it
|
|
Former Member
inherit
guest@proboards.com
222576
0
Apr 29, 2024 11:18:57 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 17, 2016 11:45:59 GMT -8
it doesn't work msg sorry, it does what it did for me and just clicks to the summary page and not the critique one.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,780
January 2015
msg
|
Post by Lynx on Jul 17, 2016 12:27:26 GMT -8
Is your critique page a new tab on the member's profile? If so, how did you get that tab on there?
|
|
Former Member
inherit
guest@proboards.com
222576
0
Apr 29, 2024 11:18:57 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 17, 2016 23:49:22 GMT -8
Is your critique page a new tab on the member's profile? If so, how did you get that tab on there? it is yes, it's a plugin. but i have this line of code <a href="/user/$[user.id]/critiques"><button type="button">My ratings</button></a> in my Mp's in posts, and it clicks to the critique tab. so it does work there if this helps.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,780
January 2015
msg
|
Post by Lynx on Jul 18, 2016 0:31:25 GMT -8
Try changing this:
<a href="/user/$[user.id]/critiques"><button type="button">My ratings</button></a>
to this:
<a href="/user/$[user.id]/critiques" class="button">My ratings</a>
If that doesn't work, I'm all out of ideas. Sorry.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Apr 29, 2024 11:18:57 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 18, 2016 1:57:29 GMT -8
you got it thank you msg thank you
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,780
January 2015
msg
|
Post by Lynx on Jul 18, 2016 8:20:21 GMT -8
Glad it worked for you, @joecool111.
|
|