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

Reply
 
Thread Tools Display Modes
  #11  
Old 03-17-2011, 05:12 PM
x_Coffee_x x_Coffee_x is offline
 
Join Date: Mar 2011
Location: NJ
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No idea what you just said. All I have for my ranks are;

That .class25 stuff you told me to put in Additional CSS.
and the HTML code I provided. Here's more pics.. No float tag or clear tags.

<-- Rank Manager (if I listed all it would be too big)

<-- Toon Rank (when on edit mode)

Basically, like I said, the HTML code is
<div class="class25"><img src="myimagelink"></div>

I don't know what you said about another big div.. a walkthrough would be nice ><
Reply With Quote
  #12  
Old 03-17-2011, 08:02 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you need someone to actually code this for you, then you should probably post in the Paid Requests forum. All I can really do is give you pointers and tell you how I would go about it. I'm not going to actually do the work for you.

clear and float are tags that would be in your CSS. If you use firebug, you can see what CSS is being applied to your images. I am suggesting that perhaps there is some being applied and you need to get rid of it, but that is something you would have to look into since images don't tell us what CSS is being used.
Reply With Quote
  #13  
Old 03-17-2011, 08:47 PM
x_Coffee_x x_Coffee_x is offline
 
Join Date: Mar 2011
Location: NJ
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All I need is pointers, but I just don't get how to do it.
I set class33 to be 100% width. I went into the Postbit template and added <div class="class33">$post[rank]</div>
Then I kept the ranks HTML at <div class="class25"><img src="myimagelink"></div>
class25 = 25%.

On firebug, I can't find where it says where they're floating or not.. I went into firebug, and selected a rank with it on a post. What am I doing wrong?
Reply With Quote
  #14  
Old 03-17-2011, 09:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In your postbit is where your ranks are spit out. It is there that you need to set the .rank tag that spans 100% (or however many pixels) to contain your row. Then, in the ranks themselves, you would have the div/span like you are using. A different div class based on how may tags per row. I think you may have to set those to be display:inline-block also (since the rank class is set to be display:block by default).

Make sure you don't make them stackable since that puts a <br> tags between them.
Reply With Quote
  #15  
Old 03-17-2011, 09:19 PM
x_Coffee_x x_Coffee_x is offline
 
Join Date: Mar 2011
Location: NJ
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where can I find display:block so I can change it to display:inline-block?
The ranks aren't set to stack.
Also, I have set the .class25 and .class 33 to {width:110px;} and {width:440px;} (One rank is 110px long but x4 is 440px) and even changed it back to 25% and 100% but nothing changed. I think I am doing something wrong. :/
Reply With Quote
  #16  
Old 03-17-2011, 10:52 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to change the display in the .class that you are using for the ranks. For example:

HTML Code:
.class50 {width:50%; display: inline-block;}
.class33 {width:33%; display: inline-block;}
.class25 {width:25%; display: inline-block;}
Reply With Quote
  #17  
Old 03-18-2011, 12:01 AM
x_Coffee_x x_Coffee_x is offline
 
Join Date: Mar 2011
Location: NJ
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. I did this (as also stated in PM) which I replied to, but I will also reply here.
This seems to be working, but it recognizes the 4 ranks.. but it isn't making a new line for these other 2. Look here.


It isn't dropping the other 2 to another line.
Reply With Quote
  #18  
Old 03-18-2011, 04:20 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to set the width of the outer div/span for the rank to be only large enough to contain the ranks you are putting into it. If you set it to 100% and then put things in it that are set to 25%, then you will only get four in a row before it flows to the next line.
Reply With Quote
  #19  
Old 03-18-2011, 01:03 PM
x_Coffee_x x_Coffee_x is offline
 
Join Date: Mar 2011
Location: NJ
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi.. How to set outer DIV?
I don't know how to go about making a div, and just learned what these classes were when you told me rofl.
Reply With Quote
  #20  
Old 03-18-2011, 04:15 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the postbit is this:
HTML Code:
                        <span class="rank">{vb:raw post.rank}</span>
That is where the ranks get spit out. So, you need to set that class to a width.
HTML Code:
.postbit .userinfo .rank {    width: 100%;}
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 09:28 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.04317 seconds
  • Memory Usage 2,248KB
  • Queries Executed 13 (?)
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
  • (3)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete