![]() |
If I wanted to add a search by MFG instead of price, I understand that I will need to edit the productforums.php. I am just wondering if you could point me in the direction of what to edit.
Also, I'd like to have the mfg show up in the table that gets displayed. |
Quote:
|
Quote:
First you'll have to add the mfrg to the input variables accepted around line 63 replace: Code:
$vbulletin->input->clean_array_gpc('r', array( Code:
if($vbulletin->GPC['mfrg']){ $conditions .= " AND pfp.mfrg LIKE '%". mysql_real_escape_string($vbulletin->GPC['mfrg']) ."%'"; } // mfrg of product Code:
$sortaddon .= ($vbulletin->GPC['mfrg']) ? 'mfrg=' . $vbulletin->GPC['mfrg'] . '&' : ''; Of course it would be more ideal to generate a list of manufacturers and let people pick via dropdown. Next update can do that. |
Quote:
|
Quote:
|
Quote:
Thanks!! |
Quote:
If you want to add your own forced resize open up the review template and add a width="X" height="Y" into the <img> tag where you define either a max width or height... However that will not actually resize the image, it just forces it to look smaller while still downloading the entire file and potentially altering the aspect ratio or distorting the page. |
Quote:
|
Quote:
|
Is there a feature or tweak you'd like to see make it into this mod? We'll be doing a feature release this week / weekend and while it won't include everything, chime in and we'll try to sneak it in.
Here's what's planned: Planned Changes [Week of 1/16] - Profile link to a search of a user's top posts [admin option] - Post level link to the number of votes, good votes, or ratio for a user's posts [admin option] - WYSIWYG editor for writing a review - Search by manufacturer [dropdown] - Cleaned up search page & results page - Bug fixes here and there |
All times are GMT. The time now is 06:17 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:
|