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)
-   -   Extra Threadfields Lite(Add Text, Radio, Drop Down, & Checkbox Fields To Threads!) (https://vborg.vbsupport.ru/showthread.php?t=108888)

taydu 11-19-2006 06:28 PM

other than that, do i need to do anything else

mac27 11-19-2006 07:38 PM

Quote:

Originally Posted by taydu (Post 1120954)
other than that, do i need to do anything else

No, I can't think of anything else you need to do. The templates edits should be it.

Good luck.

johnstires 11-21-2006 01:44 AM

For the newthread and search templates, does anyone know how to arrange the checkbox selections for extrathread fields to be arranged in a vertical column as opposed to in a horizontal row? In the default look, the checkboxes look like they are connect to neighboring choices. Even being able to add a nbsp between choices would be nice.

imranbaig 11-21-2006 06:50 AM

This is one of the nicest hack I'm going to install this and also nominate.
gonna try this on 3.63 thanks.
EDIT: I made it work on one of my forum, but I'm sorry to say this does not parse html anchor tag :( Is there a way to include bigger large description text with html?? which also includes anchor tag.
Thanks

mgurain 11-27-2006 03:14 AM

Quote:

Additional option to make a field required
This is important to me, any update to include it ?

also, is ther a way to provide fields for the user to write the source of his information he/she is writing in the thread like this :
* My Writing (radio button)
* Somebody else writing: (radio button)
Information Source URL 1: (text filed)
Information Source Title 1: (text filed)
Information Source URL 2: (text filed)
Information Source Title 2: (text filed)
Information Source URL 3: (text filed)
Information Source Title 3: (text filed)
Information Source URL 4: (text filed)
Information Source Title 4: (text filed)

then in the thread viewing it will show sources titles with urls on them.
?

thanks in advance,,

mac27 12-10-2006 11:28 PM

Quote:

Originally Posted by johnstires (Post 1121975)
For the newthread and search templates, does anyone know how to arrange the checkbox selections for extrathread fields to be arranged in a vertical column as opposed to in a horizontal row? In the default look, the checkboxes look like they are connect to neighboring choices. Even being able to add a nbsp between choices would be nice.


You might read previous post. This has been answered before and only one page back I think.

In the showthread_extra_fields template, replace the contents with this:

Code:

<div><b>$threadfield[title]:</b> $thread[fieldvalue]</div>

johnstires 12-17-2006 10:57 PM

Quote:

Originally Posted by mac27 (Post 1136039)
You might read previous post. This has been answered before and only one page back I think.

In the showthread_extra_fields template, replace the contents with this:

Code:

<div><b>$threadfield[title]:</b> $thread[fieldvalue]</div>

I am looking to do this in the search template, not the showthread. See this link for how messy the checkbox structure is:

http://www.onereef.com/forums/search.php

Ideally I would like the check boxes to line up nicely in 2-3 columns.

Example:

Field Title:
X option 1 X option 2 X option 3
X option 4 X option 5 X option 6
X option 7 X option 8 X option 9
X option 10 X option 11 X option 12

X= a check box

I have isolated it down to this in the template:

Code:

<if condition="$threadfield['type'] == 'checkbox' ">
                        <div>$checkboxstr</div> 
<input type="hidden" name="thread_fields_admin[$threadfield[fieldid]]" value="$threadfield[fieldid]">
</if>

$checkboxstr calls my checkbox options. But I have no clue how to alter $checkboxstr.

amkge 12-20-2006 08:44 AM

Im getting this error when I click on either Extra Field Manager or Add an Extra Field

Quote:

Unable to add cookies, header already sent.

File: /vhost/vhost5/f/r/e/freecannabis.com/www/forum/admincp/threadfields_admin.php
Line: 2
Please help !

Thanks, looks great, cant wait to get it working :)

spoiey 12-21-2006 06:28 PM

How can I convert the "text box" to phrase any text as a hyperlink?'Assuming the description would be for entering websites/sources

zylstra 12-25-2006 12:39 AM

Is there a Custom Post Field mod, as opposed to this one for threads? Thanks!


All times are GMT. The time now is 10:23 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.01736 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
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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