vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - Extra Threadfields Lite(Add Text, Radio, Drop Down, & Checkbox Fields To Threads!) (https://vborg.vbsupport.ru/showthread.php?t=194918)

Gio~Logist 10-28-2008 10:00 PM

Extra Threadfields Lite(Add Text, Radio, Drop Down, & Checkbox Fields To Threads!)
 
Brought To You By
ModernvB - Vbulletin Solutions & Services
http://www.modernvb.com
Premium Modification:
http://www.modernvb.com/vb_products....fo&productid=1

https://vborg.vbsupport.ru/external/2008/10/4.jpg

**Before Making An Add on **
Please consult with me before making an add on to this hack. As it is my work and such, the add ons that you are trying to make for it may be in the next release and/or premium version.

What does this do?
This hack allows you to add more fields to your threads besides just the title and message. This is extremely usefull in order to specify certain things in a thread in a way that people are more aware of it and such. There are several types of fields you can add and several features for the hack.

What features does this hack provide?
  • Add extra fields to threads. These include:
    • Text fields
    • Select Drop Down Fields
    • Radio Fields
    • Checkbox Fields
  • Enhanced extra threadfields manager - Premium Only *new
  • Search through fields within forums (forumdisplay.php) - Premium Only *new
  • Search through fields in search.php - Premium Only
  • Control order in which fields are displayed
  • Edit thread fields via the "edit thread" page
  • Edit thread fields via the "edit post" page - Premium Only *new
  • Set the forums in which you want fields to appear in - Premium Only (light version may set forumid's, but are a tad more limited as to how many)
  • Show fields automatically in thread
  • Show fields automatically in forumdisplay
  • Make a field required - Premium Only
  • Control what forums the field is shown in
  • Enable/Disable system
  • Enable/Disable automatic showing fields in thread
  • Enable/Disable automatic showing fields in forum
  • Make the field only editable by staff - Premium Only
  • Control what usergroups can edit staff-only editable fields - Premium Only
  • Show extra fields in subscriptions - Premium Only
  • Show extra fields in forum index - Premium Only
  • Show extra fields in search results - Premium Only
  • Control what fields are searchable - Premium Only
  • Enable/Disable automatic showing fields in forum index - Premium Only
  • Enable/Disable automatic showing fields in search results - Premium Only
  • Style how your extra fields appear in threads (using html) directly from your admincp! - Premium Only *new
  • No template edits required! - Premium Only *new
What does this hack require?
Template Edits: 4
Products Imported: 1

5 Easy Steps
Step 1. Import the following product: product-extra_threadfields.xml
Step 2. Upload the files in the upload folder.
Step 3. Do the edits located below
Step 4. Edit the newly added options in admincp as you please
Step 5. Enjoy the hack.

F.A.Q
Q. How do i get extra fields to show in the "edit post" page?
A. This is only available in the premium version.

Q. If i do not want the fields to be shown automatically, can i do it manually?
A. You can manually show fields in threads or posts by using $thread[fieldx] in the postbit or showthread template. Replace x with the ID of the field you want. To find the ID of the field go to admincp >> Extra Threadfields >> Extra Fields Manager, and hover over a field. The number after fieldid = will be the id of your field.

Q. I updated all of the options, i installed it perfectly, i did all edits, and still the options are not showing when i go to add a new thread. What do i do?
A. It is believed that you have a hack interfering with this one. Take away the edit that you did for putting $extrathreadfields inside the newthread template, and do this instead:

Search for:
Code:

        <!-- / subject field -->
Add below:
Code:

        <table cellpadding="0" cellspacing="0" border="0" class="fieldset">$extrathreadfields</table>
Enjoy the hack.

[high]Credits:[/high]
CMX_CMGSCCC - Big thanks! Could not have done it without you!

Don't forget to click INSTALL

Gio~Logist 10-29-2008 12:10 PM

Decided to make another thread to better manage feature requests, support, etc.

Here are some screenshots.

schlottkej 10-29-2008 06:04 PM

Another solid release :)

ssslippy 10-29-2008 08:16 PM

Is it possible to have the text put into the thread instead of into the title?

Gio~Logist 10-29-2008 10:01 PM

Quote:

Originally Posted by ssslippy (Post 1655596)
Is it possible to have the text put into the thread instead of into the title?

Yea, you just have to change the location of where you make the postbit edit :) For the light version at least, premium does it automatically so you'd have to edit the code. Pm me if you're using that one.

StormBreaker 11-02-2008 10:44 AM

This mod is awesome! will be very useful for my new forum :)

How can i make something like the image below in my forum...
https://vborg.vbsupport.ru/

You can`t type the title or Message before checking the box!

Thank you.

Repentless 11-02-2008 12:12 PM

Great mod, thanks!

Gio~Logist 11-05-2008 02:28 PM

Quote:

Originally Posted by StormBreaker (Post 1657764)
This mod is awesome! will be very useful for my new forum :)

How can i make something like the image below in my forum...
http://img219.imageshack.us/img219/521/ppqh7.jpg

You can`t type the title or Message before checking the box!

Thank you.

That's a bit different from this modification. What they probably do is create a fieldset and wrap the forum description in it and then add some new value that they just check for in a plugin and output an error if it's not clicked. Would require custom coding.

CraiovaOnLine 11-05-2008 03:32 PM

i am interested in that above to

please give us some pointers

Gio~Logist 11-10-2008 03:49 PM

Quote:

Originally Posted by CraiovaOnLine (Post 1659963)
i am interested in that above to

please give us some pointers

I may be coding something up like this for a release, i'll keep you guys posted.


All times are GMT. The time now is 06:34 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.01353 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)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