vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Placing 3 images as category background (left-middle-right) (https://vborg.vbsupport.ru/showthread.php?t=45073)

stark427 10-27-2002 05:57 PM

Placing 3 images as category background (left-middle-right)
 
Hello all.

I have seen many sites doing this. They have 3 images as category background, so the result seems like a nice border - with special edges.

examples :

http://yaxay.com/yack/

ok now from what i understand (correct me if i'm wrong) they have done this by having 3 cells at the category.
they place one image - which is like an edge - at the left cell, a simple embossed (or whatever) image at the middle cell, and one other edge-looking at the right one...

could someone giude me on how exactly i can do this?

(code, templates, etc...)

side-note: I have the "images on categories" template hack at my site... already - but only with 1 image as cat image...

thanx in advance

Dean C 10-27-2002 06:20 PM

1 Attachment(s)
Here ya go:

stark427 10-27-2002 06:52 PM

thanx mate :)

Dean C 10-27-2002 07:56 PM

Your welcome :)

Regards

- miSt

stark427 10-28-2002 12:28 PM

the original code that was published there is the the following:

Code:

1. Goto Admin CP --> Templates --> Modify --> Show All (for the style you want to edit).
2. Select EDIT for forumhome_forumbit_level1_nopost
3. on the very first line of the template, add:

<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="100%"><img src="https://vborg.vbsupport.ru/images/catbbg.gif" border="0"></td>
</tr>
</table>
4. You might want to change the td width to fit your forums.
5. Thats all!  Take a look


but many people said its not working right...

so a new solution was given:

Code:

Go to your ACP and open forumhome_forumbit_level1_nopost

Right at the top over </table> put this

<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="48"><img src="images/catbleft.jpg" border="0"></td>

<td align="center" background="images/catbmiddle.jpg" width="100%"></a></td>

<td width="48"><img src="images/catbright.jpg" border="0"></td>
</tr>
</table>

Save this

Now go to your forumhome temp and search for $forumbits

Put right below

<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="48"><img src="images/catbleft.jpg" border="0"></td>

<td align="center" background="images/catbmiddle.jpg" width="100%"></a></td>

<td width="48"><img src="images/catbright.jpg" border="0"></td>
</tr>
</table>

Save it


Now with the 2nd solution - u have the chance to put 3 cells = 3 images...

I tried the 2nd solution and its not working,
Then what I did was that I removed the left and right cell and left only the center one....

in all cases my board is stretched and covers all the width of the screen.... although I have it smaller....

then I tried the 1st solution... but problems.. so I did the 1st solution again with adding the same code to the forumhome template, too...

same results... :(
any ideas?


All times are GMT. The time now is 08:03 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.00960 seconds
  • Memory Usage 1,724KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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