The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
What is the code for this?
I want to know the code to get the box like this one: http://img4.imageshack.us/img4/1516/forumba.png
What I want to do is where the forum content is I should be able to put my own text into it. Any code for a box like that? |
#2
|
||||
|
||||
I don't understand what you want. The code for that is just in the page source, so you can just grab it from there.
|
#3
|
|||
|
|||
Quote:
I'm talking about this part: Code:
<!-- main --> <ol id="forums" class="floatcontainer"> <li class="forumbit_nopost L1" id="cat1"> <div class="forumhead foruminfo L1 collapse"> <h2> <span class="forumtitle"><a href="forumdisplay.php?1-Main-Category">Main Category</a></span> <span class="forumlastpost">Last Post</span> <a class="collapse" id="collapse_c_cat1" href="forum.php#top"><img src="images/buttons/collapse_40b.png" alt="" title="Collapse this Category" /></a> </h2> <div class="forumrowdata"> <p class="subforumdescription">Main Category Description</p> </div> </div> <ol id="c_cat1" class="childforum"> <li id="forum2" class="forumbit_post L2"> <div class="forumrow table"> <div class="foruminfo td"> <img src="images/statusicon/forum_old-48.png" class="forumicon" id="forum_statusicon_2" alt="" /> <div class="forumdata"> <div class="datacontainer"> <div class="titleline"> <h2 class="forumtitle"><a href="forumdisplay.php?2-Main-Forum">Main Forum</a></h2> </div> <p class="forumdescription">Main Forum Description</p> </div> </div> </div> <h4 class="nocss_label">Forum Actions:</h4> <ul class="forumactionlinks td"> <li class="forumactionlink subslink"> <a href="subscription.php?do=addsubscription&f=2" title="Subscribe to This Forum">Subscribe to This Forum</a></li> </ul> <h4 class="nocss_label">Forum Statistics:</h4> <ul class="forumstats td"> <li>Threads: 1</li> <li>Posts: 1</li> </ul> <div class="forumlastpost td"> <h4 class="lastpostlabel">Last Post:</h4> <div> <p class="lastposttitle"> <img src="images/icons/icon1.gif" alt="" border="0" /> <a href="showthread.php?1-tyjtyjjty&goto=newpost#post1" class="threadtitle" title="Go to first unread post in thread 'tyjtyjjty'">tyjtyjjty</a> <a href="showthread.php?1-tyjtyjjty&goto=newpost#post1"><img src="images/buttons/lastpost_40b.png" alt="Go to last post in this thread" /></a> </p> <p class="lastpostby"> by <a href="member.php?1-Torrentstorm">Torrentstorm</a> </p> <p class="lastpostdate">11-15-2009 04:51 AM</p> </div> </div> </div> </li> </ol> </li> </ol> <!-- /main --> |
#4
|
||||
|
||||
I can't think of why that isn't OK. Well, except you may be missing the css to go with it and perhaps that is causing the problems you are seeing?
|
#5
|
|||
|
|||
That's probably it. Since all I can see when using the code is the forum and the text, nothing else. Any way I can include the CSS in the template?
|
#6
|
||||
|
||||
You would just include it in the <head> part of the page (example from this page):
HTML Code:
<link rel="stylesheet" type="text/css" href="clientscript/blue.css" id="blue" />
|
#7
|
|||
|
|||
Quote:
|
#8
|
||||
|
||||
There are several different css files. You need to make sure you include all the ones you need.
|
#9
|
|||
|
|||
Quote:
All I want is a proper custom page with a proper box for content. Not just the simple: Code:
<h2 class="blockhead">Title</h2> <div class="blockbody"> <div class="blockrow"> Text </div> </div> |
#10
|
||||
|
||||
At the moment, the classes blockbody and blockrow etc. are largely without visible definitions. The styling of the boxes atm largely depends on id's. This was brought up during testing and might still change, so I would advise to just wait.
Paul_M and I resorted to double-using an id to display boxes on forumhome for two of our modifications. That's not the proper way to do it, but hopefully this will be fixed. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|