News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Search Topic

Started by winrules, March 12, 2006, 05:45:54 PM

Previous topic - Next topic

winrules

Version 1.01 has been released! This version adds support for 1.1 RC3.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


randyripoff

#21
Any reason why an Install link isn't showing in my package manager for this one?  Using 1.3.

winrules

Quote from: randyripoff on September 05, 2006, 08:28:07 PM
Any reason why an Install link isn't showing in my package manager for this one?  Using 1.3.
Do you mean 1.1 RC3?


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


randyripoff

D'oh!

I meant 1.08/1.1 RC3

winrules

Which one? 1.0.8 or 1.1 RC3?


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


randyripoff

Sorry, thought they were pretty much the same.  1.08.

winrules

I only works on 1.1 RC2/3.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


randyripoff

Ah, okay. 

Are there plans to upgrade soon?

winrules

Quote from: randyripoff on September 06, 2006, 07:28:09 PM
Ah, okay. 

Are there plans to upgrade soon?
I won't be making it for 1.0.8. You can upgrade though.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


ivo2296

Any help with the classic theme of smf 1.1 RC3 please?

codenaught

Dev Consultant
Former SMF Doc Coordinator

ivo2296

Quote from: akabugeyes on September 24, 2006, 10:33:52 PM
Quote from: ivo2296 on September 24, 2006, 10:24:54 PM
Any help with the classic theme of smf 1.1 RC3 please?
Take a look at these:

http://www.simplemachines.org/community/index.php?topic=34526.0
http://docs.simplemachines.org/index.php?topic=402


There nothing for smf 1.1 RC3 - RC3 code has many changes, but i'll give a try myself.

Thanks for the links!

kriskd

Will this work on 1.1 Final as is or will I need to wait for an update?
SMF 2.0.2

Greek

It doesn't work on 1.1 Final

codenaught

It will work in 1.1. You just need to add ;version_emulate=1.1-RC3 to the end of the package manager url.
Dev Consultant
Former SMF Doc Coordinator

Greek

Thanks. I did  it, but I get again error for compatibility. Perhaps I did something wrong.

RoarinRow

Very cool, just added this to my 1.1.1. forum and made the changes manually to my display.template.php file  :)

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Greek

Ι did it too, but i have a small display problem.
Can anyone tell me how to correct this?

I want the search button to appears on the left of search field, in the same line.

This is the code and in bold, the small changes that I have made:
Quote<?xml version="1.0"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
   <id>winrules:SearchTopic</id>
   <version>1.01</version>
   <file name="$themedir/Display.template.php">
      <operation>
         <search position="replace"><![CDATA[
            <td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
                  ', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
            </td>
]]></search>
         <add><![CDATA[
            <td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">
                  ', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
            </td>
            <td>
               <form action="', $scripturl, '?action=search2;topic=', $context['current_topic'], '" method="post" style="margin: 0;">
                  <input type="text" name="search" value="" style="width: 120px;" />&nbsp;
                  <input type="submit" name="submit" value="Αναζήτηση στο θέμα(Search Topic in greek language)" style="width: 25ex;" />
               </form>
            </td>
]]></add>
      </operation>
   </file>
</modification>

Thanks  :)

FoneBone

#38
Here is a little modification for the german language:

<!--Search topic-->
<td>
<form action="', $scripturl, '?action=search2;topic=', $context['current_topic'], '" method="post" style="margin: 0;">
<input type="text" name="search" style="width: 190px;" value="Thema durchsuchen" onFocus="if (this.value==\'Thema durchsuchen\') this.value = \'\';" onBlur="if (this.value==\'\') this.value=\'Thema durchsuchen\';"/>&nbsp;
<input type="submit" name="submit" value="Los" style="width: 6ex;" />
</form>
</td>
<!-- Search topic end -->

But you all feel free to change every "Thema durchsuchen" to e.g. "Topic Search"
and
the "Los"-Button to e.g. "Go" or something else.

Regards
FoneBone

ThK

Hi,

I modified the hack, so it uses a variable for "Search Topic", so it can be translated w/o hard coding stuff. German and English included, I chose "Thema durchsuchen" btw. *gg*

Advertisement: