News:

Wondering if this will always be free?  See why free is better.

Main Menu

Search Focus Dropdown

Started by Brettflan, February 14, 2009, 02:34:48 PM

Previous topic - Next topic

lovearat

#160
I need to un-install this mod, because it is causing conflict in trying to upgrade from 1.11 to 1.12. But there is no un-installer. Can you please help me? Thank you so much for your time. Have a Blessed day. :)
<span style="font-size: 12px; color: red;">Do Not Pm Me For Support. Please use the appropriate board</span>

Robert.

I really like this mod :) It works awesome in the Curve theme :D Thanks for this :)

Brettflan

Quote from: lovearat on November 05, 2010, 03:15:52 PM
I need to un-install this mod, because it is causing conflict in trying to upgrade from 1.11 to 1.12. But there is no un-installer. Can you please help me? Thank you so much for your time. Have a Blessed day. :)

You uninstall it through the package manager like all other mods. If it's not letting you, then... you've already updated to 1.12 with it installed, maybe?

I'll be releasing an update in the next few days for 1.12 and 2.0 RC4.

lovearat

Quote from: Brettflan on November 06, 2010, 01:13:16 AM
Quote from: lovearat on November 05, 2010, 03:15:52 PM
I need to un-install this mod, because it is causing conflict in trying to upgrade from 1.11 to 1.12. But there is no un-installer. Can you please help me? Thank you so much for your time. Have a Blessed day.

You uninstall it through the package manager like all other mods. If it's not letting you, then... you've already updated to 1.12 with it installed, maybe?

I'll be releasing an update in the next few days for 1.12 and 2.0 RC4.

I tried the upgrade and got this error;     Execute Modification    ./Sources/Subs-Package.php    Test failed     So then I tried to un-install the search focas dropdown mod, since  I  think it was the last mod I added prior to trying the upgrade. I thought maybe it was what was causing a conflict.  But then I got an error saying that I couldn't remove it because it didn't have an un-installer.
<span style="font-size: 12px; color: red;">Do Not Pm Me For Support. Please use the appropriate board</span>

Brettflan

