My problems

23written posts
dantelionearned bits
offlinecurrently
dantelion
New Member
dantelion Avatar
The same subboards name appears on the right side. All the Subboards say Milan Stretch despite them having different names.

Not sure what is going on and it's late so it's probably an easy fix and I'm being a dunce but if anyone could figure it out for me it would be awesome.

link
last edit on Apr 9, 2019 21:31:04 GMT by dantelion
pronounsThey/Them
9written posts
Comatoseearned bits
offlinecurrently
Comatose
New Member
Comatose Avatar
6 things left
Would you mind posting what you have in your template for the forum row? It is difficult to tell what is wrong without seeing the raw arguments.

Also, instead of using script to hide the 'subforums:' text you can use '<!-- |subforums_list| --> ' instead of '<!-- |subforums| --> ' as it displays just the list without the flare.
23written posts
dantelionearned bits
offlinecurrently
dantelion
New Member
dantelion Avatar
Comatose Avatar
Would you mind posting what you have in your template for the forum row? It is difficult to tell what is wrong without seeing the raw arguments.

Also, instead of using script to hide the 'subforums:' text you can use '<!-- |subforums_list| --> ' instead of '<!-- |subforums| --> ' as it displays just the list without the flare.
Thank you for that tip. Sorry for the late response I went to bed right afterwards so I could look at it with fresh eyes.



<div class="forum" id="forum-<!-- |forum_id| -->">



<div class="graft1">

<div class="forum-name"><!-- |name| --></div>

<div class="forum-desc"><!-- |description| --></div>

</div>



<div class="graft2">

<div class="forum-stats">

<!-- |topics| --> TOPICS<br>

<!-- |replies| --> POSTS<br>

<!-- |last_topic| --><br>

<span style="text-transform:lowercase;">by</span> <!-- |last_poster| --><br>

<span style="text-transform:lowercase;">on</span> <!-- |last_post| -->

</div>

</div>



<div class="graft3">

<!-- |subforums_list| -->

</div>

</div>



<script>

replace_str = $('.subforums').html().replace(/SUBFORUMS:/gi,'JUMP TO');

$('.subforums').html(replace_str);

</script>

pronounsThey/Them
9written posts
Comatoseearned bits
offlinecurrently
Comatose
New Member
Comatose Avatar
6 things left
No worries, it was pretty late :)

That looks fine to me and I can't seem to replicate the problem.

The only thing I can think of that it might be causing problems with it is the repeating javascript. If you absolutely need to have it, I'd suggest putting it in the wrapper rather than in the forum row. Otherwise, since it is trying to replace the 'subforum' text which changing the argument jcink looks at removed, it seems unnecessary at the moment.

Try removing it to see if that fixes the problem?
last edit on Apr 9, 2019 18:53:14 GMT by Comatose
23written posts
dantelionearned bits
offlinecurrently
dantelion
New Member
dantelion Avatar
It was only a matter of time before I found another problem lol.

The 100x100 image doesn't show on the Main profile of a person. The field is set as text input and is field_13. 
mastermonster.jcink.net/index.php?showuser=1


<div id="main-profile">

<div class="profile1">

<span class="member-id"><i>n</i>°000<!-- |id| --></span> <!-- |name| -->

</div>

<div class="profile2">



<div class="profile-controls">

<a href="<!-- |pm| -->">message <!-- |name| --></a>

<a href="/index.php?act=Search&CODE=getalluser&mid=<!-- |id| -->&type=topics">find topics</a>

<a href="/index.php?act=Search&CODE=getalluser&mid=<!-- |id| -->">find posts</a>

<span class="profile-status">currently <!-- |status| --></span>

</div>



<div class="profile-overview">



<!-- CHANGE THE FIELD #s TO THE CORRESPONDING NUMBER -->

<div class="profile-over-field"><b>GROUP</b> <!-- |group| --></div>

<div class="profile-over-field"><b>AGE</b> <!-- |field_14| --></div>

<div class="profile-over-field"><b>POSTS</b> <!-- |posts| --></div>

<div class="profile-over-field"><b>Pokemon</b> <!-- |field_7| --></div>

<div class="profile-over-field"><b>Pokemon</b> <!-- |field_8| --></div>

<div class="profile-over-field"><b>Pokemon</b> <!-- |field_9| --></div>

<div class="profile-over-field"><b>Pokemon</b> <!-- |field_10| --></div>

<div class="profile-over-field"><b>Pokemon</b> <!-- |field_11| --></div>

<div class="profile-over-field"><b>Pokemon</b> <!-- |field_12| --></div>



</div>





<div class="profile-quote">

<!-- |field_1| -->

<span class="quote-author"><!-- |field_2| --></span>

</div>

</div>

<div class="profile3"><div style="width:200px;height:400px;background:url(<!-- |avatar_url| -->);background-size:cover;">

<div class="profile-icon">

<!-- |field_13| -->

</div></div>

</div>

</div>



I've also looked at the CSS but can't seem to find an issue there either.




.profile-icon {

width: 60px;

height: 60px;

background: white;

transform: rotate(-45deg);

transform-origin: top left;

position: relative;

top: 250px;

left: -54px;

border: 8px solid white;

overflow: hidden;

}



.profile-icon img {

transform: rotate(45deg);

width: 90px;

height: 90px;

transform-origin: top left;

position: relative;

top: -33px;

left: 33px;

}

last edit on Apr 9, 2019 21:30:11 GMT by dantelion
23written posts
dantelionearned bits
offlinecurrently
dantelion
New Member
dantelion Avatar
Time for problem number three! Usernames are not showing up on posts.

<script>
$(".maintitle > .topic-desc").each(function(){
 
   $(this).html($(this).html().replace(/,/g , ''));
});
</script>

<div class="post-header">
<div class="author-name">
<a href='index.php?showuser=<!-- |id| -->'><!-- |name| --></a>
<span class="permalink"><a href="<!-- |permalink| -->"><i class="far fa-clock"></i> <!-- |post_date| --></a> <!-- |mod_checkbox| --></span>
</div>
<div class="post-bar" id="pr-<!-- |g_id| -->">
<span class="post-field"><b></b> <!-- |field_1| --></span>
<span class="post-field"><b></b> <!-- |field_2| --></span>
</div>
</div>

<div id="post-row">
<div class="miniprofile"><!-- |mini_profile| --></div>
<div class="postmain"><a name='entry<!-- |pid| -->'><!-- |post| --></a></div>
<div class="post-buttons"><!-- |edit_button| --> <!-- |quote_button| --> <!-- |delete_button| --> <!-- |report_button| --></div>
</div>


and


.author-name {
font-family: Crimson Text, serif;
font-size: 21px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
border-bottom: 1px solid #d2d2d2;
padding: 0px 0px 0px 30px;
}
last edit on Apr 16, 2019 20:35:09 GMT by dantelion
pronounsThey/Them
9written posts
Comatoseearned bits
offlinecurrently
Comatose
New Member
Comatose Avatar
6 things left
The <!-- |name| --> indicator adds in the link to the profile already, so adding the herf with the id is redundant.
Instead of filling out the "FIELD #" text, you just removed it leaving two empty bold tags. you should remove them or put text in them.

I'm not quite sure what the issue is other than those two in the code. The original works fine and the inspector shows that the code on your forum is quite different from what was posted here. It might be best to reset the html to what the original creator made to remedy the problem as it only looks like you wanted to remove the field name.
My problems written Apr 16, 2019 22:47:07 GMT via mobile
pronounsshe/her
90written posts
FINITEearned bits
offlinecurrently
FINITE
Junior Member
FINITE Avatar
When it comes to groups, make sure the prefix class/styling is using single quotes ( ' ) instead of double quotes ( " ).

That is probably what is breaking it when you add group colors since Jcink inserts it into a double quoted string without properly escaping anything.

(At least I think it was double quote; I'll double check when I get home.)