PDA

View Full Version : Extra Threadfields Lite(Add Text, Radio, Drop Down, & Checkbox Fields To Threads!)


Pages : [1] 2 3

Gio~Logist
02-24-2006, 10:00 PM
Brought To You By
Gio~Logist - Vbulletin Solutions & Services
http://www.giologist.com/vb


Premium Version:
http://www.giologist.com/vb/index.php?page=products&sr_products=moreinfo&productid=1
Premium Admin Demo:
http://www.giologist.com/vb/demo/extra_threadfields_demo.php
Premium Demo:
http://www.giologist.com/vb/forumdisplay.php?f=33


**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 *newWhat 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:
<!-- / subject field -->Add below:
<table cellpadding="0" cellspacing="0" border="0" class="fieldset">$extrathreadfields</table>Enjoy the hack.

Credits:
CMX_CMGSCCC (https://vborg.vbsupport.ru/member.php?u=41269) - Big thanks! Could not have done it without you!

Don't forget to click INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=194918)

Gio~Logist
02-25-2006, 08:17 PM
Here are some screenshots.

FleaBag
02-25-2006, 08:37 PM
I'll definitely take a look into this, looks tastey. Not sure if I'll need it as well as GARS though. I'll soon find out! :)

VaaKo
02-25-2006, 08:41 PM
can this be used for the staff only?
in order to mark the thread as "moderated" so that other staff members don't have to check it and this will save some time...
can it work that way?

Daniel
02-25-2006, 08:45 PM
Great job!

KTBleeding
02-25-2006, 08:46 PM
Superb! I was going to do this myself, but not anymore. ;)
This is perfect.. seriously.

Thanks.

Gio~Logist
02-25-2006, 08:58 PM
can this be used for the staff only?
in order to mark the thread as "moderated" so that other staff members don't have to check it and this will save some time...
can it work that way?

I will hopefully look into this. Perhaps i will make it so that you have the option of making fields have permissions so that only certain usergroups can access them.

Gio~Logist
02-25-2006, 08:59 PM
Great job!

Thank you very much

Forgot to click install?:p

Gio~Logist
02-25-2006, 08:59 PM
Superb! I was going to do this myself, but not anymore. ;)
This is perfect.. seriously.

Thanks.

Heh. Glad you like it. Don't forget to click install.

naqalone
02-25-2006, 09:04 PM
Great ! I think it should become the default feature of vBulletin :devious:

bashy
02-25-2006, 09:21 PM
HI m8

I have installed and all seems well...
thanks

Gio~Logist
02-25-2006, 09:23 PM
HI m8

I have installed and all seems well...
Apart from, i cant find the Thread Fields, i have added
a Extra Field in the Extra Threadfiels menu, but cant for the
life of me find the other part to it :o

What exactly do you mean?

Add a field, make sure you include the ID in which you want the forum to be in, and then make a new thread in that forum and you will see the extra fields appear. This is assuming you did the template edits and installed correctly ;].

bashy
02-25-2006, 09:29 PM
Dont mind me m8...im half asleep

Ive only just realised that the Thread Fields are what you created :o lol
There is 1 issue though...
I have created a few fields now and set a forum but nothing is showing when i create a thread in that forum.....

I have forgotten sommat....?
I have done all the edits and imported the product

What exactly do you mean?

Add a field, make sure you include the ID in which you want the forum to be in, and then make a new thread in that forum and you will see the extra fields appear. This is assuming you did the template edits and installed correctly ;].

Gio~Logist
02-25-2006, 09:32 PM
Dont mind me m8...im half asleep

Ive only just realised that the Thread Fields are what you created :o lol
There is 1 issue though...
I have created a few fields now and set a forum but nothing is showing when i create a thread in that forum.....

I have forgotten sommat....?
I have done all the edits and imported the product

Do you have "automatically show fields in threads" enabled? Also, did you fill out the extra field?

PS: Make sure you use the correct forumid of the forum(s) you want it to show on, seperated by a comma.

bashy
02-25-2006, 09:35 PM
Hi

Yeah thats enabled

The extra fields arent showing, this is the probem, theres nowt there
when creating the thread, only using 1 forum id and thats 19, the for sale section

Gio~Logist
02-25-2006, 09:50 PM
Hi

Yeah thats enabled

The extra fields arent showing, this is the probem, theres nowt there
when creating the thread, only using 1 forum id and thats 19, the for sale section

I think you have an error somewhere in your newthread template or something. I logged into your site admincp and deleted stuff from the newthread template, yet it was still showing, when i'd add text, it wouldn't show. I'm not sure why, however, something is wrong with that template.

I just deleted the whole prefix and title fields in your newthread template and they are still showing. Something really isn't right with that Bashy. I suggest looking into it if possible.

bashy
02-25-2006, 09:55 PM
Oh...thats a shame i really liked this as well, just my luck....
I dont have any issues with posting normally :(

Developer
02-25-2006, 10:00 PM
i like this hack so much
**I DON'T FORGET InSTaLL**

Gio~Logist
02-25-2006, 10:11 PM
Oh...thats a shame i really liked this as well, just my luck....
I dont have any issues with posting normally :(

You won't as it doesn't effect that. I will try looking into your site problem when i get a chance. Promise :p

It doesn't make sense though really. I deleted things and they were still showing. It's like eating a cake and the cake still being there.

Edit: Your problem has been fixed.
http://www.bashys-place.com/forums/newthread.php?do=newthread&f=19

Must have been a hack that you had interfering with it. I will update the first post with a fix on this incase someone else has the same problem with a hack interfering.

Atakan KOC
02-25-2006, 10:36 PM
Very Nice :)

GamerJunk.net
02-25-2006, 11:00 PM
Is it capable of having a dropdown box that you can set multiple things....such as one for selling things like your example, and then have one for game matches, then another for etc

And you can choose which one you want and then it will change to display the options for that threadfield?

Gio~Logist
02-25-2006, 11:03 PM
Is it capable of having a dropdown box that you can set multiple things....such as one for selling things like your example, and then have one for game matches, then another for etc

And you can choose which one you want and then it will change to display the options for that threadfield?

Yes :p. Don't forget that install button by the way!

Gio~Logist
02-25-2006, 11:04 PM
i like this hack so much
**I DON'T FORGET InSTaLL**

:p Just the way i like it!

GamerJunk.net
02-25-2006, 11:27 PM
Haven't installed yet...but I will after I fix a problem with my forumhome.

Gio~Logist
02-25-2006, 11:29 PM
Haven't installed yet...but I will after I fix a problem with my forumhome.

:p Goodluck.

Reeve of shinra
02-25-2006, 11:49 PM
This looks great and may actually work as that classified system I needed!

Gio~Logist
02-25-2006, 11:55 PM
:p I was actually thinking of creating a classifieds system.

Renada
02-25-2006, 11:59 PM
Hi,

Is there a way this could be used to address a message to a specific user - if so how would I go about this?

Thanks,
Renada

Gio~Logist
02-26-2006, 12:01 AM
Hi,

Is there a way this could be used to address a message to a specific user - if so how would I go about this?

Thanks,
Renada

I'm not sure exactly what you mean and how that differs from just a regular PM. Please feel free to PM me with a more descriptive message regarding your request.

Reeve of shinra
02-26-2006, 12:02 AM
:p I was actually thinking of creating a classifieds system.

Alot of people are dying for a classified system and I think I will have need of a real one for a future project. Free or commerical, I think it would go over well with alot of folks.

Gio~Logist
02-26-2006, 12:04 AM
Alot of people are dying for a classified system and I think I will have need of a real one for a future project. Free or commerical, I think it would go over well with alot of folks.

I may release it as free. Not sure yet.

GamerJunk.net
02-26-2006, 12:04 AM
Don't have the extra options in my admincp....only the option to turn teh thing off in my vbulletin options...it doesn't show where I can add the extra fields.

Gio~Logist
02-26-2006, 12:12 AM
Don't have the extra options in my admincp....only the option to turn teh thing off in my vbulletin options...it doesn't show where I can add the extra fields.

Make sure you upload all the necessary files in the right places.

GamerJunk.net
02-26-2006, 12:33 AM
Yea thanks, didn't see that upload folder :)

Gio~Logist
02-26-2006, 01:27 AM
Yea thanks, didn't see that upload folder :)

Glad you got it to work :p

hiiped
02-26-2006, 02:06 AM
great concept

thanks

< installs >

Gio~Logist
02-26-2006, 02:07 AM
great concept

thanks

< installs >

:p Don' forget to click it though :p

naqalone
02-26-2006, 03:02 AM
How can I include the values of RadioButton to the content of thread ?

Gio~Logist
02-26-2006, 03:34 AM
How can I include the values of RadioButton to the content of thread ?

You insert different options for the radios, then they select the one they want, and it will appear as so :p

adalren
02-26-2006, 04:09 AM
Is there a way to search & sort these new fields?

Gio~Logist
02-26-2006, 04:50 AM
Is there a way to search & sort these new fields?

Via search.php? I will try and include that in the next major release. Right now, they are not detected in search.php.

RMS-Chef
02-26-2006, 05:59 AM
This looks great.
I may have a few uses.

Thank you.

uae
02-26-2006, 06:55 AM
Would be cool to have the fields for new posts as well, not just new threads :)

Thanks a lot
Installed here

bashy
02-26-2006, 07:58 AM
Sorry m8, me went bed i was shattered :( only just got up now pmsl....

Thanks you very much for resolving this, what was it?

You won't as it doesn't effect that. I will try looking into your site problem when i get a chance. Promise :p

It doesn't make sense though really. I deleted things and they were still showing. It's like eating a cake and the cake still being there.

Edit: Your problem has been fixed.
http://www.bashys-place.com/forums/newthread.php?do=newthread&f=19

Must have been a hack that you had interfering with it. I will update the first post with a fix on this incase someone else has the same problem with a hack interfering.

DrewM
02-26-2006, 09:46 AM
this looks asmome :intalls:

adalren
02-26-2006, 10:10 AM
Via search.php? I will try and include that in the next major release. Right now, they are not detected in search.php.

Waiting anxiously for search/sort/filter. It would be nice if it can be done in forumdisplay.php and search.php. :)

michaelbenson
02-26-2006, 11:01 AM
This looks perfect, and will work great under any forum and circumstances.
/me installs gleefully.

klaush
02-26-2006, 12:02 PM
Just installed - 3.5.3 - and works fine! Thanks!

Gio~Logist
02-26-2006, 01:46 PM
Waiting anxiously for search/sort/filter. It would be nice if it can be done in forumdisplay.php and search.php. :)

It is already in forumdisplay. Take a look at screenshots :p

Lineman28645
02-26-2006, 01:51 PM
is it possible to make it for only certain forums?

Gio~Logist
02-26-2006, 01:53 PM
is it possible to make it for only certain forums?

Yes :p Also, for future referance, keep in mind that support will only be given to those who click install.

DrewM
02-26-2006, 02:13 PM
Can u make it so you can edit the feild?

Gio~Logist
02-26-2006, 02:16 PM
Can u make it so you can edit the feild?

You can :p

michaelbenson
02-26-2006, 02:25 PM
What about the ability to edit threads which where created before the implemention of the hack, but are residing in a particular forum which has got Extra Threadfields, and then add in the relevant information to those threads from there?

Gio~Logist
02-26-2006, 02:27 PM
What about the ability to edit threads which where created before the implemention of the hack, but are residing in a particular forum which has got Extra Threadfields, and then add in the relevant information to those threads from there?

It's already possible as well :p

DrewM
02-26-2006, 02:32 PM
It's already possible as well :p
This is not possible for me.

Gio~Logist
02-26-2006, 02:32 PM
This is not possible for me.

May you please link me to your website along with a test account?

michaelbenson
02-26-2006, 02:37 PM
This is not possible for me.
Same here, i have tried to edit a thread within a forum alreayd containing Extra Threadfields, using both the Quick Edit and Advanced Edit templates and in both cases they are not displayed.

Gio~Logist
02-26-2006, 02:38 PM
Ah. You have to go to "Edit Thread".

If you've ever noticed, you can't even edit a thread title by using quick edit or advanced edit. That will just edit the title of the post. To edit the title of the thread, and extra fields, you have to click "Edit Thread" from the tools drop down.

uae
02-26-2006, 05:23 PM
Would be cool to have the fields for new replies as well, not just new threads :)

Thanks a lot
Installed here
And also, an error message if you didn't select an option from any field.
So we can set some fields to be a must selected fields, just like title.

Thanks again

DrewM
02-26-2006, 06:21 PM
Ah. You have to go to "Edit Thread".

If you've ever noticed, you can't even edit a thread title by using quick edit or advanced edit. That will just edit the title of the post. To edit the title of the thread, and extra fields, you have to click "Edit Thread" from the tools drop down.
Thanks but in your next realese you may want to include edit post.

Gio~Logist
02-26-2006, 06:30 PM
Thanks but in your next realese you may want to include edit post.

It can't be done, the same way you can't edit the name of your thread in a title in edit post.

bashy
02-26-2006, 06:38 PM
You can if your admin ;) lol
Tis a shame users cant edit the title of the threads in general though
I aint sure why its an admin only feature

Gio~Logist
02-26-2006, 10:23 PM
You can if your admin ;) lol
Tis a shame users cant edit the title of the threads in general though
I aint sure why its an admin only feature

That's vbulletin itself however, that's not the hack ;]

lazyseller
02-27-2006, 02:11 AM
Thanks very cool hack but for some reason its conflicting with calories find existing topics hack ...

Any ideas ?

https://vborg.vbsupport.ru/showthread.php?t=106529

Gio~Logist
02-27-2006, 02:39 AM
Thanks very cool hack but for some reason its conflicting with calories find existing topics hack ...

Any ideas ?

https://vborg.vbsupport.ru/showthread.php?t=106529

What exactly do you mean by "it's conflicting". Also, keep in mind that support will only be given to those who click install :)

bada_bing
02-27-2006, 03:47 AM
Wow I really like this but before I install I need to make sure or check if this feature exists.

I want these extra fields to only be available when starting a thread in a certain forums. For example I only want these fields to be available in my Selling Forums and no other forums. I also would like an option to force the member to fill in that field like the cost field since my selling forum rules are you must post a selling price and by doing it this way they are forced to fill in the cost field

bada_bing
02-27-2006, 03:52 AM
Opps just read that you can specify which forums the fields will show up in but can you force the member to fill on the field you want filled out.

Example is I create a new filed and I can choose to force user to fill on filed (YES,NO)

Smiry Kin's
02-27-2006, 04:46 AM
very nice, usfull for so many things..

took less then 2minutes to install, and worked perfectly....

/me installs

lazytown
02-27-2006, 08:34 AM
GREAT GREAT GREAT

Haven't installed yet but will likely if this problem can be solved:
Question: Would it be possible to have these new fields editable by members even if the thread itself isn't editable?
My problem: Vbulletin lets you specify how long a thread/post can be edited, but it only does it on a global basis (not per forum). This causes real problems with for sale/wanted or other types of forums. So if these new fields could be edited even when the thread isn't editable, that could fix the problem. Or perhaps the fields can have an edit time-limit switch or setting themselves (just as threads/posts do).

thank you
-vissa

Smiry Kin's
02-27-2006, 09:55 AM
GREAT GREAT GREAT

Haven't installed yet but will likely if this problem can be solved:
Question: Would it be possible to have these new fields editable by members even if the thread itself isn't editable?
My problem: Vbulletin lets you specify how long a thread/post can be edited, but it only does it on a global basis (not per forum). This causes real problems with for sale/wanted or other types of forums. So if these new fields could be edited even when the thread isn't editable, that could fix the problem. Or perhaps the fields can have an edit time-limit switch or setting themselves (just as threads/posts do).

thank you
-vissa

maybe just add the parshe to thread edit?..

nhacso
02-27-2006, 11:19 AM
gio~logist, you can add option for choose color of the text in "Extra Fields"? (Admin can add color text by BBcode, Ex: <font color=" red " >Text</font>. I think if not chose color, the text of Extra Fields look very boring.

- Besides, you can develope Extra Fields can add images (Field add URL small icons who Thread Starter want add it to the thread). I think, in very case and issue if small image will make the thread have extra filed look very good and beauty.

lazyseller
02-27-2006, 12:18 PM
What exactly do you mean by "it's conflicting". Also, keep in mind that support will only be given to those who click install :)

Currently i havent installed it yet. When i try to post a new thread my threadfields dont show up. If i disable the find topic hack that i linked to in my previous post than my extra threadfields show up.

Trana
02-27-2006, 02:28 PM
This hack looks great, sort of an interim classifieds system until someone comes out with something robust.

One question though. Has anyone implemented this on a system that currently uses VBA CMPS? I was wondering if the threadlist (with the info from the fields/checkboxes) will automatically show up on the latesttopics module. If so, I will definately have to install this!

Thanks.

stamos2003
02-27-2006, 02:58 PM
nice one, good work!

how can I sort in the forum display the fields so, that they are on one line displayed at not every field on it's single line?

what about adding a thumbnail before the extra fields in the forum display? ;)

devguru
02-27-2006, 03:14 PM
it's long time waiting and expecting feature , I love this so much.

Gio~Logist
02-27-2006, 03:17 PM
Wow I really like this but before I install I need to make sure or check if this feature exists.

I want these extra fields to only be available when starting a thread in a certain forums. For example I only want these fields to be available in my Selling Forums and no other forums. I also would like an option to force the member to fill in that field like the cost field since my selling forum rules are you must post a selling price and by doing it this way they are forced to fill in the cost field

As far as an option to be forced to fill in the field, it is not an option yet, however, only allowing it in certain forums is already a feature :p

Gio~Logist
02-27-2006, 03:17 PM
it's long time waiting and expecting feature , I love this so much.

You can show it by clicking install :p

Glad you like it!

Gio~Logist
02-27-2006, 03:18 PM
Currently i havent installed it yet. When i try to post a new thread my threadfields dont show up. If i disable the find topic hack that i linked to in my previous post than my extra threadfields show up.

Hm. I will need to take a look at that, not sure why that happens. Feel free to PM me a link to your site along with admincp login details.

Gio~Logist
02-27-2006, 03:20 PM
This hack looks great, sort of an interim classifieds system until someone comes out with something robust.

One question though. Has anyone implemented this on a system that currently uses VBA CMPS? I was wondering if the threadlist (with the info from the fields/checkboxes) will automatically show up on the latesttopics module. If so, I will definately have to install this!

Thanks.

PM me about this and i will look into this for you.

Gio~Logist
02-27-2006, 03:22 PM
nice one, good work!

how can I sort in the forum display the fields so, that they are on one line displayed at not every field on it's single line?

what about adding a thumbnail before the extra fields in the forum display? ;)

