[BETA] Search back (x minutes, days, month)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

[BETA] Search back (x minutes, days, month)

Post by Balint » Sun Oct 07, 2007 4:38 pm

MOD Title:
Search back (x minutes, days, month)

MOD Description:
Search topics which were created or answered in the last
  • 15, 30 or 45 minutes
  • 1, 2, 6 or 12 hours
  • 1 or 7 days
  • 1 month
(easily expandable to other values) from the index page. The MOD is based on the idea of Search Back 1.2.2 from Niels Chr. Denmark.

MOD Version: 1.0.5
phpBB Version: 3.0.8

MOD Format: MODX

MOD Download: http://phpbb.krizsan.de/search_back_1.0.5.zip


Demo images:
Image
Last edited by Balint on Sat Nov 27, 2010 2:27 pm, edited 8 times in total.

rickyschuijff
Registered User
Posts: 75
Joined: Mon May 14, 2007 4:50 pm
Contact:

Re: [BETA][RC5] Search back (x minutes, days, month)

Post by rickyschuijff » Sun Oct 07, 2007 4:44 pm

very nice mod

Dutch Translation

Code: Select all

	// Search Back
	'SEARCH_BACK'				=> 'Zoek terug',
	'TIME_15_MIN'				=> '15 minuten',
	'TIME_30_MIN'				=> '30 minuten',
	'TIME_45_MIN'				=> '45 minuten',
	'TIME_1_HOUR'				=> '1 uur',
	'TIME_2_HOUR'				=> '2 uur',
	'TIME_6_HOUR'				=> '6 uur',
	'TIME_12_HOUR'				=> '12 uur',
	'TIME_1_DAY'				=> '1 dag',
	'TIME_7_DAYS'				=> '7 dagen',
	'TIME_1_MONTH'				=> '1 maand',
	// Search back
Flyff Game go to FlyffWorld

User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: [BETA][RC5] Search back (x minutes, days, month)

Post by IPB_Refugee » Sun Oct 07, 2007 11:48 pm

Nice MOD, Balint - thank you! :)

But is it Beta or already RC5?
[BETA][RC5] Search back (x minutes, days, month)
Regards
Wolfgang

User avatar
ac_roma
Registered User
Posts: 307
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [BETA][RC5] Search back (x minutes, days, month)

Post by ac_roma » Mon Oct 08, 2007 2:43 am

wow amazind mod

i was need something like that

thanks :)

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: [BETA][RC5] Search back (x minutes, days, month)

Post by Balint » Mon Oct 08, 2007 5:13 am

Hi!

It's a Beta for RC5. :-)

I'm glad you like it, please report any errors so I can fix them asap!


Greets,
Bálint

flexx
Registered User
Posts: 75
Joined: Thu Aug 30, 2007 8:16 pm

Re: [BETA][RC5] Search back (x minutes, days, month)

Post by flexx » Tue Oct 09, 2007 10:59 am

very nice mod!
It works!!! :D

User avatar
Dr.Death
QA Team
Posts: 363
Joined: Fri Apr 25, 2003 10:04 am
Location: Germany
Contact:

Re: [BETA][RC5] Search back (x minutes, days, month)

Post by Dr.Death » Tue Oct 09, 2007 3:28 pm

Yes, works fine.

here a litte change if you want to add the dropdownbox to the overall_header.html


OPEN overall_header.html

SEARCH FOR:

Code: Select all

                    <a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_HIDDEN_FIELDS}
                </fieldset>
                </form>  
AFTER ADD:

Code: Select all

                <br />
                <form id="searchback" name="searchback" action="./search.php" method="post" onsubmit="if(document.jumpbox.f.value == -1){return false;}">
                    <select name="search_time" size="1" class="gensmall"  onchange="if(this.options[this.selectedIndex].value != -1){ document.forms['searchback'].submit() }">
        <option value="-1" SELECTED>{L_SEARCH_BACK}</option>
        <option value="15">{L_TIME_15_MIN}</option>
        <option value="30">{L_TIME_30_MIN}</option>
        <option value="45">{L_TIME_45_MIN}</option>
        <option value="60">{L_TIME_1_HOUR}</option>
        <option value="120">{L_TIME_2_HOUR}</option>
        <option value="360">{L_TIME_6_HOUR}</option>
        <option value="720">{L_TIME_12_HOUR}</option>
        <option value="1440">{L_TIME_1_DAY}</option>
        <option value="10080">{L_TIME_7_DAYS}</option>
        <option value="43200">{L_TIME_1_MONTH}</option>
                      </select>
                    <input type="hidden" name="search_id" value="searchback">
                </form>  
But be shure to remove the code in index_body.html before!

Demo: Click
Doc.

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: [BETA][RC7] Search back (x minutes, days, month)

Post by Balint » Mon Oct 15, 2007 5:59 pm

This MOD installed just fine on RC7. Yay! :)


Greets,
Bálint

User avatar
Rotsblok
Registered User
Posts: 648
Joined: Fri Nov 11, 2005 12:47 pm
Location: Upper north of Holland
Name: Rikkert Westa
Contact:

Re: [BETA][RC5] Search back (x minutes, days, month)

Post by Rotsblok » Wed Oct 24, 2007 12:25 am

rickyschuijff wrote:very nice mod

Dutch Translation

Code: Select all

	// Search Back
[code]	'SEARCH_BACK'				=> 'Zoek terug',
'TIME_15_MIN' => '15 minuten',
'TIME_30_MIN' => '30 minuten',
'TIME_45_MIN' => '45 minuten',
'TIME_1_HOUR' => '1 uur',
'TIME_2_HOUR' => '2 uur',
'TIME_6_HOUR' => '6 uur',
'TIME_12_HOUR' => '12 uur',
'TIME_1_DAY' => '1 dag',
'TIME_7_DAYS' => '7 dagen',
'TIME_1_MONTH' => '1 maand',
// Search back
[/code]
should be

Code: Select all

	'SEARCH_BACK'				=> 'Terug zoeken',
Nederlandse Support site
Several dutch translations for 3.1 extensions if you need one or there is an update of an extension feel free to notify me.

User avatar
BizimPencere
Registered User
Posts: 396
Joined: Sat Aug 25, 2007 8:31 pm

Re: [BETA][RC7] Search back (x minutes, days, month)

Post by BizimPencere » Wed Feb 20, 2008 5:13 am

Hii very nice mod...

This compatible with 3.0.0 gold?
www.phpbbturkiye.net | Turkish phpBB3 support and development

ttuu
Registered User
Posts: 224
Joined: Wed Feb 13, 2008 6:28 pm

Re: [BETA][RC7] Search back (x minutes, days, month)

Post by ttuu » Wed Feb 20, 2008 5:48 am

hebrew Translation

Code: Select all

find
	'SEARCH_UNANSWERED'	=> 'הצג נושאים ללא תגובות',
Add after
	// Search Back
	'SEARCH_BACK'				=> 'חיפוש לפי זמן אחורה',
	'TIME_15_MIN'				=> '15 דקות',
	'TIME_30_MIN'				=> '30 דקות',
	'TIME_45_MIN'				=> '45 דקות',
	'TIME_1_HOUR'				=> 'שעה',
	'TIME_2_HOUR'				=> 'שעתיים',
	'TIME_6_HOUR'				=> '6 שעות',
	'TIME_12_HOUR'				=> '12 שעות',
	'TIME_1_DAY'				=> 'יום',
	'TIME_7_DAYS'				=> 'שבוע',
	'TIME_1_MONTH'				=> 'חודש',
	// Search back

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: [BETA] Search back (x minutes, days, month)

Post by Balint » Tue Mar 04, 2008 3:34 pm

Hi...

and thanks for all the contributions.

The MOD was declined in ths version by the MODDB team due to validation errors mainly on the XHTML end. It's working in phpBB 3.0 GOLD and I try to fulfill the MODDB requirements at the moment. So yes, you can use this MOD on your phpBB without problems but your page will not be validate as HTML strict anymore.

I hope that I can work out a new version within a week.


Greets,
Bálint

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: [BETA] Search back (x minutes, days, month)

Post by Balint » Wed Mar 19, 2008 7:53 pm

Just a quick update: after some troubles I managed to iron out the validation errors and after making a dumb mistake in packaging version 1.0.2 is waiting for approval. Meanwhile you can download the updated (still BETA) version - see updated link above.

dmtalon
Registered User
Posts: 37
Joined: Tue May 07, 2002 12:06 am
Location: Florence, KY
Contact:

Re: [BETA] Search back (x minutes, days, month)

Post by dmtalon » Wed Mar 26, 2008 3:48 pm

I have installed this mod onto a phpBB3 (Gold) forum and my IE7 users (ya ya... trying to teach them) are experiencing a problem when using this mod.

When they use the pull-down to select a time to search back. They are given the search results correctly. From there they will go into a thread/post they were looking for.

The problem comes when they hit the 'back' button. They get a 'page expired' message

Image

With Firefox things work perfect. Any ideas would be greatly appreciated.

Thanks,

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: [BETA] Search back (x minutes, days, month)

Post by Balint » Wed Mar 26, 2008 9:22 pm

Hi!

After looking into the code and wildly changing things I realized that the quicksearch on the main page in subsilver produces the same error. There's even a bug tracker entry here:

http://www.phpbb.com/bugs/phpbb3/ticket ... t_id=22645

Regarding to the last entry on page 2 the team knows of this effect and will not change it. I'll see what I can do on my side.


Regards,
Bálint

Locked

Return to “[3.0.x] MODs in Development”