vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Create custom forum edges? (https://vborg.vbsupport.ru/showthread.php?t=142294)

Mihelcich 03-17-2007 09:59 AM

Create custom forum edges?
 
Here is something I posted in another forum that nobody could help me with, can anyone here point me in the right direction?
Quote:

I have this website... http://www.orecreek.org/~bots/

You see how it has the image on either side of the 'content' area vertically repeating that looks like the 'edge' of the content? I want to do that to my forums. Ultimately, I'm putting my forums inside of that layout. I can get the rest, I just don't know how to edit the templates to add the edges on both sides.

Hopefully that clears things up.

Thanks.
I just want to know how to add those edges to my forums.

EDIT: oh yeah, the forums on the site in that link are not the forums I'm editing. It is indeed vBulletin I'm using.

##############################
######## SOLUTION BELOW #########
##############################


I figured it out, for those who have the same question, heres how to do it:

You have to edit your header and footer templates
Quote:

In my header template, I added the following code:
HTML Code:

<!-- logo -->
<a name="top"></a>


<!-- I ADDED THIS PART BELOW -->


<table border="0" width="X" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td background="PATH TO YOUR LEFT SIDE IMAGE" width="Y"></td>

        <td align="$stylevar[left]" width="Z">



<!-- ^^^ I ADDED THIS PART ABOVE ^^^ -->


<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

</tr>
</table>


<!-- I ADDED THIS PART BELOW -->


        </td>
        <td background="PATH TO YOUR RIGHT EDGE IMAGE" width="Y"></td>

</tr>
</table>


<!-- ^^^ I ADDED THIS PART ABOVE ^^^-->


<!-- /logo -->
<a name="top"></a>



<!-- I ADDED THIS PART BELOW -->

<table border="0" width="X" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td background="PATH TO YOUR LEFT SIDE EDGE IMAGE" width="Y"></td>

        <td align="$stylevar[left]" width="X">

<!-- ^^^ I ADDED THIS PART ABOVE ^^^ -->



<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

X= total width of your forum (left image width + width of middle section + right image width). Y = width of your edge images. Z = width of your center content area WITHOUT the images.


In my footer template I edited this: (in your footer, look for the copyright part of the code, add it before that or after it if you want the copyright section inside your edges.)
HTML Code:

</a> -</if>
                                <if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
                                <a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
                        </strong>
                </div>
        </td>
</tr>
</table>



<!-- I ADDED THIS PART BELOW -->



        </td>
        <td background="PATH TO YOUR RIGHT SIDE EDGE IMAGE" width="Y"></td>

</tr>
</table>


<!-- ^^^ I ADDED THIS PART ABOVE ^^^ -->

<br />

<div align="center">
        <div class="smallfont" align="center">
        <!-- Do not remove this copyright notice -->
        $vbphrase[powered_by_vbulletin]
        <!-- Do not remove this copyright notice -->
        </div>




All times are GMT. The time now is 07:38 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01120 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete