vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Staff Banners... (https://vborg.vbsupport.ru/showthread.php?t=122721)

Puntal 08-01-2006 02:00 PM

Staff Banners...
 
1 Attachment(s)
Please someone help here.

I've been trying to get this to work,i've read all around the forum and mods,but cant find anything.

I would like to have my staff pincture centered just like this one attached.

Now,i know how to go to Add new rank,but if dot not show all the extra groups that you supposed to be in,and it does not center out,it's right next to the avatar,wich is a bit crap really :D

So can anybody here help?

Thanks

Kirk Y 08-01-2006 02:24 PM

Hey, Adminfusion. Why not take a look at the source code, see what they used.

Puntal 08-01-2006 02:45 PM

Looking,and actually doing is two diferent things m8...

Kirk Y 08-01-2006 02:48 PM

Ha, I guess that's true. I'll take a look too, then.

Okay:

Find in postbit template:
Code:

<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
                               
                        </td>

Add below:
Code:

<td class="alt2" align="center" width="90%">


<div class="smallfont"><img src="" alt="" border="" /></div>

        </td>

Are you trying to put your regular rank images there? If so, the code will need to be changed a little bit. As I posted above would be if you just wanted to stick an image there.

Puntal 08-01-2006 03:07 PM

i am trying to put my rank images.

And thanks for your help m8.

Kirk Y 08-01-2006 08:36 PM

Then instead...

Find in posbit template:
Code:

<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
Replace with:
Code:

<if condition="$post['rank']"><td class="alt2" align="center" width="90%">
<div class="smallfont">$post[rank]</div>
        </td></if>

Try adjusting the width parameter in the <td> to position it.

Puntal 08-01-2006 10:04 PM

Thanks mate.

Works a treat.

Now the only problem i have,is line them up on top of each other.
Because they're lining up next to each other at the moment.

But great work m8...

Cumps
Puntal

Kirk Y 08-01-2006 10:47 PM

Try sticking a <br /> after $post[rank].

Puntal 08-02-2006 07:13 AM

1 Attachment(s)
Thanks again m8.

Now i have another problem.

It has a little X on the right side(see picture)

But cant take it off...

Cumps
Puntal

Kirk Y 08-02-2006 02:39 PM

It's trying to get a picture from somewhere, but can't for whatever reason. Try right-clicking on the X and checking what image it's trying to get. Check around the area where you pasted the code I provided for any <img src=".


All times are GMT. The time now is 08:02 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.01064 seconds
  • Memory Usage 1,725KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete