Please see the following link
http://www.necrotania.com/eFiction/browse.php?type=categories&id=7
I simplified the problem by putting the "TEST" in there. Below is the code for this area. Unless I am reading the code wrong the test part should only be run once, yet it shows up twice.
<!-- START BLOCK : listings -->
{seriesheader}
<!-- START BLOCK : seriesblock -->
<div class="listbox">
<div class="title">{title} by {author} {score} [{reviews} - {numreviews}] </div>
<div class="content"><span class="label">Summary: </span>{summary}<br />
<span class="label">Categories:</span> {category} <br />
<span class="label">Characters: </span>{characters}<br />
{classifications}
<span class="label">Open:</span> {open}
{adminoptions}
</div>
<div class="tail">{reportthis} </div>
</div>
{comment}
<!-- END BLOCK : seriesblock -->
TEST
{stories}
<!-- START BLOCK : storyblock -->
<div class="listbox">
<div class="title">{title} by {author} <span class="label">Rated:</span> {rating} {roundrobin} {score} [{reviews} - {numreviews}] {new} </div>
<div class="content"><span class="label">Summary: </span>{featuredstory}{summary}<br />
<span class="label">Categories:</span> {category} <span class="label">Characters: </span> {characters}<br />
{classifications}
<span class="label">Series:</span> {serieslinks}<br />
<span class="label">Challenges:</span> {challengelinks}<br />
<span class="label">Chapters: </span> {numchapters} {toc}<br />
<span class="label">Completed:</span> {completed}
<span class="label">Word count:</span> {wordcount} <span class="label">Read Count:</span> {count}
{adminlinks}</div>
<div class="tail"><span class="label">{addtofaves} Published: </span>{published} <span class="label">Updated:</span> {updated} {reportthis}</div>
</div>
{comment}
<!-- END BLOCK : storyblock -->
{pagelinks}
<!-- END BLOCK : listings -->
Am I reading this wrong? If not, how can I put code around the "Storyblock" to contain it in a table?
You want to put the story block in a table? You mean, instead of in css blocks?
Yes Test should only show up once. What's the skin's name? I need to see the .tpl file that is online to make certain.
Meanwhile, do you list any characters on your site? If you don't, you can take the
<span class="label">Characters: </span> {characters}
part out.
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
It is my vBulletin skin...based off of the default TPL's. My vb skin uses tables for it's containers, so that is how I will need the eFic side to function as well.
What I posted is the exact copy of the listing.tpl file I currently have on right now.
Yeah, I was planning on removing the characters listing once I get the rest of the skin set and working. Once upgrade at a time π
Give me the link of your .tpl file online. For example, this is my green listing:
http://www.potionsandsnitches.net/fanfiction/skins/green/listings.tpl
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
Ah-ha....misunderstood
http://www.necrotania.com/eFiction/skins/vb/listings.tpl
If you browse the other files you are going to see some odd variables. These are all defined in variables.php and are template files from vBulletin.
$vb_header
$vb_footer
$vb_navbar
$vb_efic1
$vb_efic2
$vb_efic3
Okay the double test thing is something to do with the script. I added Test below {stories} on my listings.tpl and it showed up above and below.
I don't know why. Maybe someone else will know.
What are you trying to add though? A blurb about stories? A quotation? Maybe there'll be a way to get around it...
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
I just noticed this as well
http://www.necrotania.com/eFiction/series.php?seriesid=4
I may not be going about this the correct way.......
What I am trying to do is wrap the story output in the table supplied by my forum template, so it will match the skin better. To take it a step further, I want to wrap all the output in it's own containers...like I have http://www.necrotania.com/eFiction/index.php , where each block is contained in it's own area.
The blocks themselves are supplied from the forum template and loaded into the tpl variables listed a few posts back. (vb_efic1 - 3) When all 3 are used a complete table is formed and I can wrap it around content.
Not sure if that makes sense, but the idea I have on my index page is what I am trying to get for all areas of the site.
Hmm...I guess I could try to put the table inside storyblock, so each story would have it's own container. Was worried that would look too busy, but it may not be that bad.
Yeah, I think you're going about it the wrong way. The story blocks are customizable with css. You should be able to take the css look you want, and edit the story block css to use it. I Think you could stylize the "Stories" part to appear to be like the top grey header area on your index, and the bottom pagelinks to be the bottom part. The story blocks have padding, ect so you could stylize them to be touching and have the sides be grey, the grey to complete the box started with your header.
I think this is the stuff you are looking for. Make a new skin and hide it to mess with it, though. It will probably get messy.
/* The box around each individual story */
.listbox {
}
/* The title bar for each story box. */
.listbox .title {
}
.listbox .title A, .listbox .tail A {
}
.listbox .title .label, .listbox .tail .label, .listbox .tail .adminoptions .label {
}
/* The content of the box...summary, categories, etc. */
.listbox .content {
}
/* The tail info published date etc. on the last line */
.listbox .tail {
}
.listbox .tail .adminoptions { display: inline; }
/* This is used on series and challenges and other places where a response is solicited */
.respond {
}
.new {
}
/*End story/series listings */
/* titleblock is used for the title information in series and challenges */
#titleblock {
}
#titleinfo {
}
The pagelinks:
/*
Where there's a list of alphabet links #alphabet controls their look.
Just to make things simpler #pagelinks controls the look of the links at the bottom of multi-page results
and will be set here too. Generally, they look alike.
*/
#pagelinks {}
#pagelinks a {}
#pagelinks a:hover {}
#pagelinks #currentpage {}
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
Unfortunetly I do not think that is going to get the look I am trying for. I am trying to integrate eFic into the forum, and for that I have to capture the formatting.
I think I worked out a compromise though...I wrapped the story block area in the table, so each story listing has it's own block. It actually does not look that bad....I think it will work.
glad you got it working. π
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
