Post by xsilencex on Jun 2, 2020 16:19:56 GMT -8
Forum URL: thetouch.proboards.com/
Downloaded a skin for my website, and realized that the checkbox for thread moderation doesn't exist. So I added the code for it in the thread portion of the html to where I wanted it to be located, and it still doesn't work. It won't let me bulk delete anything or bulk lock threads, or any sort of moderating. I'm wondering if it's the skin's problem, but I'm pretty much stumped at the placing of the checkbox code, (assuming I'm using the right one for what I want?)
Here's the thread HTML as it stands now:
I know I need this to make it work (assuming it's the right one, it worked even though it broke the coding):
I put that in, and it breaks the whole thing. I don't know if there's another solution, I'm not great with coding, and I haven't gone this far with it before so I'm not sure what I should be doing, especially coming back here after seven years of disappearing. Thank you.
Downloaded a skin for my website, and realized that the checkbox for thread moderation doesn't exist. So I added the code for it in the thread portion of the html to where I wanted it to be located, and it still doesn't work. It won't let me bulk delete anything or bulk lock threads, or any sort of moderating. I'm wondering if it's the skin's problem, but I'm pretty much stumped at the placing of the checkbox code, (assuming I'm using the right one for what I want?)
Here's the thread HTML as it stands now:
{foreach $[thread]}
<div class="thread_list">
<div class="thread_icon">
{if $[thread.is_locked]}<i class="fa fa-lock" aria-hidden="true"></i>
{elseif $[thread.is_announcement]}<i class="fa fa-exclamation-triangle" aria-hidden="true"></i>{else}
<i class="fa fa-graduation-cap" aria-hidden="true"></i>{/if}
</div>
<div class="thread_title">$[thread.checkbox] $[thread]
<div class="thread_title_s"> Last post by $[thread.last_post.created_by] $[thread.last_post.created_on]</div></div>
<div class="thread_stats">$[thread.views] <span>{if $[thread.views]==1}VIEW{else}VIEWS{/if}</span></div>
<div class="thread_stats">$[thread.replies_count]
<span>{if $[thread.replies_count]==1}REPLY{else}REPLIES{/if}</span></div>
</div>
{/foreach}
I know I need this to make it work (assuming it's the right one, it worked even though it broke the coding):
<td class="checkbox clickable" style="border:none;">$[thread.checkbox]</td>
I put that in, and it breaks the whole thing. I don't know if there's another solution, I'm not great with coding, and I haven't gone this far with it before so I'm not sure what I should be doing, especially coming back here after seven years of disappearing. Thank you.