PDA

View Full Version : need help with search template


Kat
09-23-2011, 06:53 PM
Hi, I have a special search page in one area of my forums. I was able to easily hack the templates in vb 3x to get the look I wanted. I am almost there in 4x but have come across one spot that I just cannot find the proper code to change.

If anyone could help me with this I would be very grateful.

What I want to do is get rid of the text and boxes that say Posts and Forums. And ideally I would like to have the Wiki Content Pages default to having the box checked, although that is not as important as getting rid of the Posts and Forums checkboxes and text.

I did figure out which code to get rid of in the template search_common, but then it also gets rid of the Wiki Content and check box too.

Thank you for any help!

Attached example:

BirdOPrey5
09-24-2011, 11:16 AM
The wiki checkbox is coming from an add-on since that isn't part of vBulletin. My guess is that add-on requires the default text to be there so it can "add itself" to the template. When you edit the default text to remove what you want the auto-template edit fails so you don't see the wiki box either.

To do what you want will require editing one of the plugins from your wiki mod... Hard to know exactly what or which one- but one of them will be responsible for the template edit. You can change it to work with the default boxes removed and likely the same place you can edit the code to make the box already checked- but you're going to need some php experience to do this.

Kat
09-24-2011, 02:19 PM
Thank you.

I actually did manage to get it to do what I need, not perfectly but good enough. I was just coming here to update this and found your message.

Thanks again for your reply.