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)

Wired1 04-08-2006 03:15 AM

Quote:

Originally Posted by dlan
In the dropdown menu i can't make multiple-selection-checkbox fields to show... it just show numbers... :(

dropdown AND multiple checkboxes? Huh?

Tested Multiple checkboxes, worked fine. Can you be more specific?

SMO 07-04-2006 03:33 AM

I am having issues with this and kinda would like to get rid of the extra stuff now.

How do I "uninstall" the extra stuff like the profile hooks and drop down on postbit.

I went thru the changes and thought I got it all that I added with the readme but some users still have the features available.

Wired1 07-04-2006 06:19 AM

Go through the instructions step by step. If you've added code, remove it. Make sure you go through each of your templates, and remember to turn off the plugin.

What types of issues are you having?

barryhand 08-02-2006 07:50 AM

Hi, Great Mod.

At the moment its showing up based on one field condition, any way to enable it based on multiple fields

Say if Field11 or 12 or 13 exist?

<if condition="$post['field11']"> ??

//EDIT

Got it
<if condition="$post['field10'] OR $post['field11'] OR $post['field12']">

paul41598 08-03-2006 03:52 PM

Wired:

I made an extra profile page as per your instructions here:
https://vborg.vbsupport.ru/showpost....&postcount=192

I've installed this hack now to show it in memberinfo template and it keeps grabbing my first original custom profile page extra, and not getting extra2. How do I fix this?

paul41598 08-03-2006 05:04 PM

n/m, figured it out

Wired1 08-03-2006 05:08 PM

Kewl, glad to see you both got it worked out. Don't forget to hit install Paul :)

Jeordie015 08-06-2006 09:58 PM

If this has already been asked, I didn't see it. Is there a way to have it so it will show a message in the table in the additional section in the profile instead of leaving it blank if the user doesn't enter anything for those fields?

Wired1 08-06-2006 11:41 PM

could just replace the n/a message line with whatever message you'd like, but I would code it into the template, don't replace the phrase or it will show up in other unintended places.

Xorlev 08-07-2006 01:17 AM

Does not work in 3.6.0 due to changed table schema. Fix below:

Change:
PHP Code:

$profilefields $db->query_read("
    SELECT profilefieldid, required, title, type, data, def, height
    FROM " 
TABLE_PREFIX "profilefield
    WHERE form = 6 " 
iif(!($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseehiddencustomfields']), "
        AND hidden = 0"
) . "
    ORDER BY displayorder
"
); 

TO:

PHP Code:

$profilefields $db->query_read("
    SELECT profilefieldid, required, phrase.text AS title, type, data, def, height
    FROM " 
TABLE_PREFIX "profilefield, " TABLE_PREFIX "phrase
    WHERE form = 6 " 
iif(!($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseehiddencustomfields']), "
        AND hidden = 0"
) . " AND phrase.varname = CONCAT('field', profilefieldid, '_title')
    ORDER BY displayorder
"
); 



All times are GMT. The time now is 08:06 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.01213 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (1)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