Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-27-2002, 05:57 PM
stark427's Avatar
stark427 stark427 is offline
 
Join Date: Aug 2002
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 10-27-2002, 06:20 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here ya go:
Attached Files
File Type: txt catimages.txt (3.2 KB, 59 views)
Reply With Quote
  #3  
Old 10-27-2002, 06:52 PM
stark427's Avatar
stark427 stark427 is offline
 
Join Date: Aug 2002
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx mate
Reply With Quote
  #4  
Old 10-27-2002, 07:56 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your welcome

Regards

- miSt
Reply With Quote
  #5  
Old 10-28-2002, 12:28 PM
stark427's Avatar
stark427 stark427 is offline
 
Join Date: Aug 2002
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05372 seconds
  • Memory Usage 2,223KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (1)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete