vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   frames around blocks (https://vborg.vbsupport.ru/showthread.php?t=89346)

Dolamite 06-18-2004 01:26 PM

frames around blocks
 
i'm starting with something simple just so i can get a feel for what i'm trying to do. i'm using vbadvanced and want to create frames around the blocks.

i have 9 images prepared:

stats_top_left (corner piece)
stats_top_mid
stats_top_right (corner piece)
stats_side_left
stats_side_right
stats_fill
stats_bottom_left (corner piece)
stats_bottom_mid
stats_bottom_right (corner piece)

I have associated classes for each image with class names being equal to the file name, like this:

.stats_top_left { background-image: url(/images/styles/default/stats/stats_top_left.jpg); }

and so on...

this should be relatively simple to do since i am just going to be modifying the following code to have these frames around it...

Code:

<!-- Stats Block -->
       
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder"width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet]

<phrase 1="$vboptions[hometitle]">$vbphrase[x_statistics]</phrase>

</strong></span></td>
</tr>
<tr>
<td class="$getbgrow"><span class="smallfont">

$vbphrase[members]: $numbermembers<br />
$vbphrase[threads]: $totalthreads<br />
$vbphrase[posts]: $totalposts<br />
$vbphrase[top_poster]: <a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$topposter[userid]">$topposter[username]</a> ($topposter[posts])<br />
<br />
<phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase>
</span>
</td>
</tr>

<if condition="$birthdays">
<tr>
<td class="alt1"><span class="smallfont">
<b>$vbphrase[todays_birthdays]:</b><br /> $birthdays</span></td>
</tr>
</if>

</table>
<br />
       
<!-- End Stats Block -->


I would really appreciate if anyone out there could lay this down for me, frames are something i've always seem to have had trouble with.

eventually i'll do the whole board this way (maybe) and it would be good to get the concept down with something simple like this.

as always- any help is appreciated.

Dolamite 06-18-2004 06:20 PM

nevermind.... i found help elsewhere and figured it out...


All times are GMT. The time now is 06:13 PM.

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.00990 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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