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 03-16-2011, 09:36 PM
x_Coffee_x x_Coffee_x is offline
 
Join Date: Mar 2011
Location: NJ
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default User Tags per Row

Does anyone know where I can find this mod/how to do this?

Reply With Quote
  #2  
Old 03-16-2011, 09:38 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This was talked about recently (a month or so ago?). Have you tried a search at all?
Reply With Quote
  #3  
Old 03-16-2011, 09:53 PM
x_Coffee_x x_Coffee_x is offline
 
Join Date: Mar 2011
Location: NJ
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I looked but couldn't find it.. Can you please link me? Thanks in advance.
Reply With Quote
  #4  
Old 03-16-2011, 09:59 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have a link to it. I don't think it was in the modification area, I just remember discussing with a guy how to do it (set up a user profile field, modify width of div tags for ranks based on how many tags per row).
Reply With Quote
  #5  
Old 03-16-2011, 10:04 PM
x_Coffee_x x_Coffee_x is offline
 
Join Date: Mar 2011
Location: NJ
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found a link on Displaying Ranks, but he was told to request a Paid Service, however that was nothing that I am looking for.. Basically, I just want it to like.. after 6 or 7 ranks, start a new line with the rest of the ranks. I am not looking for this mod specifically, but I knew that this mod does that. If you can just tell me how to make it so after about 5, 6, or 7 ranks it made a new row of them.. That would be great.
Reply With Quote
  #6  
Old 03-17-2011, 12:20 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You just make divs around each rank:
<div class="$var">rank1</div>
<div class="$var">rank2</div>
<div class="$var">rank3</div>

etc. and use a different class based on the number of tags.

2 tags, $var = class50
3 tags, $vat = class33
4 tags, $var = class25
etc

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

Uh.. what.. I'm confused, where do I put all of that? I get I put <div class="$var"><img src="whatever"></div>.. but I don't get the other 2 things..

For 4 tags, would I do <div class="$var=class25"><img src="whatever"></div>? If so, where would I put that .class50 {width:50%;} and everything? Also, what are the ones for 5 or 6 tags?
Reply With Quote
  #8  
Old 03-17-2011, 01:55 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'll need to write a plugin to get the field where they set the number of tags and set $var from that. The classes just go in the additional.css template (or whichever template you choose to put them in).

As for widths... 2 tags, width = 1/2. For 3 tags, width = 1/3, etc. Times it by 100 to get the percent.
Reply With Quote
  #9  
Old 03-17-2011, 03:48 PM
x_Coffee_x x_Coffee_x is offline
 
Join Date: Mar 2011
Location: NJ
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, this is what I did.
I put this in Additional CSS;

.class50 {width:50%;}
.class33 {width:33%;}
.class25 {width:25%;}

Then I went into the Ranks Manager and did this code;

<div class="class25"><img src="myimagelink"></div>

But after I did this to every rank, now they are all stacked on top of eachother, which I simply could have done by just using the Yes option with the Stack Rank feature.. How can I make it so its 4 per row? Here's a snapshot.

Reply With Quote
  #10  
Old 03-17-2011, 04:24 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You also need to put all the divs/ranks into a big div that stretches across the whole area (width: 100%). Also, I have no idea what other CSS you may have being applied to your ranks - clear tags? float tags? Very hard to tell by an image but you need to look at that also.
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:43 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.05292 seconds
  • Memory Usage 2,244KB
  • 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
  • (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_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