You can do that by taking out the <tr> in the newthread_extra_fields template. However, it will more than likely mess up the whole structure of your layout.

As far as adding a thumbnail before the extra fields, what exactly would you like it to be and what would the purpose be?

stamos2003
02-27-2006, 03:49 PM
that didn't work for me but i guess i will play a bit around with the template.

purpose of the thumb? well, maybe for CD-reviews, you can but a thumbnail before the fields and afterwards the fields with ratings, genre etc.

or reviews/introductions of locations like bars, restaurants, citys etc. always with the specific picture/photo in front of :)

Gio~Logist
02-27-2006, 03:51 PM
that didn't work for me but i guess i will play a bit around with the template.

purpose of the thumb? well, maybe for CD-reviews, you can but a thumbnail before the fields and afterwards the fields with ratings, genre etc.

or reviews/introductions of locations like bars, restaurants, citys etc. always with the specific picture/photo in front of :)

Ah i see. Well that's not a feature at the moment. However, i'll see what i can do.

Bad Bunny
02-27-2006, 07:10 PM
This looks awesome. I am currently thinking of ways it can be used before I start testing it out.
Thanks for the hard work.

Gio~Logist
02-27-2006, 07:11 PM
This looks awesome. I am currently thinking of ways it can be used before I start testing it out.
Thanks for the hard work.

Anytime :p You can repay me by just clicking install heh.

Renada
02-27-2006, 09:37 PM
* Renada installs :)

Gio~Logist
02-27-2006, 09:58 PM
* Renada installs :)

But Renada forgot to click install hah :p

VBUsers
02-27-2006, 10:18 PM
great hack and installed. working great so far!

Gio~Logist
02-27-2006, 10:24 PM
great hack and installed. working great so far!

:p Glad it's working for you!

DrewM
02-27-2006, 10:35 PM
something you may want to include in the next realease add is the field required.

Gio~Logist
02-27-2006, 10:40 PM
something you may want to include in the next realease add is the field required.

Yes i've already made that a planned feature :p Let me include it in thread so that i do not forget.

Bad Bunny
02-28-2006, 01:24 AM
I have clicked install so I can stay updated, though I have not yet expirimented with it.

Gio~Logist
02-28-2006, 01:26 AM
I have clicked install so I can stay updated, though I have not yet expirimented with it.

That is why i ask people to click it :p This way they can stay updated and do not come posting "I didn't know this version is out" or something of that nature.

devguru
02-28-2006, 01:27 AM
I have looked around and tested this plugin, it's really great!

something Features I wish to include :

1) Just like vbulletin's User Profile Fields, require the input field to match a regular expression.
2) Is it possible for more field type? for example: date/time, images ?
3) Sort these new fields in the forumdisplay.
4) Is it possible for having a new table for these new fields?

Thank you great job again!

Gio~Logist
02-28-2006, 02:26 AM
I have looked around and tested this plugin, it's really great!

something Features I wish to include :

1) Just like vbulletin's User Profile Fields, require the input field to match a regular expression.
2) Is it possible for more field type? for example: date/time, images ?
3) Sort these new fields in the forumdisplay.
4) Is it possible for having a new table for these new fields?

Thank you great job again!

1) Already added to planned featutes :p
2) What exactly do you mean by date/time?
3) 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.
4) Do you mean in forumdisplay?

Lea Verou
02-28-2006, 08:49 AM
Darn! I wish this hack was out when I installed the forms' hack! :(

Gio~Logist
02-28-2006, 09:11 AM
Darn! I wish this hack was out when I installed the forms' hack! :(

It's not to late to give it a shot :p

Lea Verou
02-28-2006, 09:23 AM
Nah... I've put too much work on those forms to change them :/

Gio~Logist
02-28-2006, 06:49 PM
Nah... I've put too much work on those forms to change them :/

Indeed :p.

VBUsers
02-28-2006, 08:30 PM
ok i thought it was working fine but i found an issue.

in my usercp i get this above. i know its this hack cause i uninstalled it and it went away. im trying to really keep it cause im using it for my classified section and will fit perfect. please let me know what i can do to fix this.

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Gio~Logist
02-28-2006, 08:52 PM
ok i thought it was working fine but i found an issue.

in my usercp i get this above. i know its this hack cause i uninstalled it and it went away. im trying to really keep it cause im using it for my classified section and will fit perfect. please let me know what i can do to fix this.


Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

Warning: Invalid argument supplied for foreach() in /usercp.php(441) : eval()'d code on line 28

I don't see how this is possible considering this hack does not touch usercp :(

I also checked my forums and others and the problem does not appear. Perhaps you did something wrong in the install? Try giving it another try.

VBUsers
02-28-2006, 09:04 PM
I don't see how this is possible considering this hack does not touch usercp :(

I also checked my forums and others and the problem does not appear. Perhaps you did something wrong in the install? Try giving it another try.

ok i will renstall

VBUsers
02-28-2006, 09:18 PM
I don't see how this is possible considering this hack does not touch usercp :(

I also checked my forums and others and the problem does not appear. Perhaps you did something wrong in the install? Try giving it another try.


ok i have installed again but still the same issue. theres nothing that touches the template or any other hack that the plug in might change?

Gio~Logist
02-28-2006, 10:07 PM
ok i have installed again but still the same issue. theres nothing that touches the template or any other hack that the plug in might change?

May i ask what hacks you have installed at the moment?

Smiry Kin's
02-28-2006, 10:16 PM
was thinking to my self, how else could this be improved..? only thing i could think off, is make an option, for something to be required etc..?

VBUsers
02-28-2006, 10:17 PM
May i ask what hacks you have installed at the moment?


its a huge list so i can only imagine what it is. but heres what i have. this is just things that are plug ins. ive done more


Installed Products
Title Version Description Controls
vBulletin 3.5.3
Access Permissions Based on User's Post Count 2.1 Access Permissions Based on User's Post Count Edit Disable Export Uninstall

Activity Modification 2.51 Tracks user activity Edit Disable Export Uninstall
Article Bot 2.57 Parse RSS Feed data and insert it as threads in your forum. Edit Disable Export Uninstall

Automatic Welcome PM 1.0.4 This Hack will automatically send welcome PMs to new members. Edit Disable Export Uninstall

Collapsable Postbit 1.0.0 Collapsable postbits. Edit Disable Export Uninstall
Display Unread Posts 1.01 Display the number of posts you have marked as unread. Edit Disable Export Uninstall

e-steki Banlist 1.0 Shows a detailed list of the banned users Edit Disable Export Uninstall

e-steki Referrer Statistics 1.0 Referrer Statistics Edit Disable Export Uninstall

eBay Integration Mod 1.0.0 Adds eBay auctions for members Edit Disable Export Uninstall

eBux / eStore 1.2.3 eBux / eStore is a points/store system for vBulletin. Edit Disable Export Uninstall

Extra Thread Fields 1.0.0 Add extra thread fields to your threads. Edit Disable Export Uninstall

First Post On All Pages 1.0.0 1.0.0 This will allow you to show the first post on every page of a thread. Edit Disable Export Uninstall
Gallery for vB 3.5.1 1.0.5 A gallery-system integrated in the forum Edit Disable Export Uninstall

GARS LITE 1.0 Geek Article and Review System LITE Edit Disable Export Uninstall

Geek Auto-Link 4.5.0 vBulletin keyword automatic linker Edit Disable Export Uninstall

Global Announcement 1.2 Displays an announcement of choice on the index page of your forum. Edit Disable Export Uninstall

Google Talk/Xfire/Skype IM Icons 1.0 Adds the IM icons. Edit Disable Export Uninstall

Heggy's Error 404 Banning 1.0.0 This add-on gives users in a specified group nothing but 404 errors. Edit Disable Export Uninstall

ibProArcade for vBulletin 2.5.3 ibProArcade-Modification Edit Disable Export Uninstall

IM Online Status 1.0.0 Shows a users IM online status. Edit Disable Export Uninstall

Inferno Warning System 1.2 A warning system for vBulletin. Edit Disable Export Uninstall

ipInfo 1.2 ipInfo is a replacement standard view users Post ip Edit Disable Export Uninstall

iTrader 2.0.0 Trader Feedback System Edit Disable Export Uninstall

iTrader Extension 1.0.0 Expand iTrader's abilities and include a homepage, a search option, ability to look for customers, and more! Edit Disable Export Uninstall

Last XX Paid Subscribers 0.7 Displays a list of the last 5 paid subscribers Edit Disable Export Uninstall

Live Feedback System 1.21 Live feedback to registrants while they, type out a possible username using AJAX, passwords,e-mail, and referrer fields using javascript and AJAX. Edit Disable Export Uninstall


Members who have read a thread 2.21 Display members who have recently read a thread. Edit Disable Export Uninstall

Members who have visited in the Last 24 Hrs. 4.10 Display members who have visited the forum. Edit Disable Export Uninstall

Miserable Users 2.01 A way to really annoy anyone you don't want visiting your forum. Edit Disable Export Uninstall

Moderator Stats 1.0 Creates a link misc.php?do=moderator_stats where you can view stats on your moderators. Edit Disable Export Uninstall

Multiple Login Detector 1.01 Cookie-based multiple account login detector Edit Disable Export Uninstall

Notify user about thread move 1 This product sends out a PM to the thread author telling him one of his threads has been moved. Edit Disable Export Uninstall

pig's post report system 0.1 Post reports manageable from modcp Edit Disable Export Uninstall

Post Thank You Hack 2.7 Post Thank You Hack Edit Disable Export Uninstall
Quick User Editor 1.01 An Inline User Editor Edit Disable Export Uninstall
Real ip detection 2.12 Makes your forum aways use the real ip when a proxy server is detected, the proxy ip is recorded in an extra field but then ignored. Edit Disable Export Uninstall

Right Column 1.0 Put a column on the right side of every page Edit Disable Export Uninstall

Show Itrader In Profile 1.00 This product allows you to show a user's itrader info in his/her profile. Edit Disable Export Uninstall

Spam Decimator 1.0.1 Spam Killing Extension Edit Disable Export Uninstall
Sticky Titles in Bold 1.0 Makes sticky threads show up as bold in thread list Edit Disable Export Uninstall

Super Private Message 1.0.2 BETA Allow specific users to send a super private message. Edit Disable Export Uninstall

Top 'X' Stats by InfiniteWebby 1.2.1 Display top 'X' posters, new members and latest replies on the forumhome. Edit Disable Export Uninstall
vB Affiliates Hack v2.5 2.5.0 This product adds affiliate hack to your forum. Edit Disable Export Uninstall


VB image hosting 1.0.1 Image hosting sloution for VB Edit Disable Export Uninstall

vB Pager 3.0.3 vB Pager is a text-based instant messaging system over your community between members. Edit Disable Export Uninstall

vB Quick Sig Host Vb Quick Sig Host 1.0.0 Allow your members to instantly upload there signatures on to Image Shack! Edit Disable Export Uninstall
vBFavorites 1.0.0 Lets you add threads, posts and users to favorites. Edit Disable Export Uninstall

vBHack DB System 1.0 Hack Database System & Portal CMS - by tnguy3n ? 2005-2006 vBviet Network. Edit Disable Export Uninstall

vBookie 1.0.6 vBulletin Betting Hack Edit Disable Export Uninstall

vBRules 1.0.0 Rules Page for your vBulletin Board Edit Disable Export Uninstall

vBShout 2.0 AJAX Shoutbox for vBulletin Edit Disable Export Uninstall

vBulletin SkypeWeb Update 1.0 This will update vBulletin 3.5.3 to include SkypeWeb functionality.

It is not necessary to install this if you are using vBulletin 3.5.4 or later.

This update should be uninstalled when you next upgrade vBulletin. Edit Disable Export Uninstall
WAP 1.0 WAP support for vBulletin Edit Disable Export Uninstall

[Add/Import Product]

vBulletin v3.5.3, Copyright ?2000-2006, Jelsoft Enterprises Ltd.

Gio~Logist
02-28-2006, 10:20 PM
was thinking to my self, how else could this be improved..? only thing i could think off, is make an option, for something to be required etc..?

Yes. That's the only thing i have planned so far. If:

1) More good requests come along
2) More installs are made for this hack (useless to make a second version of a hack that is not used much(

Then i will release the next version with that and whatever other nice features are suggested.

Trana
02-28-2006, 10:21 PM
This looks like a really cool hack. I am still wondering if anyone has tried it with the CMPS latestposts module.

Gio~Logist
02-28-2006, 10:24 PM
This looks like a really cool hack. I am still wondering if anyone has tried it with the CMPS latestposts module.

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

Smiry Kin's
02-28-2006, 10:29 PM
Yes. That's the only thing i have planned so far. If:

1) More good requests come along
2) More installs are made for this hack (useless to make a second version of a hack that is not used much(

Then i will release the next version with that and whatever other nice features are suggested.

cool dude, can't wait :)

Gio~Logist
03-01-2006, 09:34 PM
cool dude, can't wait :)

Hopefully you won't have to wait to long :p

VBUsers
03-01-2006, 09:46 PM
hey gio any luck on my issue? hope you can find it.

Gio~Logist
03-01-2006, 10:35 PM
hey gio any luck on my issue? hope you can find it.

May i suggest using trial and error and disabling hacks (other than mines), until you see the error go away? Then let me know which hack it is that interferes.

VBUsers
03-01-2006, 11:00 PM
May i suggest using trial and error and disabling hacks (other than mines), until you see the error go away? Then let me know which hack it is that interferes.


ok ill get on this thanks

Gio~Logist
03-02-2006, 12:37 AM
ok ill get on this thanks

Sure thing. If you'd like, PM me the resulsts, this way we do not flood the thread with this.

photoboy
03-02-2006, 08:15 AM
I can't manage to display extra fields in the forums display of threads (as opposed to the display of posts in a single thread)

I attached your screenshot showing the extra fields, and a screenshot of my own, showing that I was able to insert a bit of text into the thread summary, but the $extrafields variable isn't doing anything


<if condition="$show['gotonewpost']">
<strong><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a></strong>


$extrafields
<br>
Hello


<else />
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a>



$extrafields
<br>
Hello

</if>

Thanks for any help you can offer!

bada_bing
03-02-2006, 12:51 PM
Wow I really like this but before I install I need to make sure or check if this feature exists.

I want these extra fields to only be available when starting a thread in a certain forums. For example I only want these fields to be available in my Selling Forums and no other forums. I also would like an option to force the member to fill in that field like the cost field since my selling forum rules are you must post a selling price and by doing it this way they are forced to fill in the cost field


Anyone answer this

VBUsers
03-02-2006, 06:38 PM
Sure thing. If you'd like, PM me the resulsts, this way we do not flood the thread with this.


i have uninstalled every single hack and not 1 take the error away. so unfortunatly i have to take it down sorry and thanks for trying. i really like this hack.

AlchemyX
03-05-2006, 06:30 AM
Great Hack. I love it :-) Perfect for my Game development site.

but... i know it is somehow possible to allow members to edit their own fields, because vb.org lets you do it for mods... if this could also be figured out, I would greatly appreciate it. :-)

dakuda
03-05-2006, 03:25 PM
I tried to install this, but now get this errror:
Database error in vBulletin 3.5.2:

Invalid SQL:

CREATE TABLE `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 near ';
' at line 12
Error Number : 1064
Date : Wednesday, March 1st 2006 @ 11:54:27 PM
Script : http://www.dakuda.com/forums/admincp/plugin.php
Referrer : http://www.dakuda.com/forums/admincp/plugin.php?do=productadd
IP Address : 68.74.191.248
Username : dakuda
Classname : vb_database
when I try to install new plugins. vb.com said that the table belongs to your plugin. Any ideas on how I can get past this? I cuurently have no other plugins or products installed.

Dennis B
03-06-2006, 12:01 AM
gio, as soon as the "make field required" option is available, I'll click 'install'. :)

photoboy
03-06-2006, 06:37 PM
would it be possible to pass the information gathered by extra fields to the message itself so it could be searchable?

sportstar
03-07-2006, 09:11 AM
this is a stupid question but how do i import the product?
i have tried Plugin System >> Manage Products >> Add/Import Product but I get a MySQL error. I am using 3.5.3 is this the reason?

RyanC
03-07-2006, 06:07 PM
I am thinking about installing this hack, but had a question:

In your screen shots and on the thread view page, you show the extra fields in the "header" of the message. Is there anyway to put this stuff in the content area of the message?

photoboy
03-08-2006, 06:09 AM
RyanC is basically asking the same thing as me, although I don't know whether it's for the same reasons.... it would be amazing to have the extra fields data show up in the content area and thus be searchable.....gio come back!

photoboy
03-08-2006, 06:18 AM
how about this one: would/could/should it be possible to have the extra form fields on a reply as well a new post?

By the way, I have this plugin installed (thank you) and it's so clearly something which vBulletin should have as a default feature.

sportstar
03-08-2006, 11:54 AM
ok i have upgraded to 3.5.4 but i still get this error when trying to import the product:
Database error in vBulletin 3.5.4:

Invalid SQL:

CREATE TABLE `vbthread_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 near ';
' at line 12
Error Number : 1064
Date : Wednesday, March 8th 2006 @ 05:52:26 AM
Script : http://www.111111.net/forums/admincp/plugin.php
Referrer : http://www.111111.net/forums/admincp/plugin.php?do=productadd
IP Address : 198.54.202.194
Username : Admin
Classname : vb_database
i cant understand what I am doing wrong and I get this error...any suggestions?

DarkWarriorXII
03-08-2006, 07:38 PM
I have this installed on my forum. I installed it with the purpose of having users check a box before posting a thread in our articles forum agreeing that they wrote the article. At first I added it as a checkbox, but when I did a few test posts, I would go to edit the thread (and the post), and it would be unchecked on both. So I added the same thing as a radio button. Again, when I went to edit the thread it wouldn't be selected, even if I selected it when I submitted the post. What's wrong here?

Screenshots

Posting a new thread: http://i2.tinypic.com/qzoncw.gif
Editing a thread: http://i2.tinypic.com/qzonlj.gif

Any advice?

dsotmoon
03-08-2006, 09:25 PM
RyanC is basically asking the same thing as me, although I don't know whether it's for the same reasons.... it would be amazing to have the extra fields data show up in the content area and thus be searchable.....gio come back!

this would be great, I could eliminate 2 hacks with just this one if it worked this way, I currently have thread prfix hack and prepopulated text hack working kind of lack that

