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)

Gio~Logist 04-29-2006 02:26 PM

Quote:

Originally Posted by Michael Hyatt
This looks like just what the doctor ordered!

However, can I make the fields appear in the first message and not the replies? (Like this forum)

That's how it is by default :p

Michael Hyatt 04-29-2006 03:24 PM

I'm loving this hack.

Question: the new thread fields are showing up on the new post forum and on the message list in bold. How can I make this just regular text?

Thanks for a great tool!

Gio~Logist 04-29-2006 03:26 PM

Quote:

Originally Posted by Michael Hyatt
I'm loving this hack.

Question: the new thread fields are showing up on the new post forum and on the message list in bold. How can I make this just regular text?

Thanks for a great tool!

Simple edit the newthread_extra_fields template and take out the <b> before $threadfield[title] and the </b> after it.

Michael Hyatt 04-29-2006 03:38 PM

That worked great for the new thread posting forum. However, when I list all the messages on the forum display page, the field is also bold. I thought this might be in the Forum Display templates, but no such luck.

Gio~Logist 04-29-2006 03:39 PM

Quote:

Originally Posted by Michael Hyatt
That worked great for the new thread posting forum. However, when I list all the messages on the forum display page, the field is also bold. I thought this might be in the Forum Display templates, but no such luck.

Try threadbit_extra_fields

Michael Hyatt 04-29-2006 03:43 PM

Okay. You get the award for "Fastest, Most Helpful Tech Support on the Planet."

I noticed this is the Lite version. Do you have a regular (non-lite) version?

Gio~Logist 04-29-2006 03:57 PM

Quote:

Originally Posted by Michael Hyatt
Okay. You get the award for "Fastest, Most Helpful Tech Support on the Planet."

I noticed this is the Lite version. Do you have a regular (non-lite) version?

The premium version will be released in the near future. Features have been added. However, some features are still being thought out.

Michael Hyatt 04-29-2006 04:07 PM

I just sent you a PayPal payment for $20.00. I will happily buy the Premium version when it is available.

A couple of features that would be helpful to me:

- The ability to edit the original post and make changes to the extra fields.

- The ability to run a quick report based on an extra field value. For example, I am using vBulletin as a simple tool for following up on team action items. Each item is one thread. I used your hack to assign a due date and an owner to each item. It would be great for each user to get a list of threads in which they are listed as the owner.

Great work.

Gio~Logist 04-29-2006 04:10 PM

Quote:

Originally Posted by Michael Hyatt
I just sent you a PayPal payment for $20.00. I will happily buy the Premium version when it is available.

A couple of features that would be helpful to me:

- The ability to edit the original post and make changes to the extra fields.

- The ability to run a quick report based on an extra field value. For example, I am using vBulletin as a simple tool for following up on team action items. Each item is one thread. I used your hack to assign a due date and an owner to each item. It would be great for each user to get a list of threads in which they are listed as the owner.

Great work.

Your donation is appreciated ;) And you will be contacted once the premium version is available.

The ability to edit the extra field is already available. You just have to click "edit thread".

As for the quick report, what you want is the ability to send a pm to the user who started the thread once the extra field is changed?

Michael Hyatt 04-29-2006 04:17 PM

Okay that makes sense on editing the thread.

No, the Quick Report I envision would be done from the forum home page. Imagine a user visits the bb first thing in the morning. He pulls down a menu option that allows him to see every thread for which he is assigned as the owner.

Does that make sense? Or can the normal Search capability of vBulletin find the data in the extra fields?

Gio~Logist 04-29-2006 04:19 PM

Quote:

Originally Posted by Michael Hyatt
Okay that makes sense on editing the thread.

No, the Quick Report I envision would be done from the forum home page. Imagine a user visits the bb first thing in the morning. He pulls down a menu option that allows him to see every thread for which he is assigned as the owner.

Does that make sense? Or can the normal Search capability of vBulletin find the data in the extra fields?

Sorry, i still am not sure exactly what you are trying to accomplish. Perhaps you can enhance on this? Feel free to provide screenshots and such if you'd like.

Michael Hyatt 04-29-2006 04:22 PM

One other item: I have created a drop-down select box. I have about 30 names (I had to use the "Large Edit Box" function.) However, only about half of them are display on the new post form. I assume there is a variable in a template that I can adjust to allow for more entries. Thanks.

Gio~Logist 04-29-2006 04:25 PM

Quote:

Originally Posted by Michael Hyatt
One other item: I have created a drop-down select box. I have about 30 names (I had to use the "Large Edit Box" function.) However, only about half of them are display on the new post form. I assume there is a variable in a template that I can adjust to allow for more entries. Thanks.

Try running this query in phpmyadmin
Code:

ALTER TABLE `thread` CHANGE `fieldX` `fieldX` MEDIUMTEXT NOT NULL
Make sure to replace the X with the fieldid.

Michael Hyatt 04-29-2006 04:35 PM

Quote:

Originally Posted by gio~logist
Try running this query in phpmyadmin
Code:

ALTER TABLE `thread` CHANGE `fieldX` `fieldX` MEDIUMTEXT NOT NULL
Make sure to replace the X with the fieldid.

I'm checking to see if phpmyadmin is installed on the server. Is this the same as running Execute SQL Query from the Admin Control Panel?

Michael Hyatt 04-29-2006 04:37 PM

Quote:

Originally Posted by gio~logist
Sorry, i still am not sure exactly what you are trying to accomplish. Perhaps you can enhance on this? Feel free to provide screenshots and such if you'd like.

I guess at the simplest level, I'd like to use vBulletin's search feature to find data stored in the extra thread fields. Does this help?

Gio~Logist 04-29-2006 04:42 PM

Quote:

Originally Posted by Michael Hyatt
I'm checking to see if phpmyadmin is installed on the server. Is this the same as running Execute SQL Query from the Admin Control Panel?

Yes.

Gio~Logist 04-29-2006 04:42 PM

Quote:

Originally Posted by Michael Hyatt
I guess at the simplest level, I'd like to use vBulletin's search feature to find data stored in the extra thread fields. Does this help?

Ah yes. This is already a feature, but in the premium version.

Michael Hyatt 04-30-2006 01:30 AM

Quote:

Originally Posted by gio~logist
Try running this query in phpmyadmin
Code:

ALTER TABLE `thread` CHANGE `fieldX` `fieldX` MEDIUMTEXT NOT NULL
Make sure to replace the X with the fieldid.

Where do I find the field ID?

0ptima 04-30-2006 01:40 AM

This hack is amazing! Would it be possible to add a label, so it could be used to describe the field? For example if I had a field called Price, a label next to (or on top of the price field) could say "Please indicate the currency" and the label would only appear when starting a new thread.

What plans do you have for the premium version?

0ptima 04-30-2006 02:02 AM

How could I allow users to change the values in the custom fields when editing a post?

Gio~Logist 04-30-2006 02:26 AM

Quote:

Originally Posted by 0ptima
How could I allow users to change the values in the custom fields when editing a post?

They'd have to edit the thread.

Gio~Logist 04-30-2006 02:26 AM

Quote:

Originally Posted by Michael Hyatt
Where do I find the field ID?

In the admincp, in the section of the extra fields. Try hovering over the field title and the fieldid will show on the bottom of your browser after the text "fieldid=".

0ptima 04-30-2006 02:47 AM

Quote:

Originally Posted by gio~logist
They'd have to edit the thread.

I dont see an option to allow register memebrs to edit threads. They can only edit posts and when they edit the post, the new fields do not show up.

Gio~Logist 04-30-2006 03:04 AM

Quote:

Originally Posted by 0ptima
I dont see an option to allow register memebrs to edit threads. They can only edit posts and when they edit the post, the new fields do not show up.

Click the thread tools drop down, and the edit thread option comes up.

0ptima 04-30-2006 03:43 AM

Quote:

Originally Posted by gio~logist
Click the thread tools drop down, and the edit thread option comes up.

Thats an admin option, not a user option, so it wont work.

paul41598 05-01-2006 10:37 PM

Is there any way we can get added to this an image selection? So we could put a small image along with everything else? Kinda like this:

https://vborg.vbsupport.ru/attachmen...8&d=1080750452

Then for my classifieds section, if they choose the SOLD icon, it will appear in the forum display for all to see their item as being sold

DrewM 05-11-2006 09:48 AM

Can you add sorting?

