spacer
spacer
spacer
spacer
spacer
spacer
UBB Developers Network UBB Developers Network
spacer
spacer
spacer
UBBDev Modspace
Recent Issues

Articles
Articles of Interest for the UBB Developer

Reviews
Grab Reviews of all (software, hardware, sites) that's important to you as a developer.

Interviews
Interviews in the world of internet community-building.

Member Spotlight
Grab Honorees for excellence in site design, color scheme, member experience, appropriate use of modifications, and site integration.


Team UBBDev

Join the Team!
Team UBBDev is our name for the United Devices cancer research project started here at UBBDev.

Join today and donate your computer's unused CPU time to a worthy cause. When you sign up, you'll be helping to search for a cure for cancer, and you'll also get a nifty haxxor icon.

UBBDev Haxxor Icon
Fig. 1-1: Nifty haxxor icon.
spacer

UBBDev.com Post New Topic  
my profile | directory login | register | search | faq | forum home

  next oldest topic   next newest topic
» UBBDev.com » "U" zine » Articles » Frequently Asked Design Questions

 - UBBFriend: Email this page to someone!    
Author Topic: Frequently Asked Design Questions
Jamin
Moderator / Template Diva


 - posted      Profile for Jamin     Send New Private Message       Edit/Delete Post 
Frequently Asked Design Questions
Compiled and answered for your convenience by the Skorpmaster XL

Contains answers to the following questions

  • How do I remove the logo and center the link line?
  • How do I remove the logo and the link line?
  • How do I add something to, or remove something from, the link line?
  • How do I make each forum/topic/post in it's own table?
  • How do I get a dropdown menu like the one at UBBDev.com?
==========

1. How do I remove the logo and center the link line?

Just a note, by "link line", I'm referring to the little line at the top that says "my profile | register | search | faq | home".

While there are several ways to accomplish this, there is one that is easier by far than the other methods. Just use a 1x1 pixel transparent image as your logo. This is the method used on UBBDev.com. If you can't make the required image on your own, right-click on the following link and select Save Target As..., then upload the image to your non-cgi directory... http://www.ubbdev.com/columns/Skorpion/transparent.gif

(Or, you could also use Compact Headers, if you wanted to...)
==========

2. How do I remove the logo and the link line?

This is a significantly more involved process than just getting rid of the logo by itself. This one involves removing chunks of code from several of the template files, and takes much longer to do. With the upcoming release of UBB™ 6.1.0, I expect the current method of accomplishing this will be changed somewhat, so at this time, I have elected not to complete this portion of the FAQ. However, I will update this FAQ with the answer to this question once 6.1.0 comes out and I can give you a more definite answer.
==========

3. How do I add something to, or remove something from, the link line?

Open ubb_lib.cgi and search for $MainButtons = qq! and go from there.
==========

4. How do I make each forum/topic/post in it's own table?

This is another thing that is anticipated to change in UBB™ 6.1.0. However, it involves fewer files and is quite a bit simpler, so I'll provide the current answer here anyway...

  • Open public_topic_page.pl. (Topic page.)
  • Find:
    quote:
    ~;
    return ($html_stuff);
    } # end topic_top
    Replace that with:
    quote:
    $TBB
    ~;
    return ($html_stuff);
    } # end topic_top

  • Find:
    quote:
    my $row = qq~
    <tr><td bgcolor="$alt_color" colspan="2">

    Replace that with:
    quote:
    my $row = qq~
    $TBT
    <tr><td bgcolor="$alt_color" colspan="2">

  • Find:
    quote:
    $AuthorExtra $ip_wording
    </FONT>
    </td></tr>
    </table>
    </td></tr>
    ~;

    Replace that with:
    quote:
    $AuthorExtra $ip_wording
    </FONT>
    </td></tr>
    </table>
    </td></tr>
    $TBB
    ~;

  • Open public_forum_page.pl. (Thread listing.)
  • Find (the first one):
    quote:
    $this_html .= qq~</TR>~;

    Replace that with:
    quote:
    $this_html .= qq~</TR>$TBB~;

  • Find:
    quote:
    my $this_html = qq~
    <TR>

    Replace that with:
    quote:
    my $this_html = qq~
    $TBT<TR>

  • Find (the second one):
    quote:
    $this_html .= qq~</TR>~;

    Replace that with:
    quote:
    $this_html .= qq~</TR>$TBB~;

  • Open public_forum_summary.pl. (Main forums homepage.)
  • Find:
    quote:
    my $CategoryStrip = qq~


    Replace that with:
    quote:
    my $CategoryStrip = qq~
    $TBT


  • Find:
    quote:
    </td></tr>

    ~;



    Replace that with:
    quote:

    </td></tr>
    $TBB
    ~;


  • Find:
    quote:
    sub Normal_Table_Row {
    my $Row = qq~

    Replace that with:
    quote:
    sub Normal_Table_Row {
    my $Row = qq~
    $TBT

  • Find:
    quote:
    $Row .= qq~</tr>~;

    Replace that with:
    quote:
    $Row .= qq~</tr>$TBB~;

  • Find:
    quote:
    $Top .=  '</tr>';

    Replace that with:
    quote:
    $Top .= qq~</tr>$TBB~;

==========

5. How do I get a dropdown menu like the one at UBBDev.com?

==========

If you have other questions that haven't been answered here, or if you find errors in the info above, feel free to post on the UBBDev.com forums (preferably either in the Templates or Design Integration forums).


IP: Logged | Report this post to a Moderator
   

Post New Topic   Close Topic   Feature Topic   Move Topic   Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:


Contact Us | UBBDev.com

Powered by UBB.classic™ 6.7.3

Our Sponsors


Advertise Here

Dell Business Weekly Promo

U-Store

Accessories
Decorate your desktop with official UBBDev mugs n' mousepads!

Clothing Items
Stay warm this winter with an official UBBDev sweatshirt on your back!

spacer
spacerCopyright 2002 UBB Developers Network
spacer