on that note, does anyone know if this would/could interfere with the Thread Prefixes (https://vborg.vbsupport.ru/showthread.php?t=99925) hack

Gio~Logist
03-09-2006, 12:36 AM
gio, as soon as the "make field required" option is available, I'll click 'install'. :)
That is coming shortly. I have just been a bit busy lately.

Gio~Logist
03-09-2006, 12:36 AM
ok i have upgraded to 3.5.4 but i still get this error when trying to import the product:
Database error in vBulletin 3.5.4:

Invalid SQL:

CREATE TABLE `vbthread_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 near ';
' at line 12
Error Number : 1064
Date : Wednesday, March 8th 2006 @ 05:52:26 AM
Script : http://www.111111.net/forums/admincp/plugin.php
Referrer : http://www.111111.net/forums/admincp/plugin.php?do=productadd
IP Address : 198.54.202.194
Username : Admin
Classname : vb_database
i cant understand what I am doing wrong and I get this error...any suggestions?

What version of mysql are you running?

Gio~Logist
03-09-2006, 12:37 AM
I am thinking about installing this hack, but had a question:

In your screen shots and on the thread view page, you show the extra fields in the "header" of the message. Is there anyway to put this stuff in the content area of the message?

Read the first post for more info.

sportstar
03-09-2006, 06:27 AM
What version of mysql are you running?
MySQL 3.23.58 i think :surprised:

Jonathan22
03-10-2006, 08:23 AM
Is it possible to apply these 'Extra Threadfields' to just a specific forum or will it be used by all forums on my board?

Dennis B
03-10-2006, 09:37 AM
That is coming shortly. I have just been a bit busy lately.Thanks man, can't wait. While the forms hack is great stuff, this is much better for my purposes. :)

libertate
03-10-2006, 01:44 PM
This is perfect! I have been looking for a classified system for vB, and this is it!

Keep developing it!

Can you get it so there is no direct modifications required? (Step 3. Do the edits located below)

Gio~Logist
03-10-2006, 07:36 PM
This is perfect! I have been looking for a classified system for vB, and this is it!

Keep developing it!

Can you get it so there is no direct modifications required? (Step 3. Do the edits located below)


I was thinking about that, however, the areas in which this touches is a bit sensitive and doing it so that it automatically makes those edits may be difficult for those that have custom styles.

Dennis B
03-10-2006, 07:45 PM
IMHO the "all-automatic" path is problematic b/c most of us here have quite a few - if not a lot - changes to their styles, so I vote to keep it separate. :D

Gio~Logist
03-10-2006, 07:48 PM
IMHO the "all-automatic" path is problematic b/c most of us here have quite a few - if not a lot - changes to their styles, so I vote to keep it separate. :D

Exactly :p

silurius
03-11-2006, 04:23 AM
Excellent hack. I've been waiting for this kind of functionality for ages, and it came in just in time!

One suggestion to help new installers: Either include the full instructions in the first/second post, or take the instructions out and refer installers to your download. I was scratching my head for a bit before I realized that the readme contained the template edits, which wasn't very clear in the first post.

Again, thank you, thank you for this one!

silurius
03-11-2006, 04:33 AM
Found a conflict with First post on every page of thread hack. With this hack running and with the "Show First Post" option turned on, the first post actually disappears. Turning the "Show First Post" setting off for the forum allows the post to re-appear.

sportstar
03-11-2006, 11:58 AM
gio~logist can you give me any suggestions why this won't work with my mysql version?

cruelio
03-11-2006, 01:32 PM
it has an extra ; at the end of the install SQL

Gio~Logist
03-11-2006, 02:56 PM
gio~logist can you give me any suggestions why this won't work with my mysql version?

Perhaps if you can PM me with details such as admincp and ftp access to your site i may be able to help further.

Gio~Logist
03-11-2006, 03:07 PM
Changelog:
3-11-06
* Make certain fields required

ZIP UPDATED!!!
Enjoy.

dakuda
03-11-2006, 03:13 PM
I still get this error:
Database error in vBulletin 3.5.2:

Invalid SQL:

CREATE TABLE `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 near ';
' at line 12
Error Number : 1064
Date : Saturday, March 11th 2006 @ 11:43:02 AM
Script : http://www.dakuda.com/forums/admincp/plugin.php
Referrer : http://www.dakuda.com/forums/admincp/plugin.php?do=productadd
IP Address : 68.74.69.218
Username : dakuda
Classname : vb_database

Any ideas? NO other plugins or products are installed. I would love to use this on the large forum I admin, but I can't get it to work on there or on my barely used forum.

Kusadasi-Guy
03-11-2006, 03:16 PM
Great!!!!!!!!!!!!!

bashy
03-11-2006, 03:31 PM
Hi gio

I just got this error when trying to import the product for the update
Any ideas please?

Database error in vBulletin 3.5.3:

Invalid SQL:
ALTER TABLE threadfield_admin ADD COLUMN
`required` varchar(10) NOT NULL default 'no',;

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 '' at line 2
Error Number : 1064
Date : Saturday, March 11th 2006 @ 05:26:01 PM
Script : http://www.bashys-place.com/forums/admincp/plugin.php
Referrer : http://www.bashys-place.com/forums/admincp/plugin.php?do=productadd

Now this 1 lol

Database error in vBulletin 3.5.3:

Invalid SQL:

CREATE TABLE `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 : Table 'thread_fields_admin' already exists
Error Number : 1050
Date : Saturday, March 11th 2006 @ 05:33:02 PM
Script : http://www.bashys-place.com/forums/admincp/plugin.php
Referrer : http://www.bashys-place.com/forums/admincp/plugin.php?do=productadd

Gio~Logist
03-11-2006, 03:57 PM
I see the problem. Let me fix this.

bashy
03-11-2006, 03:59 PM
Ok m8 cheers :)

Gio~Logist
03-11-2006, 04:00 PM
Ok m8 cheers :)

Redownload it and try it now. Make sure you select "overwrite" when uploading xml.

bashy
03-11-2006, 04:08 PM
No go for launch im afraid :( got this error

Database error in vBulletin 3.5.3:

Invalid SQL:

CREATE TABLE `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 : Table 'thread_fields_admin' already exists
Error Number : 1050
Date : Saturday, March 11th 2006 @ 06:07:43 PM
Script : http://www.bashys-place.com/forums/admincp/plugin.php
Referrer : http://www.bashys-place.com/forums/admincp/plugin.php?do=productadd

dakuda
03-11-2006, 04:09 PM
Any clue on my error?

Gio~Logist
03-11-2006, 04:16 PM
No go for launch im afraid :( got this error

Database error in vBulletin 3.5.3:

Invalid SQL:

CREATE TABLE `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 : Table 'thread_fields_admin' already exists
Error Number : 1050
Date : Saturday, March 11th 2006 @ 06:07:43 PM
Script : http://www.bashys-place.com/forums/admincp/plugin.php
Referrer : http://www.bashys-place.com/forums/admincp/plugin.php?do=productadd

Hm. That's not a major problem, it's just the fact that it's trying to do a query from a previos version, which it shouldn't be trying to do since you already have that. For now, just upload all files and then manually run the query:

ALTER TABLE threadfield_admin ADD COLUMN
`required` varchar(10) NOT NULL default 'no';

Gio~Logist
03-11-2006, 04:17 PM
Any clue on my error?

What version of mysql are your running?

klaush
03-11-2006, 05:35 PM
Hm. That's not a major problem, it's just the fact that it's trying to do a query from a previos version, which it shouldn't be trying to do since you already have that. For now, just upload all files and then manually run the query:

ALTER TABLE threadfield_admin ADD COLUMN
`required` varchar(10) NOT NULL default 'no';

The problem is, you renamed the field in the sql database to threadfield_admin. So the installation prozess is unable to do the update and so it fails!

So what is the correct filed name that should be updated?

Gio~Logist
03-11-2006, 05:53 PM
The problem is, you renamed the field in the sql database to threadfield_admin. So the installation prozess is unable to do the update and so it fails!

So what is the correct filed name that should be updated?

Wow. Why would i do that? MAJOR typo. I will fix this now.

bashy
03-11-2006, 05:53 PM
Hi

I have run the query manually....

I do not have any
Extra Fields Options
I have the add field and extra fields manager but no options part
of it, any ideas....I am going to reupload the files again, this was
ok before the update!!

EDIT: reuploading has not resolved the missing options!!


Hm. That's not a major problem, it's just the fact that it's trying to do a query from a previos version, which it shouldn't be trying to do since you already have that. For now, just upload all files and then manually run the query:

ALTER TABLE threadfield_admin ADD COLUMN
`required` varchar(10) NOT NULL default 'no';

Gio~Logist
03-11-2006, 05:56 PM
Hi

I have run the query manually....

I do not have any
Extra Fields Options
I have the add field and extra fields manager but no options part
of it, any ideas....I am going to reupload the files again, this was
ok before the update!!

That's because you uninstalled the product apparently.

Also, the typo has been fixed.
ZIP UPDATED!

bashy
03-11-2006, 05:59 PM
I aint uninstalled anything m8 i can assure you of that...
All i did was upload the files and imported the porduct/overwrite enabled.

Will try ya new zip now and let you know

klaush
03-11-2006, 06:00 PM
That's because you uninstalled the product apparently.

Also, the typo has been fixed.
ZIP UPDATED!

That?s it! :-)

Thanks!

bashy
03-11-2006, 06:04 PM
Nope didnt work m8, still have DB error and no options
Like i say the add and manage are there just not the options!

dakuda
03-11-2006, 06:06 PM
What version of mysql are your running?

3.23.58

klaush
03-11-2006, 06:14 PM
Nope didnt work m8, still have DB error and no options
Like i say the add and manage are there just not the options!

You can use the "old" installation and just alter the field: thread_fields_admin

ALTER TABLE thread_fields_admin ADD COLUMN
`required` varchar(10) NOT NULL default 'no';

Be sure to add YOUR vb-prefix, may be vb3_ or something other....

Copy the new files into the required folders...

All done!

Gio~Logist
03-11-2006, 06:16 PM
Nope didnt work m8, still have DB error and no options
Like i say the add and manage are there just not the options!

Feel free to PM me with login details again. As the one you provided previously is no longer valid.

As for the mysql problem for users with 3.23 and below, i need someone with that problem to PM me ftp adn admincp access as well so that i can find a fix.

Gio~Logist
03-11-2006, 06:17 PM
You can use the "old" installation and just alter the field: thread_fields_admin

ALTER TABLE thread_fields_admin ADD COLUMN
`required` varchar(10) NOT NULL default 'no';

Be sure to add YOUR vb-prefix, may be vb3_ or something other....

Copy the new files into the required folders...

All done!

This is true.

bashy
03-11-2006, 06:27 PM
Try now m8, i change the password as quite a few coders on here
know it lol, its now back to the password you know :)
Thanks gio

Feel free to PM me with login details again. As the one you provided previously is no longer valid.

As for the mysql problem for users with 3.23 and below, i need someone with that problem to PM me ftp adn admincp access as well so that i can find a fix.

Gio~Logist
03-11-2006, 06:31 PM
Try now m8, i change the password as quite a few coders on here
know it lol, its now back to the password you know :)
Thanks gio

The problem was that you somehow uninstalled the product, yet left the tables for the product installed. Meaning that the hack was still installed in your database but not on your site. Anyways, all is fine now.

bashy
03-11-2006, 06:39 PM
I aint got a clue how it uninstalled m8....
All i did was import the product, thats how i install and update
all the hacks i have (and thats 1 or 2, ok lots then pmsl)

There is no way it could have uninstalled itself whilst importing is there?
I couldnt see it as thats never happened before....

This is strange i am the only admin so noone else could have done it either ..
I am totally baffled hence saying that i didnt uninstalled in my previous post.

The only thin i uninstalled today was one on developers hacks (top users stats)

Oh well, thanks for sorting it (nce again ;)) much appreciated!!

Cheers gio

klaush
03-11-2006, 06:54 PM
gio~logist, please do us/me one favour...:

The original poster of a thread fills out the required "extra" fields but canĀ“t change them after posting his thread?

So we use your mod in a selling area and the seller must fill in "price" and "condition". But he is not able to change the price after saving his thread in the forum.

Could we alter the script in this way?

Gio~Logist
03-11-2006, 07:02 PM
gio~logist, please do us/me one favour...:

The original poster of a thread fills out the required "extra" fields but can?t change them after posting his thread?

So we use your mod in a selling area and the seller must fill in "price" and "condition". But he is not able to change the price after saving his thread in the forum.

Could we alter the script in this way?

Make sure that he goes to "edit thread" and not "edit post".

Thread tools >> Edit thread.

Gio~Logist
03-11-2006, 07:03 PM
I aint got a clue how it uninstalled m8....
All i did was import the product, thats how i install and update
all the hacks i have (and thats 1 or 2, ok lots then pmsl)

There is no way it could have uninstalled itself whilst importing is there?
I couldnt see it as thats never happened before....

This is strange i am the only admin so noone else could have done it either ..
I am totally baffled hence saying that i didnt uninstalled in my previous post.

The only thin i uninstalled today was one on developers hacks (top users stats)

Oh well, thanks for sorting it (nce again ;)) much appreciated!!

Cheers gio

You are welcome :p

sportstar
03-11-2006, 09:06 PM
still the same database error with the 1.0.5 update
the whole db alter thing does not make any sense to me...could not locate threadfield_admin

Gio~Logist
03-11-2006, 09:49 PM
Changelog:
3-11-06
* Old versions of mysql now supported

ZIP UPDATED!!!

Dennis B
03-12-2006, 02:36 AM
ZIP UPDATED!!!Thanks Gio!! :up::up:

Gio~Logist
03-12-2006, 02:37 AM
Thanks Gio!! :up::up:

Anytime :p.

tamborinegal
03-12-2006, 04:47 AM
Thanks gio~logist, this is great. :)

Clancy

Gio~Logist
03-12-2006, 04:59 AM
Thanks gio~logist, this is great. :)

Clancy
:p You are extremely welcome

RyanC
03-12-2006, 02:17 PM
First, great hack... EXCELLENT WORK.

A question:
I would like the extra fields to show up under the title on forum display, but in the content body of the message in showthread. Is this possible? If so, how would I go about doing it?

Gio~Logist
03-12-2006, 02:23 PM
First, great hack... EXCELLENT WORK.

A question:
I would like the extra fields to show up under the title on forum display, but in the content body of the message in showthread. Is this possible? If so, how would I go about doing it?

Thank you.

Would you mind giving me an edited screenshot (using photoshop i suppose), that shows exactly what you want?

Elmer
03-12-2006, 02:24 PM
hey mate, i?m getting this error when I go to the usercp page.

Warning: Invalid argument supplied for foreach() in /usercp.php(443) : eval()'d code on line 3

Warning: Invalid argument supplied for foreach() in /usercp.php(443) : eval()'d code on line 3

Warning: Invalid argument supplied for foreach() in /usercp.php(443) : eval()'d code on line 3

Warning: Invalid argument supplied for foreach() in /usercp.php(443) : eval()'d code on line 3

Warning: Invalid argument supplied for foreach() in /usercp.php(443) : eval()'d code on line 3

Warning: Invalid argument supplied for foreach() in /usercp.php(443) : eval()'d code on line 3

Warning: Invalid argument supplied for foreach() in /usercp.php(443) : eval()'d code on line 3

Warning: Invalid argument supplied for foreach() in /usercp.php(443) : eval()'d code on line 3

Warning: Invalid argument supplied for foreach() in /usercp.php(443) : eval()'d code on line 3

Warning: Invalid argument supplied for foreach() in /usercp.php(443) : eval()'d code on line 3

Warning: Invalid argument supplied for foreach() in /usercp.php(443) : eval()'d code on line 3

Warning: Invalid argument supplied for foreach() in /usercp.php(443) : eval()'d code on line 3

Warning: Invalid argument supplied for foreach() in /usercp.php(443) : eval()'d code on line 3

I have installed the newest versi?n of this hack but keeps giving me that error..

Gio~Logist
03-12-2006, 02:27 PM
hey mate, i?m getting this error when I go to the usercp page.


I have installed the newest versi?n of this hack but keeps giving me that error..

Hm. I'm not sure how exactly it would do that since i have no plugins in usercp. I will take a look at this.

RyanC
03-12-2006, 02:33 PM
Sure. So an ad like this:

http://www.jalopyjournal.com/forum/showthread.php?t=97969

(see how it is screwing up the title line in my style?)

I'd like it to look like the attached! Thanks!

Gio~Logist
03-12-2006, 02:37 PM
Sure. So an ad like this:

http://www.jalopyjournal.com/forum/showthread.php?t=97969

(see how it is screwing up the title line in my style?)

I'd like it to look like the attached! Thanks!

Instead of

// ############# Do The Following In The postbit or postbit_legacy template ##############

Search for:
<if condition="$post['title']"><strong>$post[title]</strong></if>

Add below:
<if condition="$post[postcount] == '1' ">
<div align="right">$extrafields</div>
</if>


Do this

// ############# Do The Following In The postbit or postbit_legacy template ##############

Search for:
$post[message]

Add Above:
<if condition="$post[postcount] == '1' ">
<div align="right">$extrafields</div>
</if>


Then replace everything in showthread_extra_fields with this:
<div><b>$threadfield[title]:</b> $thread[fieldvalue]</div>

Elmer
03-12-2006, 02:42 PM
I had disabled it and the error stops, that's why I'm thinking that this plug-in is giving the error,
maybe it could be an interference from other produc, I'll be desabling all the othere just to make sure..

dakuda
03-12-2006, 02:42 PM
Changelog:
3-11-06
* Old versions of mysql now supported

ZIP UPDATED!!!

Excellent. Works great now. Thank you very much.

RyanC
03-12-2006, 02:47 PM
AWESOME. thanks man.

Gio~Logist
03-12-2006, 03:04 PM
I had disabled it and the error stops, that's why I'm thinking that this plug-in is giving the error,
maybe it could be an interference from other produc, I'll be desabling all the othere just to make sure..

The problem has been fixed
ZIP UPDATED

Gio~Logist
03-12-2006, 03:09 PM
**Attention**
This hack is now being released as a "Lite" version. All existing features are still there, do not worry. However, a premium version is comming soon and will have even more features. This hack will continue to be supported. The only difference is that a premium version is comming shortly with more features.

dakuda
03-12-2006, 06:30 PM
Is there a way to make the extra info in the threadbit display horizontally?

Gio~Logist
03-12-2006, 07:02 PM
Is there a way to make the extra info in the threadbit display horizontally?

Yes. Just take out the <div> code from showthread_extra_fields

dakuda
03-12-2006, 09:26 PM
Yes. Just take out the <div> code from showthread_extra_fields

Found it in threadbit_extra_fields. There wasn't any DIV code in showthread_extra_fields.

Thanks for the pointer.....

Gio~Logist
03-12-2006, 09:40 PM
Found it in threadbit_extra_fields. There wasn't any DIV code in showthread_extra_fields.

Thanks for the pointer.....

Sorry about that. I got confused for a second.

dakuda
03-12-2006, 09:54 PM
Sorry about that. I got confused for a second.

Not a problem at all. It was just enough info to figure it out. I happen to like this look a little better:
http://www.jeepforum.com/forum/forumdisplay.php?f=16

Now, if only I could enter more then 100 characters in the drop down box, that would be great.

Dennis B
03-12-2006, 09:55 PM
Gio,

Any way to use the extra field descriptions in a more useful way, like when creating a new post? It seems that right now they're only used in the ACP. Is something like $threadfield[description] avaliable to be used in the templates?

Also, in the ACP, when showing the availabe extra fields to edit, the "go" button is not working (at least not in FF).

Thanks

Gio~Logist
03-12-2006, 09:56 PM
Not a problem at all. It was just enough info to figure it out. I happen to like this look a little better:
http://www.jeepforum.com/forum/forumdisplay.php?f=16

Now, if only I could enter more then 100 characters in the drop down box, that would be great.

Edit your mysql database accordingly.

Gio~Logist
03-12-2006, 09:57 PM
Gio,

Any way to use the extra field descriptions in a more useful way, like when creating a new post? It seems that right now they're only used in the ACP. Is something like $threadfield[description] avaliable to be used in the templates?

Also, in the ACP, when showing the availabe extra fields to edit, the "go" button is not working (at least not in FF).

Thanks

$threadfield[description] can be used in a template :p I just didn't automatically include it because i didn't think everyon would want it there.

Dennis B
03-12-2006, 10:11 PM
Thanks!

Also, how do I separate a little bit the radio or checkbox options? They're a little too tight there, it's not clear if the box refers to the previous or next text.

Gio~Logist
03-12-2006, 10:13 PM
Thanks!

Also, how do I separate a little bit the radio or checkbox options? They're a little too tight there, it's not clear if the box refers to the previous or next text.

You'd have to edit the plugins themselves, search for the html in the plugin, and edit it accordingly.

lazytown
03-12-2006, 10:42 PM
This sounds reasonable and I might bite as long as the "lite" version has bugs fixed in coordination with the "premium" version and doesn't get abandoned. More power to you.

Thanks
-vissa

**Attention**
This hack is now being released as a "Lite" version. All existing features are still there, do not worry. However, a premium version is comming soon and will have even more features. This hack will continue to be supported. The only difference is that a premium version is comming shortly with more features.

lazytown
03-12-2006, 10:49 PM
I also wanted to add that if you made a full classifieds type system (with buyer/seller ratings, charges for bold/featured headings, etc) I would DEFINITELY be interested and probably be one of your first buyers.

-vissa

Gio~Logist
03-12-2006, 11:01 PM
I am proud to announce that i am indeed planning on making an ads system.

Also, this hack will continue to be supported and any bugs (which i don't think there are any) will be fixed. Also, the premium version will not make it to where you loose any info. When/if you upgrade to premium, it will simply be a smooth upgrade for new features.

dakuda
03-13-2006, 02:27 AM
One thing I noticed was multiple page threads displayed the pages under the extra fields. I preferred to keep them up with the thread titles.

So, I moved the $extrafields line from the two recommended locations in threadbit to one location (since it is immaterial if the thread is new or not).

After <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
in the threadbit template, add $extrafields before the </div> tag that immediatly follows it.

This would replace the threadbit template modificatiosn that gio~logist suggests in the install instructions.

Just thought I would throw that out there, in case anyone would use it.

Here is a picture to help explain my madness. I hope this made sense.

Gio~Logist
03-13-2006, 09:00 AM
One thing I noticed was multiple page threads displayed the pages under the extra fields. I preferred to keep them up with the thread titles.

So, I moved the $extrafields line from the two recommended locations in threadbit to one location (since it is immaterial if the thread is new or not).

After <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
in the threadbit template, add $extrafields before the </div> tag that immediatly follows it.

This would replace the threadbit template modificatiosn that gio~logist suggests in the install instructions.

Just thought I would throw that out there, in case anyone would use it.

Here is a picture to help explain my madness. I hope this made sense.

Yes it does. Good call, i will update instructions shortly.

Gio~Logist
03-13-2006, 09:10 AM
Zip Updated!!!

Dennis B
03-13-2006, 02:42 PM
I am proud to announce that i am indeed planning on making an ads system.I'll watch this closely. :)
It might be a good idea to consider backwards compatibility with iTrader, since many of us use it already as a feedback system. ;)

BTW, in case someone else wants to space the options a little further apart in newthread, instead of messing with the plugin code just prefix the options with '&nbsp;' in the ACP options, like

option1
&nbsp;&nbsp;&nbsp;option2
&nbsp;&nbsp;&nbsp;option3

etc.

dakuda
03-13-2006, 03:31 PM
I'll watch this closely. :)
It might be a good idea to consider backwards compatibility with iTrader, since many of us use it already as a feedback system. ;)

BTW, in case someone else wants to space the options a little further apart in newthread, instead of messing with the plugin code just prefix the options with '&nbsp;' in the ACP options, like

option1
&nbsp;&nbsp;&nbsp;option2
&nbsp;&nbsp;&nbsp;option3

etc.

I like that. I was siting around trying to find it elsewhere. :banana:

ricker
03-14-2006, 04:43 PM
Would it be possible to have two sets of extra fields, where each set can be displayed independently?

Gio~Logist
03-14-2006, 07:25 PM
Would it be possible to have two sets of extra fields, where each set can be displayed independently?

I'm not sure exactly what you mean? The amount of extra fields are unlimitted. Also, for future referance, support will only be given to those who click install :p

ricker
03-14-2006, 07:56 PM
I understand that it's unlimited - but my question is, if I add 5 fields for example, can I choose 3 of the 5 to display for forumA, and the last 2 of 5 for forumB? Or do they ALL display no matter what?

Thanks, and I clicked install :P

ricker
03-14-2006, 08:09 PM
My bad, I just decided to go for it and install ... and it seems like you can specify per field which forum it displays in. Neat feature!!

Gio~Logist
03-14-2006, 10:19 PM
My bad, I just decided to go for it and install ... and it seems like you can specify per field which forum it displays in. Neat feature!!

:p Glad you like it.

ConKien
03-15-2006, 11:07 PM
Hi gio~logist, instead creating an independant field to let user fill out, can we have option it to pull off fields from the member profile? Like birthday, locations & stuff?

I want to use a forum to post reviews, the members who post in this forum need to fill out some basic info that already filled out when he/she registered. That's why I need such option!

Thanks for a great hack gio~logist!

Gio~Logist
03-15-2006, 11:09 PM
Hi gio~logist, instead creating an independant field to let user fill out, can we have option it to pull off fields from the member profile? Like birthday, locations & stuff?

I want to use a forum to post reviews, the members who post in this forum need to fill out some basic info that already filled out when he/she registered. That's why I need such option!

Thanks for a great hack gio~logist!

What do you mean by "put fields in profile"?

lazytown
03-15-2006, 11:25 PM
I'm not sure I understand. The problem is, I enable users only to edit their threads on our site for 1 week. VB only lets you set this on the entire site, not per subforum/forum. I would like to allow users to edit your "Extra Threadfields" for a longer period of time (or forever). I wouldn't mind if they could also edit their thread as long is it was on a specified forum/subforum. How exactly would I do that? By the way -- haven't installed it yet but will once I get this part figured out.

Thank You!
-vissa
maybe just add the parshe to thread edit?..

GREAT GREAT GREAT
Haven't installed yet but will likely if this problem can be solved:
Question: Would it be possible to have these new fields editable by members even if the thread itself isn't editable?
My problem: Vbulletin lets you specify how long a thread/post can be edited, but it only does it on a global basis (not per forum). This causes real problems with for sale/wanted or other types of forums. So if these new fields could be edited even when the thread isn't editable, that could fix the problem. Or perhaps the fields can have an edit time-limit switch or setting themselves (just as threads/posts do).
thank you
-vissa

Gio~Logist
03-15-2006, 11:41 PM
I'm not sure I understand. The problem is, I enable users only to edit their threads on our site for 1 week. VB only lets you set this on the entire site, not per subforum/forum. I would like to allow users to edit your "Extra Threadfields" for a longer period of time (or forever). I wouldn't mind if they could also edit their thread as long is it was on a specified forum/subforum. How exactly would I do that? By the way -- haven't installed it yet but will once I get this part figured out.

Thank You!
-vissa

Editing extra fields comes hand in hand with editing the thread.

lazytown
03-16-2006, 12:10 AM
Editing extra fields comes hand in hand with editing the thread.

So does anyone know of any hack/mod or code changes I could apply that would let me control thread editing of a specific forum?

Thanks
-vissa

ConKien
03-16-2006, 12:44 AM
What do you mean by "put fields in profile"?

I'm sorry for such confusion, I actually had some custom profile fields and wanted to use this hack to pull and display them in the thread!

Gio~Logist
03-16-2006, 12:49 AM
I'm sorry for such confusion, I actually had some custom profile fields and wanted to use this hack to pull and display them in the thread!

That wouldn't work just because of the fact that it will flood the profile with new fields and such. Also, there is no organized way to do this really.

Daniel
03-16-2006, 01:06 AM
Thank you very much

Forgot to click install?:p
I know this is late and all but didn't see your reply :P

I personally have no use for this, that's why I didn't state I clicked install. Just mentioning you've done a good job with it. :)

Gio~Logist
03-16-2006, 02:25 AM
I know this is late and all but didn't see your reply :P

I personally have no use for this, that's why I didn't state I clicked install. Just mentioning you've done a good job with it. :)

Ah i see. Glad you like it :)!

ricker
03-20-2006, 06:48 PM
Gio~logist, thanks again for a great hack. But, did I miss something somewhere? I haven't seen anyone else mention that the fields don't retain their values upon clicking the "preview" button.

Gio~Logist
03-20-2006, 07:49 PM
Gio~logist, thanks again for a great hack. But, did I miss something somewhere? I haven't seen anyone else mention that the fields don't retain their values upon clicking the "preview" button.

Ah yes, thanks for warning me about that.
Zip Updated!!!

ubblite
03-20-2006, 07:52 PM
Now that's what you call fast support. Good work, gio~logist!

Gio~Logist
03-20-2006, 07:55 PM
Now that's what you call fast support. Good work, gio~logist!

:p Thank you.

Glad i fixed that before relesing the Premium Version.

Oh and don't forget to click install ;].

ricker
03-20-2006, 10:03 PM
Here's another thing, and thanks for the uber-fast service ... when you move (or copy) a thread from one forum to another, even if the same fields are activated in both forums, it doesn't bring them along.

EDIT: Let me clarify, it's only when COPYING threads, not moving them. THX
-Sarah

Gio~Logist
03-20-2006, 10:36 PM
Here's another thing, and thanks for the uber-fast service ... when you move (or copy) a thread from one forum to another, even if the same fields are activated in both forums, it doesn't bring them along.

EDIT: Let me clarify, it's only when COPYING threads, not moving them. THX
-Sarah

That's because moving them moves ALL DATA. Copying them just makes a replica, i may need to add a plugin. I will look into this.

Trana
03-21-2006, 01:23 PM
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

Any update on getting this to work with CMPS?

blacklancer
03-21-2006, 05:36 PM
very cool! thanks!

installed

one question though....once i make some fields, can i place them individually (i.e. $extrafield[xxxx] ) instead of having all of them show up??($extrafields) I am using another hack for the first post of my for sale section, and I want to put the price in one place, condition in another, etc.

thanks!

Gio~Logist
03-21-2006, 07:00 PM
very cool! thanks!

installed

one question though....once i make some fields, can i place them individually (i.e. $extrafield[xxxx] ) instead of having all of them show up??($extrafields) I am using another hack for the first post of my for sale section, and I want to put the price in one place, condition in another, etc.

thanks!

Take a look at the first post.

blacklancer
03-21-2006, 07:03 PM
i'm retarded! http://www.sclc.net/forum/images/smilies/lmao.gif

Gio~Logist
03-22-2006, 01:18 AM
lol. It's ok. Hope all goes well.

Everyone, feel free to make suggestions via PM for the premium version.

Rankine
03-22-2006, 06:40 AM
Hi John, great great work.... This hack is what i need for my forum. ;)
One question. I have a problem with admincp, if i click on extrafield's name this can be edit. Instead if i use button there is no action.
Perhaps it has had to the passage of parameters with the javascript function js_threadfields_jump (button edit/delete) however i have solved for the moment with this code :
$cell[2] .= "<a href=\"threadfields_admin.php?do=edit&fieldid=$threadfield[fieldid]\"><b>Edita</b></a> ";
$cell[3] .= "<a href=\"threadfields_admin.php?do=delete&fieldid=$threadfield[fieldid]\"><b>Cancella</b></a>";

/*$cell[2] .= "\n\t<div style=\"float: right;\">
<select class=\"bginput\" name=\"f$threadfield[fieldid]\">
<option value=\"edit\">Edit</option>
<option value=\"delete\">Delete</option></select>
<input type=\"button\" class=\"button\" value=\"".$vbphrase['go']."\" onclick=\"js_threadfields_jump($threadfield[fieldid]);\" />
</div>";*/
As you can see i have commented button and used a direct link to edit and delete. You can control if it is a problem only mine ? Thanks
P.s. Excuse me for my bad english... I'm italian ;)
Clicked install obviously ;)

Jonathan22
03-22-2006, 08:22 AM
Has anyone got any detailed installation instructions for this hack? Some of us need a bit more guidance with step 1 and 2.

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

Thanks,

Rankine
03-22-2006, 09:28 AM
@Jonathan :
Step1 : Import the following product : product-extra_threadfields.xml
Go into your Admin C.P. There is "Plugin System" open and you find the voice Manage Products. Click on this.
On the left there is a link Add/Import Product : Select from your hd the file product-extra_threadfields.xml and import ;)

Step 2 : You have to upload with a Ftp client into your forum dir.
You have 2 dir admincp and includes in file... Put this dir in same place on your forum dir. ;)

Gio~Logist
03-22-2006, 09:28 AM
Hi John, great great work.... This hack is what i need for my forum. ;)
One question. I have a problem with admincp, if i click on extrafield's name this can be edit. Instead if i use button there is no action.
Perhaps it has had to the passage of parameters with the javascript function js_threadfields_jump (button edit/delete) however i have solved for the moment with this code :
$cell[2] .= "<a href=\"threadfields_admin.php?do=edit&fieldid=$threadfield[fieldid]\"><b>Edita</b></a> ";
$cell[3] .= "<a href=\"threadfields_admin.php?do=delete&fieldid=$threadfield[fieldid]\"><b>Cancella</b></a>";

/*$cell[2] .= "\n\t<div style=\"float: right;\">
<select class=\"bginput\" name=\"f$threadfield[fieldid]\">
<option value=\"edit\">Edit</option>
<option value=\"delete\">Delete</option></select>
<input type=\"button\" class=\"button\" value=\"".$vbphrase['go']."\" onclick=\"js_threadfields_jump($threadfield[fieldid]);\" />
</div>";*/
As you can see i have commented button and used a direct link to edit and delete. You can control if it is a problem only mine ? Thanks
P.s. Excuse me for my bad english... I'm italian ;)
Clicked install obviously ;)

Hm. That's strange. Well, atleast you got it to work :p. By the way, who's John?

Rankine
03-22-2006, 10:22 AM
ehm.... gio... :D right... However john is near yuor real name Lol.... by the way excuse me for mistake :)
however It's not possible to use button? :)

Jonathan22
03-22-2006, 12:39 PM
$threadfield[description] can be used in a template :p I just didn't automatically include it because i didn't think everyon would want it there.

How do I do this?

Jonathan22
03-22-2006, 12:52 PM
Is it possible to set a default for Radio Sets? So that if for example, you had Yes and No, Yes was automatically selected.

Gio~Logist
03-22-2006, 04:09 PM
How do I do this?

Insert that in the template newthread_extra_fields

ConKien
03-22-2006, 09:00 PM
Hi Gio~logist, in newthread template, I want to use the if condition to display a certain custom field like

<if condition="$thread[field2]"> $thread[field2]</if>

but nothing show up, I wonder what's the right systax to display custom fields? I want to do it for 4 templates we hav to modify in the instructions as well.

One more thing, how do make the radio buton & multiple checked box display BEFORE the value? Like
[x] A
[ ] B
[ ] C

Instead of
A [x]
B [ ]
C [ ]
?

Thanks Gio~logist for a great hack!

ericgtr
03-22-2006, 09:15 PM
Installed! Great hack, well put together and simple. :)

Gio~Logist
03-22-2006, 09:22 PM
Hi Gio~logist, in newthread template, I want to use the if condition to display a certain custom field like

<if condition="$thread[field2]"> $thread[field2]</if>

but nothing show up, I wonder what's the right systax to display custom fields? I want to do it for 4 templates we hav to modify in the instructions as well.

One more thing, how do make the radio buton & multiple checked box display BEFORE the value? Like
[x] A
[ ] B
[ ] C

Instead of
A [x]
B [ ]
C [ ]
?

Thanks Gio~logist for a great hack!


I do not understand what you want to do in the first part.

For the second part, you'd have to edit the plugin.

Gio~Logist
03-22-2006, 09:23 PM
Installed! Great hack, well put together and simple. :)

Thank you :p

ConKien
03-23-2006, 01:06 AM
I do not understand what you want to do in the first part.

For the second part, you'd have to edit the plugin.

Gio~logist, what I wanted was to display it manually without using $extrathreadfields in newthread template just like how you show it in FAQ how to put it in postbit & showthread template.

Thanks,
CK

Gio~Logist
03-23-2006, 01:08 AM
Gio~logist, what I wanted was to display it manually without using $extrathreadfields in newthread template just like how you show it in FAQ how to put it in postbit & showthread template.

Thanks,
CK

You want to insert the fileds in the newthread template manually? All that can be controlled in the admincp. You can control order and everything. What is it that you'd like to change?

ConKien
03-23-2006, 01:29 AM
Thanks for a fast respond.

Yes, I want to insert the fields in the newthread template manually. I actually create another hardcode template to organize the fields, make it look different than the original "New Thread". I'm planing a support forum and use your hack to make a question form for members to submit!

Thanks,
CK

tommyxv
03-23-2006, 05:01 AM
I don't allow users to be able to edit their threads, just thier posts, can this still work?

Gio~Logist
03-23-2006, 10:10 AM
I don't allow users to be able to edit their threads, just thier posts, can this still work?


Just like the title of the thread, these fields can only be edited via edit thread. Perhaps i will see if i can somehow get it to show in edit post for the premium version.

tommyxv
03-23-2006, 06:30 PM
That would be cool. The only way I see to let uses edit their threads is to allow then to delete their own threads via the user-group permissions.