Dannyboy1 05-11-2006 11:52 AM

Is there any similar mod for vbulletin 3.x.x?

DrewM 05-14-2006 07:58 PM

Also requried feilds only work on the first feild the second or the third don't.

RaZor Edge 05-15-2006 02:21 PM

Quote:

Originally Posted by Trana
This looks like a really cool hack. I am still wondering if anyone has tried it with the CMPS latestposts module.

Quote:

Originally Posted by gio~logist
I am thinking about how to incporate it due to the fact that i'm not sure how i will display it. Also, don't forget to click install :p

Would be really great if the premium version of this hack can be use with CMPS latestposts module.

Chad Beattie 05-17-2006 04:54 PM

When a normal user clicks "Edit", then "Go Advanced", the extra options are not showing up. It looks like hooks need to be placed for editpost and also the extrathreadoptions put into the editpost template. Without it, normal users cannot change any of the settings once a thread has been posted.

Thank you and for putting time into this hack.

0ptima 05-18-2006 12:02 AM

Quote:

Originally Posted by Chad Beattie
When a normal user clicks "Edit", then "Go Advanced", the extra options are not showing up. It looks like hooks need to be placed for editpost and also the extrathreadoptions put into the editpost template. Without it, normal users cannot change any of the settings once a thread has been posted.

The only way they can be edited is through the edit thread option, which only admins can do on my forum. If the edit post had this option, this hack would be perfect!

Chad Beattie 05-18-2006 04:12 AM

Quote:

Originally Posted by 0ptima
The only way they can be edited is through the edit thread option, which only admins can do on my forum. If the edit post had this option, this hack would be perfect!

Exactly, which is why I posted what I did. Users CAN do the same type of function when they hit "Edit" and then "Go Advanced". They can change the thread title, icon, etc... Going forward I will be sure and test mods as both regular users and admins. At any rate, it seems if some additional code was added to hook into the editpost script, along with another template edit, it could work. I was going to work on it, but figured I would see if the person who wrote this might have it fixed already.

Gio~Logist 05-18-2006 07:34 PM

Like i said, at the moment it is only available by clicking "edit thread". However, i will look into having this applicable in the edit post as well.

Chad Beattie 05-19-2006 02:55 AM

Quote:

Originally Posted by gio~logist
Like i said, at the moment it is only available by clicking "edit thread". However, i will look into having this applicable in the edit post as well.

That would be great, thank you!

0ptima 05-20-2006 03:49 AM

Quote:

Originally Posted by gio~logist
Like i said, at the moment it is only available by clicking "edit thread". However, i will look into having this applicable in the edit post as well.

Thanks!!! Ill send you a donation or buy the premium version when it comes out if you fix this.

Chad Beattie 05-21-2006 07:08 PM

Quote:

Originally Posted by 0ptima
Thanks!!! Ill send you a donation or buy the premium version when it comes out if you fix this.

Same here :cool:

KPalicz 05-26-2006 07:24 PM

First of all great hack, we have some great ideas for using it on our site to make a nice, integrated article system for the website.

Anyways, I tried your advice in this post but it isn't working for me. I am in the same boat as the person you responded to, and I'd like the post to look like this.

Any ideas?

Stargesicht 05-30-2006 02:22 PM

When comes the premium Version???
I need this in the search-results, too.
It`s important for me...
Is there a trick, for show this in the serch-results, when you klick "new posts"....

Thanks

Emmy2 06-05-2006 03:39 PM

wonderful hack! I'm just trying to work out a small tweak...

Suppose I have 3 extra fields but I only want one of them to show on the forumdisplay page. So first I disable the "Show extra fields automatically in forum?" feature. Then I try to manually insert the one field that I *do* want to show by following these earlier instructions by gio_logist...

Quote:

Turn of the setting that automatically displays them in forumdisplay and put them where you'd like manually via edit template using $threadinfo[fieldx] (see above for more info). If $threadinfo doesn't work, use $thread. I will comfirm that tommorow.
Well, I tried both ways ($threadinfo and $thread) and it doesn't show up. It doesn't say what template to edit, but I assumed it was threadbit?

Any ideas what to try next?


All times are GMT. The time now is 04:31 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.01886 seconds
  • Memory Usage 1,839KB
  • 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
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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