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)
-   -   Profile Fields in Postbits (https://vborg.vbsupport.ru/showthread.php?t=108344)

bada_bing 04-25-2006 03:32 PM

Great Hack.. Clicked install

Hiranmanu 05-16-2006 06:08 PM

Superb hack, been trying to find out how to do this.

Thanks alot keep up the good work

Clicked install

Reolien01 05-31-2006 05:30 AM

In the 1st image it shows up top "Show profile fields in Postbits". I don't even have that menu in my admincp. All i have is the User profile fields.

In summary, I can make new fields, delete and edit them, but I cannot set which will be shows in the postbit. Can anyone help?

dlan 06-07-2006 09:33 AM

So any update on Multiple-Selection Checkboxs?

redlabour 06-08-2006 03:55 PM

Will it work in the Future with vBulletin 3.6 ?

gsipromotions 06-30-2006 03:33 AM

Very kewl, I like this one.

Anyone know how I can make a new field text display as a clickable link?

redlabour 08-04-2006 05:11 AM

This Product does not work with 3.6. Will there be a Update soon ?

Quote:

Invalid SQL:
select title from vb3_profilefield where profilefieldid=2;

MySQL-Fehler : Unknown column 'title' in 'field list'
Fehler-Nr. : 1054

redlabour 08-06-2006 02:22 PM

Anybody out there ? ;)

redlabour 08-08-2006 10:11 AM

Quote:

Originally Posted by redlabour
Invalid SQL:
select title from vb3_profilefield where profilefieldid=2;

MySQL-Fehler : Unknown column 'title' in 'field list'
Fehler-Nr. : 1054

Can nobody else fix this for 3.6 ?

nicedreams 08-08-2006 12:54 PM

Quote:

Originally Posted by redlabour
Can nobody else fix this for 3.6 ?

I fixed it for 3.6.0. This is what I did:

PHP Code:

                $Query "select type, profilefieldid from ".TABLE_PREFIX."profilefield where profilefieldid=".substr($value5);
                
$row2=$GLOBALS['vbulletin']->db->query_first($Query);
 
                
$phrasefield "field".$row2[profilefieldid]."_title";
                
$wherephrase " varname LIKE '$phrasefield' LIMIT 1";
                
$Query2 "select text FROM phrase WHERE" $wherephrase;
                
$custom_titles=$GLOBALS['vbulletin']->db->query_first($Query2);

$this->post['posts']=$this->post['posts'].'</div><div><strong>' $custom_titles['text'] . ':</strong> '.$this->post[$value]; 

Changed the query line by dropping the title. Added the 4 lines to get the title of the custom field from the phrases.

Jimmy


All times are GMT. The time now is 05:25 PM.

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.02734 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_php_printable
  • (3)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