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)

Anne Lise 10-29-2005 05:59 PM

Sorry - I did the changes in an old design :) Everything is fine now :)

BaconDelight 11-11-2005 09:23 PM

For the old version of this, I created a box on the Advanced Search page that allows users to input exactly how many hours, instead of having a pre-determined drop down list. See screenshot. If anyone's interested, I'll work on doing it again.

redspider 11-12-2005 09:59 AM

Quote:

Originally Posted by Beermonster
Thanks for this, just a little mistake in your get hours, you had 2 4's instead of 4 & 8 :)

anyway for a little more overkill use this, it add's
Find all your posts
Find all your threads
Get all unanswered posts

:)

Code:

        <if condition="$show['searchbuttons']">
                <div class="vbmenu_popup" id="navbar_posts_menu" style="display:none">
                        <table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[get_posts_nav]</td></tr>
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">Get All New Posts</a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&minutes=15" accesskey="2">Last 15 Minutes</a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&minutes=30" accesskey="2">Last 30 Minutes</a></td></tr>
                       
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&hours=1" accesskey="2">Last Hour</a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&hours=2" accesskey="2">2 Hours</a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&hours=4" accesskey="2">4 Hours</a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&hours=8" accesskey="2">8 Hours</a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&hours=12" accesskey="2">12 Hours</a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&days=1" accesskey="2">1 Day</a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&days=2" accesskey="2">2 Days</a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&days=3" accesskey="2">3 Days</a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily&days=4" accesskey="2">4 Days</a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=process&amp;showposts=0&amp;starteronly=1&amp;exactname=1&amp;searchuser=$bbuserinfo[urlusername]"><phrase 1="$bbuserinfo[username]">Find All Your Threads</phrase></a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$bbuserinfo[userid]"><phrase 1="$bbuserinfo[username]">Find All Your Posts</phrase></a></td></tr>
<tr><td class="vbmenu_option"><a href="search.php?do=process&replyless=1&replylimit=0&dontcache=1">Get Unanswered Posts</a></td></tr>
                        </table>
                </div>
        </if>


for some reason after the search the drop menu dont work any more I have to go back to forum main to search again thats how it only work for me .

any idea why?
Tia

amykhar 11-12-2005 01:50 PM

If you don't place the code correctly in the template, that can happen.

BaconDelight 11-12-2005 07:14 PM

Okay, I've created a manual input form for the Advanced Search page where a user can put in an exact number of days, hours, and/or minutes to search back.

aciurczak 11-15-2005 05:48 AM

Love this mod! I'm trying to futz with the last search in the modification in this thread, showing all unanswered threads (which works great as is).

What I want is all unanswered threads in all forums except for forum #17, but I just can't seem to add the forumchoice parameter correctly. Any vb search gurus able to help a guy out? here is the existing code:

Code:

<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=process&amp;replyless=1&amp;replylimit=0&amp;dontcache=1">Get Unanswered Posts</a></td></tr>
What I have tried is this:
Code:

<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=process&amp;replyless=1&amp;replylimit=0&amp;forumchoice=[2,3,4]&amp;dontcache=1">Get Unanswered Posts</a></td></tr>
I was going to add all forums but #17, but the search.php seems to not use the forumchoice parameter.

OK, found it. This appears to be working:

Code:

<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=process&amp;replyless=1&amp;replylimit=0&amp;forumchoice[]=2&amp;forumchoice[]=4&amp;forumchoice[]=5&amp;forumchoice[]=6&amp;forumchoice[]=7&amp;forumchoice[]=9&amp;forumchoice[]=10&amp;forumchoice[]=11&amp;forumchoice[]=19&amp;forumchoice[]=23&amp;forumchoice[]=24&amp;dontcache=1">Get Unanswered Posts</a></td></tr>

djjeffa 11-19-2005 08:29 PM

I dont have new post in my nav bar because its a cousom template but i did find this in the header
Code:

<if condition="$bbuserinfo['userid']">
                  <li class="n_post"><a class="n_post" href="search.php?$session[sessionurl]do=getnew" title="$vbphrase[new_posts_nav]" rel="nofollow"><span>$vbphrase[new_posts_nav]</span></a></li>
            <else />

when i replace it with this
Code:

<if condition="$show['member']">
<td id="navbar_posts" class="vbmenu_control"><a href="search.php?$session[sessionurl]" accesskey="2">New Posts</a> <script type="text/javascript"> vbmenu_register("navbar_posts"); </script></td>
<else />

i get quick lincks 2 times in a row and adn i dont have any newpost buttons lol andy ideals how to get this work.

croportal 11-28-2005 06:12 PM

where can i change langugage of this

icemann 11-29-2005 11:18 AM

Thank you Amy, great hack & easy to install.....installed.

and thanks to BaconDelight as well, great lil feature.

croportal 12-04-2005 09:03 PM

i have problem, 2 times showning 4 hours


All times are GMT. The time now is 07:54 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.01096 seconds
  • Memory Usage 1,750KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_quote_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