![]() |
search_results_postbit
I've been trying to customize the templates to my liking, to remove that "vBulletin" feel (sorry vB.. :)) so I've been trying to clean up the search results pages, among others.
I've been trying to hide certain parts of search_results_postbit depending on the search, but I'm not doing it right. I want to hide the following code when you've searched for a particular user's posts. (It already shows at the top of the Search Results, why have it repeated inside every postbit??) Code:
<div class="smallfont"> What am I doing wrong? ---- Also, I can't seem to replicate this, but it seems like the code in search.php allows for "Posts by:" for multiple users... where can you actually use this? I've tried a semicolon and comma separated list in the Advanced Search but that doesn't work.. So if you can actually search for multiple users at once, I guess I'd also need to code to only hide it when you're searching for one user as well. --------------- Added [DATE]1197394009[/DATE] at [TIME]1197394009[/TIME] --------------- Ugh. Well the ugly thing I did for now is to edit search.php to move everything between "if (do $show['results']){}" (paraphrasing there... too lazy to write it out correctly) to the very bottom of search.php so that it can make use of those variables I need. If I can figure that out, why on earth can't I figure out how to do it with a plugin? :( |
All times are GMT. The time now is 05:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|