Three questions about the layout

Discussion in 'Admin Talk Support & Feedback' started by kev, Sep 9, 2009.

  1. kev

    kev Regular Member

    Joined:
    Mar 9, 2009
    Messages:
    1,224
    Likes Received:
    61
    This question was posted over at vbulletin.org. I told him to sign up here and post the question, but for some reason he does not want to register? I dont know what the problem is, but I am posting the question here and posting a link at vbulletin.org

    vbulletin.org/forum/showthread.php?t=222778


     
  2. David

    David Regular Member

    Joined:
    May 30, 2003
    Messages:
    1,088
    Likes Received:
    133
    Location:
    Australia
    1. I'd imagine the top one is a regular notice setup in the AdminCP

    The second box is probably a customized first_visit phrase in the languages

    2. The affiliates and partners is just a side block and HTML entered into it I'd imagine. There are tons of "sidebar" modifications and tutorials already.

    Obviously if he'd sign up here, I'd bother going into more detail about how to get it all done.
     
  3. Hello!
    that was my request. THANKS, kevin!
    there were some issues with registration (just got the access), now it is ok.
    tons of info (i spent all the day yesterday, trying to find the right answer) how to create column on the left or on the right. but all of them are about full size column How To Add A Left Or Right Column - vBulletin Community Forum, that move\decrease size of header\navbar also. BUT, on this site, "sponsors" field has the same frame/colour/text box... as the rest layout, AND it is covered by header, navbar menu, and some more blocks like export of RSS from latest posts. I am looking for how to create the same layout on the right side, and how to manage this block (for beginner in HTML and VB).
    May be someone has a link with more details of modification?
    Ones again: right side column, "sponsors" block with bunners, block is covered by header, navbar and works with some other blocks over it. How to create and manage?

    2nd question is that I have "important info" tool, allowing to create the same announces, but the name of each block will be tha same - "important info"
    On example - different names of blocks and they are on required place in right order. Does anyone has a link AdminCP>... how to create the same two blocks - “Notices” & “Welcome to the AdminAddict Forum” as on example?

    Please be as more detailed as possible. taking into mind that now i can do the same http://www.vbulletin.com/forum/showthread.php?t=156775.

    Regards
    nik (Russia. Time zone different)
     
  4. Ak Worm

    Ak Worm Grand Master

    Joined:
    May 22, 2009
    Messages:
    979
    Likes Received:
    20
    First Name:
    Corey
    You guys are trying to copy AA Style?
     
  5. I hope you are kidding. a block with banners on right side - is it copiright of AA? I just need help.
    take it easy.
    nik
     
  6. Ak Worm

    Ak Worm Grand Master

    Joined:
    May 22, 2009
    Messages:
    979
    Likes Received:
    20
    First Name:
    Corey
    So your doing a copy of AA style? LOL, some people dont like to see the same things
    all over the place dont we?
    But i wouldnt know if its Simple HTML, or a mod. im guessing HTML.;) Good luck.
     
  7. once again. i will use standard layout of VB. do not worry about this.
    "welcome text" is also standard feature of VB - "important info" feature
    creation of free column on left/right - allowed by VB - coded by VB team
    the only question - my low knowledge how to create block, covered by navbar & header. is it patented? :)
    nik
     
  8. FullMetalBabe

    FullMetalBabe Zealot

    Joined:
    May 30, 2009
    Messages:
    2,912
    Likes Received:
    339
    Don't say much attention to Ak, he is probably misunderstanding. Anyways, you will have to wait till Nick, Chris or Savage respond to this thread.
     
  9. Nick

    Nick Regular Member

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    The sidebar was built in to our custom style by our designer. I honestly don't have a clue how she did it, or how to replicate it. I just know that we have it, and we use it.
     
  10. Ak Worm

    Ak Worm Grand Master

    Joined:
    May 22, 2009
    Messages:
    979
    Likes Received:
    20
    First Name:
    Corey
    Yeah she's right, i undertand what you want. :p
    Im just joking here, come on!
     
  11. Hello, Nick
    it is a pity. will search internet till the rest of my vacation... : )
    my regards
    nik
     
  12. Ak Worm

    Ak Worm Grand Master

    Joined:
    May 22, 2009
    Messages:
    979
    Likes Received:
    20
    First Name:
    Corey
    Why not ask the Designer?
     
  13. kev

    kev Regular Member

    Joined:
    Mar 9, 2009
    Messages:
    1,224
    Likes Received:
    61
    Dont worry about AK worm, he is from Alaska - those people are a little "different" then the rest of the world. What can you say about people that live in darkness 6 months out of the year in freezing cold temps. Sounds a little strange to me.
     
  14. Ak Worm

    Ak Worm Grand Master

    Joined:
    May 22, 2009
    Messages:
    979
    Likes Received:
    20
    First Name:
    Corey
    Alaska's Towns, Cities, Villages, are just like any other place.
    Were no different from what everyone else is. Its not freezing
    cold, we go out hunting, fishing, everyday normal things.
    Not strange, were the same. Go to Anchorage or something,
    its the same as where you live, just different people, or different
    surroundings. So were ALL the same.
     
  15. Nick

    Nick Regular Member

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    Can we try to keep posts relevant, and avoid the flinging of personal attacks or slurs?
     
  16. Chani

    Chani Grand Master

    Joined:
    Sep 1, 2009
    Messages:
    884
    Likes Received:
    54
    First Name:
    Chani
    The side column is an easy edit on your FORUMHOME template. You can do it with divs or tables. With divs you'd need to set the width of your divs so that they're side-by-side.

    You'd wrap your forums section with either a div or in a table TD, and then add a second div with your side column or add a new TD within your table for your side column.

    I'll post the code in a little bit.

    Yet another way to do it would be using vBAdvanced's CMPS (Which is Free ( vBadvanced )) by integrating your Forum, and with this method you can set which pages have the second column and which don't without needing to edit your templates.

    As for the welcome box, etc, you just need to edit the CSS for those sections (I think you may need to add a new class and then edit your templates with the new class, but I'll need to look into that.).

    Again, code coming soon...
     
  17. Hello Chani,

    My questions (shortly) were about:
    1. About "welcome" and "win Amazon card". So, i became to understand this question a little (but appreciate any help). Now i can organaze ~ the same by means of "important info" feature for different categories of users. Again, as temporary solution, it is ~ ok, but i appreciate any help on the subject.
    2. The question about some blocks on the right side, covered by header and navbar. The question is still not clear. I already know http://www.vbulletin.com/forum/showthread.php?t=156775 how to create column (tested), that moves all blocks of layout (with header & navbar), but i do not like it. Solution of Adminaddict.net is much better.
    On my domain, i installed the set of VB forum, blog and VB Dynamics for the first page. But i am a beginner, and some questions re VB for me are new. And, i also beginner in HTML (hope to improve), that is why i ask for more details (what and where to put)

    There are a lot o people on Adminaddict.net willing to support! It is great!

    Regards
    nik (Russia. Time zone different)
     
  18. Chani

    Chani Grand Master

    Joined:
    Sep 1, 2009
    Messages:
    884
    Likes Received:
    54
    First Name:
    Chani
    Hi Nik,

    I'm sorry I wasn't more clear in my initial post, but I'll give your sidebar question a try here...

    As I said, there are three main ways to do this.

    The first is CSS <div> tags, but I'm not very comfortable with arranging <div>s yet, so I can't give you an example of that. Maybe someone else can touch on that one.

    The second one, which will work on vB until v4 comes out is tables (I think I heard that tables were out and CSS was in. Correct me if I'm wrong).

    for that, you would wrap everything in a new <table> tag.

    Default FORUMHOME template for the main page content:
    Code:
    <!-- main -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <thead>
    <tr align="center">
    <td class="thead"></td>
    <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
    <td class="thead">$vbphrase[last_post]</td>
    <td class="thead">$vbphrase[threads]</td>
    <td class="thead">$vbphrase[posts]</td>
    <if condition="$vboptions['showmoderatorcolumn']">
    <td class="thead">$vbphrase[moderator]</td>
    </if>
    </tr>
    </thead>
    $forumbits
    <tbody>
    <tr>
    <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
    <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
    <if condition="$vboptions['forumleaders']"> 
    <a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
    </strong></div></td>
    </tr>
    </tbody>
    </table>
    $forumhome_markread_script
    <!-- /main -->
    You would wrap that with a new table and put it in a new <td> tag.
    Code:
    [COLOR=red]<table width="100%" cellpadding="0px" cellspacing="0px" border="0px">
    <tr>
    <td>[/COLOR]
    <!-- main -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <thead>
    <tr align="center">
    <td class="thead"></td>
    <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
    <td class="thead">$vbphrase[last_post]</td>
    <td class="thead">$vbphrase[threads]</td>
    <td class="thead">$vbphrase[posts]</td>
    <if condition="$vboptions['showmoderatorcolumn']">
    <td class="thead">$vbphrase[moderator]</td>
    </if>
    </tr>
    </thead>
    $forumbits
    <tbody>
    <tr>
    <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
    <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
    <if condition="$vboptions['forumleaders']"> 
    <a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
    </strong></div></td>
    </tr>
    </tbody>
    </table>
    $forumhome_markread_script
    <!-- /main -->
    [COLOR=red]        </td>
    </tr>
    </table>[/COLOR]
    But now, after the </td>, we need to add a new cell for the side column:
    Code:
    <table width="100%" cellpadding="0px" cellspacing="0px" border="0px">
    <tr>
    <td>
    <!-- main -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <thead>
    <tr align="center">
    <td class="thead"></td>
    <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
    <td class="thead">$vbphrase[last_post]</td>
    <td class="thead">$vbphrase[threads]</td>
    <td class="thead">$vbphrase[posts]</td>
    <if condition="$vboptions['showmoderatorcolumn']">
    <td class="thead">$vbphrase[moderator]</td>
    </if>
    </tr>
    </thead>
    $forumbits
    <tbody>
    <tr>
    <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
    <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
    <if condition="$vboptions['forumleaders']"> 
    <a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
    </strong></div></td>
    </tr>
    </tbody>
    </table>
    $forumhome_markread_script
    <!-- /main -->
    </td>
    [COLOR=red]        <td width="160px"> <!-- Replace 160px with whatever dimension you'd like. -->
    <!-- Put your side column code here. It can be anything you'd like. -->
    </td>[/COLOR]
    </tr>
    </table>
    And again, if you used vBAdvanced's CMPS, then you could wrap your index.php in your portal template, and the sidebars would be under your header and navbar, and above your footer. You could define it so that you have a left column, a right column, or both.

    I don't have the directions for that right now, but you can find the instructions for that on vBAdvanced's forum. Look up Integration.

    vBadvanced

    I hope this is slightly clearer for you. :)
     
  19. Hello, Chani
    Thanks! I should go outside now, but will try in some hours today.
    thanks again
    regards
    nik
     

Share This Page