vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Show Thread Enhancements - Profile Fields in a Postbit Dropdown (https://vborg.vbsupport.ru/showthread.php?t=208360)

Wired1 09-20-2009 06:21 PM

Dropdown - Manual

Wired1 12-09-2009 01:21 AM

Note to all: Yes I will be upgrading this mod if needed to work with vB 4.0, but not before it goes gold on or around the ETA of December 21st. I personally wouldn't recommend anyone upgrade their forum for a couple weeks after it comes out so that the modding community has a chance to test their code on the gold version.

Target Practice 12-19-2009 12:45 AM

I'm sorry, I'm quite spectacularly dumb when it comes to this kind of thing - I have a couple of questions if you'd be so kind:

Firstly, how do I remove the username from the dropdown_title? Is it even possible?

Secondly, I'm getting an issue when using this with the legacy postbit where for users with shorter names, the title background is taking the entire width of the postbit, and it looks a bit ugly:

http://img7.imageshack.us/img7/5199/problemju.jpg

Any suggestions?

Wired1 12-19-2009 06:09 AM

1. Remove from the dropdown templates:
Code:

$post[username]'s
2. more likely it's a spec they have that's long (IIRC).

Target Practice 12-19-2009 12:48 PM

Thanks for the prompt response.

Regards the second point, it doesn't seem to be - if I open the dropdown menu, the title bar is still much longer than any of the fields. As a potential workaround, is it possible to just change the colour of the title bar so that it matches the background of the postbit?

Wired1 12-19-2009 07:10 PM

It uses the default dropdown code, so either you'd have to change the colors of all of them, or if you just want to change that one then you'd have to add some CSS for that. CSS isn't my strongsuit, so I can't give you any tips, sorry!

Target Practice 12-19-2009 09:08 PM

Not a problem. :) I've muddled through and managed to get it more or less doing what I wanted now - probably not even close to good CSS, but it seems to be working, which is good enough for me. Thanks for a great mod.

In case anyone else has a similar problem to the one I had, I fixed it by doing the following:

In the dropdown call template

Change
Code:

<div id="specs_$post[postid]" class="vbmenu_control">
to
Code:

<div style="float: left; display: inline-block;" id="specs_$post[postid]" class="vbmenu_control">
You may find that this causes the dropdown to overlap some areas of your postbit (it did with mine) - In the Postbit Legacy template, simply add a couple of line breaks (<br>) after
Code:

$template_hook[postbit_userinfo_left]
and that should sort it.

That's how it worked for me, anyway. Hope it helps.

CvP 01-15-2010 01:53 PM

so any news about this on vb4?

Crow 01-21-2010 05:08 PM

This avil for 4.0.1 yet? This is just what I need!

marrr 02-13-2010 01:55 AM

Quote:

Originally Posted by Crow (Post 1962534)
This avil for 4.0.1 yet? This is just what I need!

Please update!!!


All times are GMT. The time now is 09:46 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.01140 seconds
  • Memory Usage 1,734KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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