Archive for Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
  Forum Index -> PhpBB3 General Support

Recent Post Dropdown Box


Enter your myff forum url here, if the issue is on a particular part of the forum, then give a link to where the problem actually is. Do not enter your own domain name it must be the actual myff link :

If you are asking a template related question, what is the name of the template: overall_header.html  index_body.html  search_body.html

Please indicate keywords you have searched on: search recent posts dropdown

Now ask your question in clear English without "txt" speak>>>>

When using phpbb2 I used the code you provided for the "Recent Post" dropdown box and after amending it slightly to give more options I put it in index_body.html:
<form action="search.php?mode=results&search_author=*" method="POST">Recent Posts&nbsp;<select class="gensmall" name="search_time"><option value="1">1 Day</option><option value="3">3 Days</option><option value="7">7 Days</option><option value="14">14 Days</option><option value="30">30 Days</option></select>&nbsp;<input type="submit" class="gensmall" value="Go" name="submit" /><input type="hidden" name="show_results" value="topics"><input type="hidden" name="sort_by" value="0"><input type="hidden" name="sort_dir" value="DESC"></form>

This worked wonderfully for six and a half years but since migrating to phpbb3 last month, I am having huge problems getting a similar dropdown box to work now and it is upsetting the troops who had grown to love the added feature.

I have had a look at the phpbb3 version of search_body.html and hoped to use some of that code which has a similar dropdown box but the variables/parameters within the code are different - such as the name "search_time" is now "st" and so on. The old form also used
action="search.php?mode=results&search_author=*" method="POST"
but this is not the case in the phpbb3 search_body.html.

So, what do I have to do to get the right action, method and other variable/parameter names correct for it to work.

BTW, I am using a modified version of subsilver2.


Dave Forum Index -> PhpBB3 General Support
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum