Printable Version of Topic
Click here to view this topic in its original format
Jcink.com Forums > General Support > different forum descriptions per skin


Posted by: Tek Feb 4 2018, 05:11 PM
Hey!
So as the title says, I'd like to be able to edit a forum/board's description with different cfs that matches the skin used for. Ideally I wanted to be able to keep two skins available for people to choose from, but their forum desc codes differ greatly and I'm not sure how to go about it.

Is there something I'm missing? Maybe the answer is right there and I just cant see it at this hour idk, help me out please?

If that description was a mess, I guess just picture uhh....


how to
skin #1 + forum desc #1 = love
and
skin #2 + forum desc #2 = love
while they coexist?

Posted by: John Feb 4 2018, 06:00 PM
To clarify: are we talking about the description only or the entire forum row template?

Posted by: Tek Feb 5 2018, 01:05 AM
QUOTE (John @ Feb 5 2018, 01:00 AM)
To clarify: are we talking about the description only or the entire forum row template?


the forum row template would change with the skins anyway, since we use html templates, so it's just the description only, which contains cfs!

Posted by: Saska Feb 5 2018, 02:05 AM
The easy way would be to wrap the two different descriptions in different divs, and have in your CSS that one will be display:none, while the other is however you want it to display. Then, just change which of the two is display:none for the other skin.

That being said, if you're including CFS in the description -- is it not possible to include that CFS in your forum templates to begin with? That would make a bit more logical sense, given the description is generally supposed to be just text.

Posted by: John Feb 5 2018, 01:52 PM
I was thinking the same thing -- if you need a different template "in the description per-skin", couldn't it just be moved to the actual template or is there another issue at play here?

Posted by: Tek Feb 5 2018, 03:16 PM
I'm not sure how inserting the template in the html actual templates would go with me trying to place different images & text &/or links at the same time in diff boards, because it sounds beyond my coding skills lol, but i think Saska's idea can work! Just gotta try it out this week, thank you guys a lot!

Posted by: CrunchDrop Feb 6 2018, 02:06 AM
I'm not sure if this will help, but you can try Forum Control > Manage Forums > select a forum > Look for Forum Settings > Forum Description.

http://ibb.co/craERH

Posted by: Tek Feb 7 2018, 07:43 AM
Yeah...that's...what we're talking about, yes

Posted by: mstymndy Feb 8 2018, 11:53 PM
following because I'm working on the same thing with the same outcome..

Posted by: CrunchDrop Feb 10 2018, 11:58 PM
QUOTE (Tek @ Feb 7 2018, 05:43 AM)
Yeah...that's...what we're talking about, yes


All you have to do is add a div di tag like this <div id="descripinfo">Looking to waste time?</div> and then add the css code to the css of that skin.

Posted by: owl Feb 11 2018, 04:22 PM
Yeah, I'd just do:

<div class="skin1"> stuff here </div>
<div class="skin2"> stuff here </div>

Then on skin one, add:

.skin2 {display: none}

And on skin two, add:

.skin1 {display: none}

Unless I'm misunderstanding the issue, this can be added directly to the description itself, rather than the HTML templates. (This is assuming you literally want a different description, as in different text.)

OR if you just want the styling to be different, then make a new HTML template set based on skin #1 and within that new set edit the templates you want to be different. Then go to skin sets, and make a new set based off skin #1 and use your template.

Posted by: mstymndy Feb 11 2018, 11:38 PM
ok I gave this a shot. I added .holdup {display: none} and .heartbeat {display: none}to the skin stylesheets and added the new description forum so it looks like this:

CODE
<div class="holdup"><div class="fd2"><img src="https://files.jcink.net/uploads/frisson/board_items/trash_zpswovabkmg.jpg"></div><div class="fd5"></div></div><div chass="heartbeat"><div class="CLFR-FD1Img2"><div style="width: 170px; height: 97px; background: #eee url(http://placehold.it/170x97); background-position: center; background-size: cover;"></div></div></div>


...it looks like this on the board..

user posted image

Posted by: Saska Feb 11 2018, 11:58 PM
mstymndy There's a typo error in the code you posted:

CODE
<div class="holdup"><div class="fd2"><img src="https://files.jcink.net/uploads/frisson/board_items/trash_zpswovabkmg.jpg"></div><div class="fd5"></div></div><div class="heartbeat"><div class="CLFR-FD1Img2"><div style="width: 170px; height: 97px; background: #eee url(http://placehold.it/170x97); background-position: center; background-size: cover;"></div></div></div>


That should be a fixed version.

Posted by: mstymndy Feb 12 2018, 12:23 AM
wow..if that worked I would have felt like an idiot....but it didn't.. lol.

my code says 'div class' not 'div chass' thankfully. for good measure, I copy/pasted your code but it still didn't fix anything.

update:

nvm..figured it out

Posted by: Tek Feb 22 2018, 03:22 AM
thank you great coders ♥ this can be closed.

'
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)