Attention:

Support Rules and Guidelines
Before you post your support topic, please remember to:
  • Read the support forum rules.
  • Check the wiki and use search to see if your problem can be answered there first.
  • Link your board please, and make sure that the problem on your board is visible to guests or provide a test account.
  • Do not post Board Wrappers and CSS unless requested. With a board link, this is not necessary.
  • Be as descriptive as you can and use as many details as possible when describing your problem.
  • Please briefly mark any links to forums that may not be work-safe.
This will help ensure your support issue will be attended to in a quick and efficient manner.

  Add ReplyNew TopicNew Poll

 different forum descriptions per skin
#
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?
#
To clarify: are we talking about the description only or the entire forum row template?

signature
email: admin@jcink.com :: blog: John C.
#
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!
#
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.
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?

signature
email: admin@jcink.com :: blog: John C.
#
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!
#
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.

user posted image

signature
Add me on Line http://line.me/ti/p/j4FHQtHFRE Jabber me segentra@chinwag.im
Or join the conference room anime@rooms.chinwag.im

user posted image
#
Yeah...that's...what we're talking about, yes
#
following because I'm working on the same thing with the same outcome..
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.

signature
Add me on Line http://line.me/ti/p/j4FHQtHFRE Jabber me segentra@chinwag.im
Or join the conference room anime@rooms.chinwag.im

user posted image
#
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.

This post has been edited by owl: Feb 11 2018, 04:26 PM

signature
Kindly do not contact me on Discord or PM me for support.

user posted image
#
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

This post has been edited by mstymndy: Feb 11 2018, 11:38 PM
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.
PM
#
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

This post has been edited by mstymndy: Feb 12 2018, 12:51 AM
PM
#
thank you great coders ♥ this can be closed.
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | General Support | Next Newest »

Options Add ReplyNew TopicNew Poll