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)

TigerC10 04-06-2009 03:12 PM

Quote:

Originally Posted by Wired1 (Post 1784143)
Tiger: gotta remember to check out those mods when I have some free time.

Yeah, they're pretty awesome if I do say so myself. Very elegant, less fuss on the install process that's for sure.

Wired1 04-06-2009 05:40 PM

In the next version, I may just remove the conditional statement for field 5, although some use that for a checkbox to turn it on/off.

For the profile fields themselves, do you all use categories, or random fields?

brainfood 04-10-2009 02:31 PM

Hi,

Thanks for this great mod. I have one question how do I get just those profile fields that are filled in by the users to be displayed and those that are empty to be left out of the drop down list?

Right now I see this in both the manual and automatic configuration.

In your example link with the PC System Specifications you seem to have this working. Any help will be appreciated.

Wired1 04-10-2009 05:46 PM

Sounds like the IF statements aren't working for some reason. Check the manual one you've edited, and you should see if statements around each possible profile field.

brainfood 04-11-2009 07:16 AM

Quote:

Originally Posted by Wired1 (Post 1788364)
Sounds like the IF statements aren't working for some reason. Check the manual one you've edited, and you should see if statements around each possible profile field.

Hi,

That was the problem. Just crious if it is possible to enable this in the automatic mode so that if the user field is left blank then it is not displayed?

Wired1 04-11-2009 10:23 PM

It already does that. Did you edit the Dropdown - Automated plugin to not do that?

Saviour 06-06-2009 10:34 AM

Wired1...

Any way of preventing this mod from showing up in certain forums? I just installed a new mod (Articles) and really don't want it to show in the Comments postbit of this new mod.

Thanks, in advance...

Wired1 06-07-2009 02:12 AM

Try throwing this conditional around the dropdown plugin that you use:

Code:

<if condition="$forum[forumid] != XX">
<my plugin code goes here>
</if>

That should probably do it. Untested :)

Saviour 06-07-2009 02:25 AM

Quote:

Originally Posted by Wired1 (Post 1824869)
Try throwing this conditional around the dropdown plugin that you use:

Code:

<if condition="$forum[forumid] != XX">
<my plugin code goes here>
</if>

That should probably do it. Untested :)


Within the plugin, or the template? If template...which one? And what if there are multiple forums...separate by commas?

Wired1 06-07-2009 08:24 PM

As I stated, PLUGIN :) Yep, commas.


All times are GMT. The time now is 03:30 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.01216 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)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