Log in

View Full Version : Custom Fields? and Search?


baseball
12-30-2003, 09:08 PM
I would like to see a sample script that would allow me to ad 1 additional field to the posting section within vbulletin. e.g,

Under title I would like to see a field
name: Color - It would also be important for this field to be included when conducting a search. To keep things
simple, the name of field in mysql will also be named color.

part 2 of my request:

I want to be able reference the search command or subroutine from a separate custom 'html' page. The format would look like this.

search forum 'a' [enter keywords here] to search forum 'a'
search forum 'b' [enter keywords here] to search forum 'b'

I’m sure there must be a way to pass parameters to the search engine since it can be done with the advance option. there must be a way to hard code it presuming I have a forum 'a' and a forum 'b'

thanks.

MindTrix
12-31-2003, 04:46 PM
This should be in hack requests really.

Im not sure on the search part, but as for adding a custom user field, this is an option already in the admin cp of vbulletin

baseball
12-31-2003, 06:10 PM
in terms of adding more variables i believe you are refering to adding more fields the user profile not the posting section. Unless you are suggesting you can add the fileds from the user profile to the posting thread section?

MindTrix
12-31-2003, 06:17 PM
Yes you can by mearly copying the variable made for the new custom user field you made too the postbit

baseball
12-31-2003, 06:34 PM
Cool, thanks for the tip

So if I understand correctly, I can make a field name: e.g., color
which I can reference the postbit section. So my screen might
look like:

e.g.,

Title

Color

Message

What file contains the php code for the postbit section and do
you think that the user fields which are ment for user profile
will be searchable?

MindTrix
12-31-2003, 06:44 PM
Searchable = no, i dont believe so.

Postbit is a template found in the admin cp. You can alter it all you want without needing too touch a php file