vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Expanded Get New Posts - Hours, Minutes and Even Seconds (https://vborg.vbsupport.ru/showthread.php?t=82872)

bashy 01-30-2006 09:02 PM

cheers Amy, seems to be working great atm :)

Joey805 01-30-2006 09:06 PM

I am pretty sure my search.php is correct because i can use this url and it works correctly to pull up posts modified in the last hour: http://www.domainname.com/forum/sear...tdaily&hours=1

I think the problem is with the code in the template because I dont even get the drop down menu showing the choices of times.

I tried this 3 times and still cant get it working? Does me running the Legacy (Vertical) Postbit Template setting have anything to do with this?

Thanks,

Joey

Joey805 01-30-2006 09:25 PM

Ahhh just got it workin! Missed one thing in the navbar..hehe

Joey805 02-02-2006 04:59 AM

OK, I just ran into a little glitch when using this. Whenever I click on QUICK LINKS and then TODAYS POST I get two Nav Bars and also double arrows next to the drop down menus.

Attached is a screen shot of this. How do I fix it?

amykhar 02-02-2006 09:50 AM

You undo your navbar edits and try again.

IrPr 02-06-2006 12:47 AM

Amy u do update ur Hack ?

amykhar 02-06-2006 01:20 AM

Yes. I fixed the typos in the install directions

cmiller1014 02-15-2006 05:16 AM

Amy,

Does this only require a file edit because of the minutes, and seconds thing? How would I do it as a hook? I want no file edits, i dont care how resource intensive it is.

Thanks!

amykhar 02-15-2006 09:53 AM

I believe Kirby posted how to do it as a hook earlier in the thread.

BaconDelight 02-16-2006 08:12 PM

As with the 3.0 version, I've added a form at the bottom of my advanced search page so users can easily search for exactly how far back they want. (I've omitted seconds because, well, who needs it? But if you want it, just add the line in there, same format as days, hours, and minutes). Note, I'm using "days2" as the variable for days. Adjust as necessary for your installation.

Just put the following code above "$footer" in your seach_forums template (adjust font colors to fit your board, of course).

Code:

<table>
<td width=200>
<fieldset class="fieldset" style="margin:0px">
<legend><font color=#FF6640>Show New Posts from the last</font></legend>
<div style="padding:$stylevar[formspacer]px">                       
<FORM ACTION=search.php?>
<input type=hidden name=do value=getdaily>
<INPUT NAME=days2 size=3 maxlength=3><font color=#FFFFFF> days,</font><br />
<INPUT NAME=hours size=3 maxlength=3><font color=#FFFFFF> hours,</font><br />
<INPUT name=minutes size=3 mazlength=2><font color=#FFFFFF> minutes.</font><br />
<br />
<INPUT TYPE=submit Value=Search></form></div>
</fieldset>       
</td>
</table>



All times are GMT. The time now is 06:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01189 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete