inherit
261503
0
Apr 21, 2021 7:18:14 GMT -8
badrosad
21
June 2020
badrosad
|
Post by badrosad on Apr 17, 2021 21:29:03 GMT -8
hello
i search in plugin library and i don't think that i found what i want
simply i want plugin like this
that show the icon of user that he write the last post in the thread with title of thread and time and icon of his/her profile and name
i hope you can do it guys and thank you for helping 😊
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,768
January 2015
msg
|
Post by Lynx on Apr 18, 2021 5:36:25 GMT -8
I'm going to tag Kami, as this may be possible with a template modification. I'm not the best at template mods, so perhaps she can kindly chime in to confirm or not if it's possible as a template mod. If it can be done as a template mod, please note that it would have to be done to every theme's template, as templates are theme-specific.
|
|
inherit
261503
0
Apr 21, 2021 7:18:14 GMT -8
badrosad
21
June 2020
badrosad
|
Post by badrosad on Apr 18, 2021 5:39:33 GMT -8
I'm going to tag Kami, as this may be possible with a template modification. I'm not the best at template mods, so perhaps she can kindly chime in to confirm or not if it's possible as a template mod. If it can be done as a template mod, please note that it would have to be done to every theme's template, as templates are theme-specific. Okay thank you , at least you undressed me
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,768
January 2015
msg
|
Post by Lynx on Apr 18, 2021 5:44:21 GMT -8
I'm going to tag Kami, as this may be possible with a template modification. I'm not the best at template mods, so perhaps she can kindly chime in to confirm or not if it's possible as a template mod. If it can be done as a template mod, please note that it would have to be done to every theme's template, as templates are theme-specific. Okay thank you , at least you undressed me I see you posted this via mobile. I think your auto-correct needs it's own auto-correct - as I think you meant to post 'addressed' instead of 'undressed'.
|
|
inherit
261503
0
Apr 21, 2021 7:18:14 GMT -8
badrosad
21
June 2020
badrosad
|
Post by badrosad on Apr 18, 2021 6:11:13 GMT -8
Okay thank you , at least you undressed me I see you posted this via mobile. I think your auto-correct needs it's own auto-correct - as I think you meant to post 'addressed' instead of 'undressed'. Yeah 😅 i mean at least you understood me
|
|
Kami
Forum Cat
Posts: 40,002
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,002
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Apr 18, 2021 8:38:36 GMT -8
Yep, it's possible! It would need a little configuration though to have it set up next to the last post info like that. I'm on mobile until Monday though, so gonna pass the buck to Retread (:
|
|
inherit
261503
0
Apr 21, 2021 7:18:14 GMT -8
badrosad
21
June 2020
badrosad
|
Post by badrosad on Apr 18, 2021 8:51:36 GMT -8
thank you
|
|
inherit
252032
0
Sept 18, 2023 9:07:51 GMT -8
Retread
Tribbial Pursuit.
5,014
January 2018
retread
|
Post by Retread on Apr 18, 2021 9:58:08 GMT -8
Okay... to accomplish this via template modification, you would make changes to the Thread List tab of the Board template.
Find the line (usually line 20) that looks like this:
<td class="latest last">by $[thread.last_post.created_by]<br />$[thread.last_post.created_on]</td>
And Replace it with this for a very small avatar:
<td class="latest last"><div style="float:left;">$[thread.created_by.avatar_quote]</div>by $[thread.last_post.created_by]<br />$[thread.last_post.created_on]</td>
Or Replace it with this for a small avatar:
<td class="latest last"><div style="float:left;">$[thread.created_by.avatar_small]</div>by $[thread.last_post.created_by]<br />$[thread.last_post.created_on]</td>
|
|
inherit
261503
0
Apr 21, 2021 7:18:14 GMT -8
badrosad
21
June 2020
badrosad
|
Post by badrosad on Apr 18, 2021 10:21:35 GMT -8
Okay... to accomplish this via template modification, you would make changes to the Thread List tab of the Board template. Find the line (usually line 20) that looks like this: <td class="latest last">by $[thread.last_post.created_by]<br />$[thread.last_post.created_on]</td> And Replace it with this for a very small avatar: <td class="latest last"><div style="float:left;">$[thread.created_by.avatar_quote]</div>by $[thread.last_post.created_by]<br />$[thread.last_post.created_on]</td> Or Replace it with this for a small avatar: <td class="latest last"><div style="float:left;">$[thread.created_by.avatar_small]</div>by $[thread.last_post.created_by]<br />$[thread.last_post.created_on]</td> i tried but not working
|
|
inherit
252032
0
Sept 18, 2023 9:07:51 GMT -8
Retread
Tribbial Pursuit.
5,014
January 2018
retread
|
Post by Retread on Apr 18, 2021 10:35:16 GMT -8
From your Admin panel, navigate: Admin Home> Themes> Layout TemplatesSelect the desired theme in the dropdown to the right of Current ThemeClick on Board. Click on the Thread List tab. Click anywhere within the textarea that holds the coding. Press the Ctrl + a keys on your keyboard (select all) Press the Ctrl + c keys on your keyboard (copy to clipboard) Make a new post in this thread then paste (Ctrl + v) the contents of your clipboard in the post. I'll modify the contents for you and post them in this thread. Then you can replace the contents of that layout template with the new coding I give you.
|
|
inherit
261503
0
Apr 21, 2021 7:18:14 GMT -8
badrosad
21
June 2020
badrosad
|
Post by badrosad on Apr 18, 2021 15:05:55 GMT -8
From your Admin panel, navigate: Admin Home> Themes> Layout TemplatesSelect the desired theme in the dropdown to the right of Current ThemeClick on Board. Click on the Thread List tab. Click anywhere within the textarea that holds the coding. Press the Ctrl + a keys on your keyboard (select all) Press the Ctrl + c keys on your keyboard (copy to clipboard) Make a new post in this thread then paste (Ctrl + v) the contents of your clipboard in the post. I'll modify the contents for you and post them in this thread. Then you can replace the contents of that layout template with the new coding I give you. i was about to do it but i'm sorry for late <table class="list" role="grid">
<thead>
<tr>
<th class="icon"></th>
<th class="main">Board</th>
<th class="threads">Threads</th>
<th class="posts">Posts</th>
<th class="latest last">Last Post</th>
</tr>
</thead>
<tbody>
{foreach $[board]}
{if !$[board.is_redirect]}
<tr id="$[board.content_id]" class="$[board.content_class]">
<td class="icon">$[board.icon]</td>
<td class="main clickable">
<span class="link">$[board]</span>{if $[board.num_viewing]}<span class="viewing"> - $[board.num_viewing] Viewing</span>{/if}<br />
<p class="description">$[board.description]</p>
{if $[board.num_mods]}
<p class="moderators">
Moderator{if $[board.num_mods] != 1}s{/if}:
{foreach $[board.moderator_group]}$[board.moderator_group.comma_before] $[board.moderator_group]{/foreach}{if $[board.moderator]}{if $[board.moderator_group]}, {/if}{/if}
{foreach $[board.moderator]}$[board.moderator]$[board.moderator.comma] {/foreach}
</p>
{/if}
{if $[board.sub_board]}
<p class="sub-boards">
Sub-board{if $[board.sub_board] != 1}s{/if}:
{foreach $[board.sub_board]}<a href="$[board.sub_board.href]">$[board.sub_board.name]</a>$[board.sub_board.comma] {/foreach}
</p>
{/if}
</td>
<td class="threads">{if $[board.threads] == -1}N/A{else}$[board.threads]{/if}</td>
<td class="posts">{if $[board.posts] == -1}N/A{else}$[board.posts]{/if}</td>
<td class="latest last">
{if $[board.posts] > 0}
{if $[board.last_thread]}
$[board.last_thread.recent_link]<br />
by $[board.last_thread.last_post.created_by]<br />
<span class="date">$[board.last_thread.last_post.created_on]</span>
{/if}
{else}
No posts have been made on this board.
{/if}
</td>
</tr>
{else}
<tr id="$[board.content_id]" class="$[board.content_class]">
<td class="icon">$[board.icon]</td>
<td class="main clickable redirect last" colspan="4">
<span class="link">$[board]</span><br />
<p class="description">$[board.description]</p>
</td>
</tr>
{/if}
{/foreach}
{if !$[board]}
<tr class="last"><td class="last center" colspan="5">No boards were found.</td></tr>
{/if}
</tbody>
</table>
|
|
inherit
252032
0
Sept 18, 2023 9:07:51 GMT -8
Retread
Tribbial Pursuit.
5,014
January 2018
retread
|
Post by Retread on Apr 18, 2021 15:31:33 GMT -8
badrosad, what you posted was the contents ( Board) Board List tab. What we need is the contents of ( Board) Thread List tab.
|
|
inherit
261503
0
Apr 21, 2021 7:18:14 GMT -8
badrosad
21
June 2020
badrosad
|
Post by badrosad on Apr 18, 2021 15:46:58 GMT -8
badrosad , what you posted was the contents ( Board) Board List tab. What we need is the contents of ( Board) Thread List tab. i'm sorry
{foreach $[thread]} <tr id="$[thread.content_id]" class="$[thread.content_class]"> <td class="icon">$[thread.icon]</td> <td class="checkbox clickable">$[thread.checkbox]</td> <td class="main clickable" title="$[thread.short_content]"> <table> <tr> <td>$[thread.icons]</td> <td> $[thread.labels] <span class="link target">$[thread]</span> {if $[thread.pagination]}<div class="ui-micro-pagination">Pages: $[thread.pagination]</div>{/if} </td> </tr> </table> </td> <td class="created-by clickable">$[thread.created_by]</td> <td class="replies clickable">$[thread.replies]</td> <td class="views">$[thread.views]</td> <td class="latest last">by $[thread.last_post.created_by]<br />$[thread.last_post.created_on]</td> </tr> {/foreach} {if !$[thread]} <tr class="last"> <td class="last center" colspan="7">No threads were found.</td> </tr> {/if}
|
|
inherit
261503
0
Apr 21, 2021 7:18:14 GMT -8
badrosad
21
June 2020
badrosad
|
Post by badrosad on Apr 18, 2021 15:53:45 GMT -8
i try your code but not what i want
what i want is in the main of forum in categories section
i mean last post in categorie not board
|
|
inherit
252032
0
Sept 18, 2023 9:07:51 GMT -8
Retread
Tribbial Pursuit.
5,014
January 2018
retread
|
Post by Retread on Apr 18, 2021 16:44:25 GMT -8
what i want is in the main of forum in categories section Okay, then we DO want to make the modification in the ( Board) Board List tab. Replace the entire contents of the ( Board) Board List tab with this: <table class="list" role="grid"> <thead> <tr> <th class="icon"></th> <th class="main">Board</th> <th class="threads">Threads</th> <th class="posts">Posts</th> <th class="latest last">Last Post</th> </tr> </thead> <tbody> {foreach $[board]} {if !$[board.is_redirect]} <tr id="$[board.content_id]" class="$[board.content_class]"> <td class="icon">$[board.icon]</td> <td class="main clickable"> <span class="link">$[board]</span>{if $[board.num_viewing]}<span class="viewing"> - $[board.num_viewing] Viewing</span>{/if}<br /> <p class="description">$[board.description]</p> {if $[board.num_mods]} <p class="moderators"> Moderator{if $[board.num_mods] != 1}s{/if}: {foreach $[board.moderator_group]}$[board.moderator_group.comma_before] $[board.moderator_group]{/foreach}{if $[board.moderator]}{if $[board.moderator_group]}, {/if}{/if} {foreach $[board.moderator]}$[board.moderator]$[board.moderator.comma] {/foreach} </p> {/if} {if $[board.sub_board]} <p class="sub-boards"> Sub-board{if $[board.sub_board] != 1}s{/if}: {foreach $[board.sub_board]}<a href="$[board.sub_board.href]">$[board.sub_board.name]</a>$[board.sub_board.comma] {/foreach} </p> {/if} </td> <td class="threads">{if $[board.threads] == -1}N/A{else}$[board.threads]{/if}</td> <td class="posts">{if $[board.posts] == -1}N/A{else}$[board.posts]{/if}</td> <td class="latest last"> {if $[board.posts] > 0} {if $[board.last_thread]} <div style="float:left;">$[board.last_thread.created_by.avatar_quote]</div> <div style="text-align:left;margin-left:40px;">$[board.last_thread.recent_link]<br /> <span class="date">$[board.last_thread.last_post.created_on] - $[board.last_thread.last_post.created_by]</span></div> {/if} {else} No posts have been made on this board. {/if} </td> </tr> {else} <tr id="$[board.content_id]" class="$[board.content_class]"> <td class="icon">$[board.icon]</td> <td class="main clickable redirect last" colspan="4"> <span class="link">$[board]</span><br /> <p class="description">$[board.description]</p> </td> </tr> {/if} {/foreach} {if !$[board]} <tr class="last"><td class="last center" colspan="5">No boards were found.</td></tr> {/if} </tbody> </table> Remember to Save Changes. Please let me know if this gets you where you want to go.
|
|