vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Additional Section within Profile and Dropdown within Posts (https://vborg.vbsupport.ru/showthread.php?t=98753)

predatorkill 10-19-2005 10:17 PM

Quote:

Originally Posted by Wired1
Nice! The info in the dropdown, it's supposed to be in one line? Where'd the info come from?


I ve told ya,i ve made it to meet ma own needs!!! It's better for me in one line,cos i cant figure out or guess how many games a user has!!If someone got 20,it would be a huge list for the dropdown.So i ve limited it in 1 line seperated with commas!!!

Wired1 10-19-2005 10:26 PM

Quote:

Originally Posted by predatorkill
I ve told ya,i ve made it to meet ma own needs!!! It's better for me in one line,cos i cant figure out or guess how many games a user has!!If someone got 20,it would be a huge list for the dropdown.So i ve limited it in 1 line seperated with commas!!!

Relax! :)

GamerzWorld 11-09-2005 10:16 AM

Hello, great hack. Dont mean to be a pain but how could i recycle the group memberships to show

Guilds: Group Membership fields

Thanks for your help

Wired1 11-09-2005 03:19 PM

Not a pain at all, in fact I was wanting to get around to this eventually. While this isn't as elegant as I want it to be, this should do it for you. Basically it adds the Group Membership and a blank area below the current profile. You can swap the Group Membership and Extra Info areas if you'd like, just have to swap the code in the appropriate areas.

REPLACE:

Code:

</tr>
</table>

$footer

</body>
</html>


With:

Code:

</tr>
<tr>
        <td class="tcat" width="50%">$vbphrase[group_memberships]</td>
        <td class="tcat" width="50%">                                <em>$vbphrase[n_a]</em></td>
</tr>
<tr valign="top">

        <td class="panelsurround" align="center">
        <div class="panel">
                <div align="$stylevar[left]">
               
                <div class="fieldset">
                        <if condition="$show['extrainfo']">
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                <if condition="$userinfo['birthday']">
                                <tr>
                                        <td>
                                                <strong>$vbphrase[birthday]</strong>:<br />
                                                $userinfo[birthday]
                                        </td>
                                </tr>
                                </if>
                                $customfields
                                </table>
                        <else />
                                <em>$vbphrase[n_a]</em>
                        </if>
                </div>
               
                </div>
        </div>
        </td>
       
        <td class="panelsurround" align="center">
        <div class="panel">
                <div align="$stylevar[left]">
               
                        <div class="fieldset">
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]px" border="0">
                                <tr>
                                </tr>
                                </table>
                        </div>
               
                </div>
        </div>
        </td>

</tr>
</table>

$footer

</body>
</html>


GamerzWorld 11-09-2005 04:28 PM

Thanks, just need to think how to do it so that i dont have a spare box

Wired1 11-09-2005 05:36 PM

Don't forget to hit Install! :)

It can probably be done, but the downside is that the opposite cell has a large area of nothing in it. You can remove the info in that <TR> to make it completely blank of even the title bar, or you could have the last cell stretch the whole width if you wanted.

rootnik 12-01-2005 02:58 PM

Nice, installed no problems

*clicks install*

Wired1 12-01-2005 04:18 PM

Quote:

Originally Posted by rootnik
Nice, installed no problems

*clicks install*

glad to hear! Going to try to lay out some framework for some new features this weekend.

Snake 12-01-2005 05:49 PM

/me clicks on install

Wired1 12-01-2005 07:30 PM

Quote:

Originally Posted by Aftermath
[high]* Aftermath clicks on install[/high]

Thanks for the install!

BTW, (quoting what I just added to the install notes)
please post where you've installed this, as I'd like to see how people are using it. That'll help me think of new ways to add to it aside from my own needs for this hack. Or if guests can't see the effects, then please post a pic.


All times are GMT. The time now is 08:35 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.01226 seconds
  • Memory Usage 1,748KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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