vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - ModernvB - Extra Threadfields Light (Fields other Than "Title" & "Message") (https://vborg.vbsupport.ru/showthread.php?t=269667)

HM666 05-28-2015 06:10 AM

Quote:

Originally Posted by Gio~Logist (Post 2540679)
Ah, that's not a bug necessarily, but rather it not using html or replacing \n within the field itself. Try this.

Add a new plugin to postbit_display_start, title can be Change Extra field \n to Line Breaks, set the order # to 1 and enter the following code

Code:

$thread['fieldx'] = nl2br($thread['fieldx']);
Change x to the fieldid for this field. That should work :up:

Thanks but how do I find the field ID? There is no indication of it that I can see.

blind-eddie 05-28-2015 09:50 AM

Quote:

Originally Posted by HM666 (Post 2546601)
Thanks but how do I find the field ID? There is no indication of it that I can see.

In the Extra Fields Manager, move your curser over the actual question. It will show the ID of the question.
But, I just tested the authors fix and it does not work for me on vb4.2.2.

I am also seeing this issue with the threadfield description, they are showing like this:



This
is
another
test.

HM666 05-28-2015 03:51 PM

Quote:

Originally Posted by blind-eddie (Post 2546611)
In the Extra Fields Manager, move your curser over the actual question. It will show the ID of the question.
But, I just tested the authors fix and it does not work for me on vb4.2.2.

I am also seeing this issue with the threadfield description, they are showing like this:



This
is
another
test.

Ah ok I see the ID's will give it a go later on tonight and see if it works ok.

JenniferK 06-12-2015 04:00 PM

Quote:

Originally Posted by Mariner1 (Post 2538866)
just installed Premium version and i get this error,free version worked but not paid ver.Ive uninstalled it/reinstalled it,overwritten it.Tried everything,still no luck

Invalid SQL:

CREATE TABLE IF NOT EXISTS `thread_fields_admin` (
`title` varchar(100) NOT NULL default '',
`fieldid` int(10) unsigned NOT NULL auto_increment,
`description` varchar(200) NOT NULL default '',
`forums` varchar(200) NOT NULL default '',
`type` varchar(100) NOT NULL default '',
`size` char(3) NOT NULL default '40',
`options` varchar(200) NOT NULL default '',
`display` varchar(100) NOT NULL default '1',
PRIMARY KEY (`fieldid`)
) TYPE=MyISAM;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 11
Error Number : 1064
Request Date : Thursday, February 26th 2015 @ 01:43:56 PM
Error Date : Thursday, February 26th 2015 @ 01:43:56 PM
Script : http://www.xxxxxx.com/admincp/plugin...=productimport
Referrer : http://www.xxxxxxx.com/admincp/plugin.php?do=productadd
IP Address : xx.xx.xx.xx.
Username : xxxxxxxxxxxx
Classname : vB_Database
MySQL Version : 5.5.42-cll

I am getting this same error, except with the free version. I also got:

PHP Warning: mysqli_query(): (42000/1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 11 in ..../includes/class_core.php on line 1394

I am using vb 4.2.3RC1 - is it that it is not compatible or is there some other problem?

blind-eddie 06-12-2015 06:36 PM

In the product find all instances of TYPE=MyISAM and change to ENGINE=MyISAM reimport product.

Gio~Logist 06-12-2015 08:52 PM

You can just remove
Code:

TYPE=MyISAM;
altogether from the xml file., I'll update it now as well.

HM666 11-03-2015 07:09 PM

Is there a way to take the limit off the dropdown choices? I'm trying to use the light version and it only allowed about 10 choices. I need it to allow around 50-100 choices for a drop down field.

Gio~Logist 11-04-2015 01:32 AM

Quote:

Originally Posted by HM666 (Post 2558148)
Is there a way to take the limit off the dropdown choices? I'm trying to use the light version and it only allowed about 10 choices. I need it to allow around 50-100 choices for a drop down field.

That many options at the moment is only available on the premium version :up:

HM666 11-04-2015 02:29 AM

Quote:

Originally Posted by Gio~Logist (Post 2558185)
That many options at the moment is only available on the premium version :up:

Ok thanks. :)

JenniferK 11-18-2015 02:52 PM

Has anyone figured out a way to make the threadfields show up in their RSS feed?


All times are GMT. The time now is 01:17 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.01321 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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