Nucleus Support Forum Index

Find on the forum:
any terms  all terms  Advanced Search

RSS 2.0
Browse posts: Unanswered | Mark all read

« »
Loading Nucleus FAQ ticker...
Post new topic Reply to topic
Author Message
Dobermann
Nucleus Fan


Joined: 28 Apr 2009
Posts: 47
Location: Las Vegas

Post Posted: Sun Aug 29, 2010 12:42 pm   Post subject: Best Friends Skin & DBUCounter Problem
Reply with quote

I am having 3 problems with the Best Friends skin and DBUCounter:

1. If I use the Images option, the number images layout top down instead of left right (vertically vs horizontally). Because of this, I have set it to text version.

2. The amount of space allowed/provided for the days, OS', countries, browsers, etc is too short in height to permit the full words to show. The bottoms of them are all cut off.

3. If I have Friends below Stats, the details (systems, browsers, days, etc) flow right down and continue below the img07.jpg, with img07.jpg interfering with it.

These can all be seen at my work in progress:

http://www.WorkingDobermann.com/weblog/

I'm making a few tweaks to it and changing the graphics and colors, but these DBUCounter problems really bug me.

I did make a few small changes to the sidebar.php file. I honestly don't remember all the little changes I made, so I just thought it best to copy/paste it here:

Code:
<div id="sidebar">
<ul>
<li id="search">
<h2>Search</h2>
<%searchform%>
</li>
<li>
<h2>Categories</h2>
<ul>
<li><a href="<%if(skintype,error)%>javascript:history.go(-1);<%else%><%blogsetting(url)%><%endif%>" title="<%if(skintype,error)%>Go back<%else%>Index page<%endif%>"><%if(skintype,error)%>Error!<%else%>Index page<%endif%></a></li>
<%if(skintype,member)%><%else%>
<%if(skintype,error)%><%else%>
<%categorylist(bestfriends/index)%>
<%endif%><%endif%>
</ul>
</li>
<%if(skintype,member)%><%else%>
<%if(skintype,error)%><%else%>
<li>
<h2>Archive</h2>
<ul>
<%archivelist(bestfriends/index,,4)%>
</ul>
</li>
<%endif%><%endif%>


<%if(skintype,member)%><%else%>
<%if(skintype,error)%><%else%>
<li>
<h2>Calendar</h2>
<ul>
<%Calendar%>
</ul>
</li>
<%endif%><%endif%>


<%if(skintype,member)%><%else%>
<%if(skintype,error)%><%else%>
<li>
<h2>Stats</h2>
<ul>
<%plugin(DBUCounter)%>
</ul>
</li>
<%endif%><%endif%>



<%if(skintype,member)%><%else%>
<%if(skintype,error)%><%else%>
<li>
<h2>Friends</h2>
<ul>
<li><a href="http://funnypet.ru/">Funny pets</a></li>
<li><a href="http://funnypet.ru/">Animal world</a></li>
<li><a href="http://funnypet.ru/">Animal photoes</a></li>
<li><a href="http://funnypet.ru/">Our pets</a></li>
</ul>
</li>
<%endif%><%endif%>



</ul>
</div>
<div style="clear: both;">&nbsp;</div>
</div>




Thanks for any help!
Dobermann

_________________
Please Vote for A Dobermann Named Bambi - He's a Rescue who needs you AND your friends' votes:

http://bit.ly/hSFZI9 Woof Woo! (that's Thank You in dog-speak)

Back to top

View user's profile Send private message Visit poster's website
WillyP
Nucleus Guru
Nucleus Guru


Joined: 30 Aug 2009
Posts: 767
Location: Pembroke, NH

Post Posted: Sun Aug 29, 2010 4:51 pm   Post subject:
Reply with quote

Try removing DBUcounter from the list items, put it after the last /ul.

Or you can end the ul above the stats, and make a new one for the friends section.

You will also have to edit your css, as the skin has img's in the sidebar set to block level. You could put the DBU in a div with an id and then ad a line to reset the img's only in that div to inline.

_________________
My Skins | Suncook Carpentry

Back to top

View user's profile Send private message Visit poster's website
Dobermann
Nucleus Fan


Joined: 28 Apr 2009
Posts: 47
Location: Las Vegas

Post Posted: Mon Aug 30, 2010 11:51 am   Post subject:
Reply with quote

Thank you so much for your comments. For some reasons, I'm just not getting it. I am able to get the number images for the counter to run horizontally, but I am still having a problem with the rest of it.

Here is the line I added to the css:

Code:

#mycounter img {
   display:inline;
   margin:0 0 3px 50px;
}



and here is the revised sidebar.php:

Code:

<div id="sidebar">
<ul>

<li id="search">
<h2>Search</h2>
<%searchform%>
</li>

<li>
<h2>Categories</h2>
<ul>
<li><a href="<%if(skintype,error)%>javascript:history.go(-1);<%else%><%blogsetting(url)%><%endif%>" title="<%if(skintype,error)%>Go back<%else%>Index page<%endif%>"><%if(skintype,error)%>Error!<%else%>Index page<%endif%></a></li>
<%if(skintype,member)%><%else%>
<%if(skintype,error)%><%else%>
<%categorylist(bestfriends/index)%>
<%endif%><%endif%>
</ul>
</li>


<%if(skintype,member)%><%else%>
<%if(skintype,error)%><%else%>
<li>
<h2>Archive</h2>
<ul>
<%archivelist(bestfriends/index,,4)%>
</ul>
</li>
<%endif%><%endif%>


<%if(skintype,member)%><%else%>
<%if(skintype,error)%><%else%>
<li>
<h2>Calendar</h2>
<ul>
<%Calendar%>
</ul>
</li>
<%endif%><%endif%>

</ul>

   <div id=mycounter>
   <%if(skintype,member)%><%else%>
   <%if(skintype,error)%><%else%>
   <h2>Stats</h2>
   <%plugin(DBUCounter)%>
   <%endif%><%endif%>
   </div>

<ul>

<%if(skintype,member)%><%else%>
<%if(skintype,error)%><%else%>
<li>
<h2>Friends</h2>
<ul>
<li><a href="http://funnypet.ru/">Funny pets</a></li>
<li><a href="http://funnypet.ru/">Animal world</a></li>
<li><a href="http://funnypet.ru/">Animal photoes</a></li>
<li><a href="http://funnypet.ru/">Our pets</a></li>
</ul>
</li>
<%endif%><%endif%>



</ul>
</div>
<div style="clear: both;">&nbsp;</div>
</div>


I have looked it over and over and over, and I cannot find the error. I took it out of the ul and started a new one below it, but to no avail. Can you please see what I am doing wrong?

Also, why does the ul and li affect it?

Thanks again,
Dobermann

_________________
Please Vote for A Dobermann Named Bambi - He's a Rescue who needs you AND your friends' votes:

http://bit.ly/hSFZI9 Woof Woo! (that's Thank You in dog-speak)

Back to top

View user's profile Send private message Visit poster's website
WillyP
Nucleus Guru
Nucleus Guru


Joined: 30 Aug 2009
Posts: 767
Location: Pembroke, NH

Post Posted: Mon Aug 30, 2010 11:51 pm   Post subject:
Reply with quote

Ok, you just need to clear the floats in the DBU block, I think the easiest way would be to add a style statement to the ul, like this:

Code:
<ul style="clear:both; padding-top:30px">

<%if(skintype,member)%><%else%>
<%if(skintype,error)%><%else%>

<li>
<h2>Friends</h2>



The clear:both will push the friends block below the DBU block, and the extra padding spaces it out a bit.

_________________
My Skins | Suncook Carpentry

Back to top

View user's profile Send private message Visit poster's website
Dobermann
Nucleus Fan


Joined: 28 Apr 2009
Posts: 47
Location: Las Vegas

Post Posted: Tue Aug 31, 2010 2:34 am   Post subject:
Reply with quote

Yes!!! That did the trick! Again, thank you very much!

All this looking at the sidebar.php, and I think I might see an error in it. The very last line contains and extra /div that does not have an opening div. Am I correct that this php file should be able to stand alone with opens/closes?

Code:

<div id="sidebar">
<ul>
<li id="search">
<h2>Search</h2>
<%searchform%>
</li>
<li>
<h2>Categories</h2>
<ul>
<li><a href="<%if(skintype,error)%>javascript:history.go(-1);<%else%><%blogsetting(url)%><%endif%>" title="<%if(skintype,error)%>Go back<%else%>Index page<%endif%>"><%if(skintype,error)%>Error!<%else%>Index page<%endif%></a></li>
<%if(skintype,member)%><%else%>
<%if(skintype,error)%><%else%>
<%categorylist(bestfriends/index)%>
<%endif%><%endif%>
</ul>
</li>
<%if(skintype,member)%><%else%>
<%if(skintype,error)%><%else%>
<li>
<h2>Archive</h2>
<ul>
<%archivelist(bestfriends/index,,4)%>
</ul>
</li>
<%endif%><%endif%>
<li>
<h2>Stats</h2>


&nbsp;&nbsp;&nbsp;Stat counters here



</li>
<li>
<h2>Friends</h2>
<ul>
<li><a href="http://funnypet.ru/">Funny pets</a></li>
<li><a href="http://funnypet.ru/">Animal world</a></li>
<li><a href="http://funnypet.ru/">Animal photoes</a></li>
<li><a href="http://funnypet.ru/">Our pets</a></li>
</ul>
</li>
</ul>
</div>
<div style="clear: both;">&nbsp;</div>
</div>



I tried following links, but kept bumping into dead ends on how to contact the person in charge of this skin to confirm my thinking.

Dobermann

_________________
Please Vote for A Dobermann Named Bambi - He's a Rescue who needs you AND your friends' votes:

http://bit.ly/hSFZI9 Woof Woo! (that's Thank You in dog-speak)

Back to top

View user's profile Send private message Visit poster's website
WillyP
Nucleus Guru
Nucleus Guru


Joined: 30 Aug 2009
Posts: 767
Location: Pembroke, NH

Post Posted: Tue Aug 31, 2010 12:20 pm   Post subject:
Reply with quote

Not necessarily, the opening div could, and often is, be in another file or in the skin parts.

edit:

I just took another look at your site, it looks like you've already removed that extra div, and it looks correct. So you may be right. You could always run it through a validator, if your not sure.

_________________
My Skins | Suncook Carpentry

Back to top

View user's profile Send private message Visit poster's website
Dobermann
Nucleus Fan


Joined: 28 Apr 2009
Posts: 47
Location: Las Vegas

Post Posted: Wed Sep 01, 2010 5:53 am   Post subject:
Reply with quote

I just put it back in, and now I have more dangling /ul closes than before. I could run it through a validator, but time being what it is and the fact that it is working okay now, makes me want to just leave well enough alone.

Thanks,
Dobermann

_________________
Please Vote for A Dobermann Named Bambi - He's a Rescue who needs you AND your friends' votes:

http://bit.ly/hSFZI9 Woof Woo! (that's Thank You in dog-speak)

Back to top

View user's profile Send private message Visit poster's website
WillyP
Nucleus Guru
Nucleus Guru


Joined: 30 Aug 2009
Posts: 767
Location: Pembroke, NH

Post Posted: Wed Sep 01, 2010 1:34 pm   Post subject:
Reply with quote

I just took a quick look, and I don't see any problems. Very Happy
_________________
My Skins | Suncook Carpentry

Back to top

View user's profile Send private message Visit poster's website
Dobermann
Nucleus Fan


Joined: 28 Apr 2009
Posts: 47
Location: Las Vegas

Post Posted: Thu Sep 02, 2010 8:05 am   Post subject:
Reply with quote

WillyP wrote:
I just took a quick look, and I don't see any problems. Very Happy


And my motto -- Why fix it if it works!

Thanks for all your help,
Dobermann

_________________
Please Vote for A Dobermann Named Bambi - He's a Rescue who needs you AND your friends' votes:

http://bit.ly/hSFZI9 Woof Woo! (that's Thank You in dog-speak)

Back to top

View user's profile Send private message Visit poster's website
Post new topic Reply to topic
Display posts from previous:   

Page 1 of 1

All times are GMT + 1 Hour

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group