Since you've updated to 1.12, I assume it won't let you install/uninstall the current version of this mod package since it's not listed as supporting that 1.12. THat's just how SMF handles packages.
If you're willing to wait a bit, I'll try to move this package to the front of my work queue and release an updated version later today. You can then upload and uninstall it (though what the conflict you seem to be experiencing would be, I'm at a loss).

lovearat

Quote from: Brettflan on November 06, 2010, 12:25:05 PM
Since you've updated to 1.12, I assume it won't let you install/uninstall the current version of this mod package since it's not listed as supporting that 1.12. THat's just how SMF handles packages.
If you're willing to wait a bit, I'll try to move this package to the front of my work queue and release an updated version later today. You can then upload and uninstall it (though what the conflict you seem to be experiencing would be, I'm at a loss).

I'm sorry if  I didn't make myself clear on this.  What I mean is, that I can't upgrade to 1.12.  So since I think the last mod that I added to my forum prior to trying to upgrade to 1.12 was the search focus dropdown; I tried to un-install it. The search focus dropdown mod is the one giving me the error that it doesn't have an un-installer.
<span style="font-size: 12px; color: red;">Do Not Pm Me For Support. Please use the appropriate board</span>

Brettflan

Quote from: lovearat on November 06, 2010, 12:48:00 PM
Quote from: Brettflan on November 06, 2010, 12:25:05 PM
Since you've updated to 1.12, I assume it won't let you install/uninstall the current version of this mod package since it's not listed as supporting that 1.12. THat's just how SMF handles packages.
If you're willing to wait a bit, I'll try to move this package to the front of my work queue and release an updated version later today. You can then upload and uninstall it (though what the conflict you seem to be experiencing would be, I'm at a loss).

I'm sorry if  I didn't make myself clear on this.  What I mean is, that I can't upgrade to 1.12.  So since I think the last mod that I added to my forum prior to trying to upgrade to 1.12 was the search focus dropdown; I tried to un-install it. The search focus dropdown mod is the one giving me the error that it doesn't have an un-installer.

What exactly is the problem you're having? "I can't upgrade to 1.12" doesn't provide much in the way of useful information. How are you trying to upgrade? There are a few ways available. Do you get a specific error message, or what?

lovearat

I have tried every way that I know how to explain my problem, but seem to be unsuccessful. Thank you for your time anyway. I will try to resolve this my self.
<span style="font-size: 12px; color: red;">Do Not Pm Me For Support. Please use the appropriate board</span>

Brettflan

Well, you did mention "./Sources/Subs-Package.php", and that isn't changed by this mod. So, almost certainly unrelated anyway. Good luck with it.

lovearat

Quote from: Brettflan on November 06, 2010, 01:46:01 PM
Well, you did mention "./Sources/Subs-Package.php", and that isn't changed by this mod. So, almost certainly unrelated anyway. Good luck with it.

I do thank  you very much for trying to help me. :)  I do appreciate it.  I hope you have a great day.
<span style="font-size: 12px; color: red;">Do Not Pm Me For Support. Please use the appropriate board</span>

Brettflan

For reference, I just updated my test 1.x forum from 1.11 to 1.12 using the link on the main admin page and it went through without a hitch, and with the currently released Search Focus Dropdown mod installed. Of course, it won't let me uninstall it afterward since the mod isn't officially updated to support 1.12 quite yet (that's what I'm working on right now), but the 1.12 update itself went through smoothly.

Brettflan

Released version 1.51:

       
  • support for SMF 1.1.12 and 2.0 RC4
  • added built-in Romanian language support, updated German and Russian translations
Thanks to -=[Vyorel]=- for the Romanian translation and to Eclipse16v and Bugo for the updated German and Russian translations respectively.

NanoSector

Works like a charm!

Thank you!
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

HunterP

Quote from: Brettflan on June 14, 2010, 06:59:55 AMSeriously though, I guess I could potentially add something like that in, though I wouldn't want to change the way the default option works since that's expected behavior. Perhaps a new dropdown option, "This board and child boards"? That reads a bit long though, and would stretch out the width of the dropdown box quite a bit, which wouldn't really be good. So, I'm not so hot on the idea.

You could make it an option ;) I would really appreciate it (and others)

HunterP


One more thing, the "topic" option doesn't seem to work for me. Maybe I've messed something up, I've removed all code regarding Google because I'm not planning on using that. Ofcourse I could just disable it, but I like the modifications as short as possible, that's why I removed it. Forum and board really work like a charm! But topics don't. Is there anything more to edit which doesn't have a direct relation to the Google code?

Brettflan

Quote from: HunterP on November 29, 2010, 06:32:55 PM
One more thing, the "topic" option doesn't seem to work for me. Maybe I've messed something up, I've removed all code regarding Google because I'm not planning on using that. Ofcourse I could just disable it, but I like the modifications as short as possible, that's why I removed it. Forum and board really work like a charm! But topics don't. Is there anything more to edit which doesn't have a direct relation to the Google code?
It works fine for me in 2.0 RC4. What version of SMF are you using?

HunterP

Quote from: Brettflan on November 29, 2010, 06:40:12 PMIt works fine for me in 2.0 RC4. What version of SMF are you using?

Recently updated from 1.1.11 to 1.1.12

What I forgot to mention is that the topic option gives the same results as "forum". So it works, but not correctly...

HunterP


I've just uploaded the original package, without modifications. Still "topic" gives me the same results as "forum", but Google is not being shown, although this option is checked.

Brettflan

Hmm. Not sure what to tell you, I've just retested it on my test SMF 1.1.12 forum and everything is working fine there. All search ranges work fine (topic, board, and entire forum), and disabling/re-enabling Google in the Search options works as expected as well.
Did you do a custom install on a different theme than default and possibly not get it done quite right, maybe? For Google not showing up, the cuase might be the same (incorrect installation into a custom theme) or your own modification might have caused that. Have you tried changing that option back and forth and saving a couple of times at least?

HunterP


I've switched to the original mod (including Google), but the topic search didn't work either, and I already mentioned that Google didn't appear in the focus.

Yes, I'm using a custom theme (oxygen11final) :

<file name="$themes_dir/oxygen11final/index.template.php">
<operation>
<search position="after"><![CDATA[<input type="submit" name="submit" value="', $txt[182]]]></search>
<add><![CDATA[';

loadLanguage('SearchFocus');

// Viewing a topic?
if (!empty($context['current_topic']))
{
echo '
<input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';
$focus_options = '
<option value="topic" selected="selected">' . $txt['search_focus_topic'] . '</option>
<option value="board">' . $txt['search_focus_board'] . '</option>
<option value="all">' . $txt['search_focus_all'] . '</option>';
}
// Viewing a board?
elseif (!empty($context['current_board']))
$focus_options = '
<option value="board" selected="selected">' . $txt['search_focus_board'] . '</option>
<option value="all">' . $txt['search_focus_all'] . '</option>';
// Viewing something else, such as index
else
$focus_options = '
<option value="all" selected="selected">' . $txt['search_focus_all'] . '</option>';

// Show the search focus dropdown
echo '
<select name="search_focus" id="search_focus">' . $focus_options . '
</select>';

echo '
]]></add>
</operation>
</file>

Advertisement: