vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Home Enhancements - Add link "Today's posts" in quicks Links (https://vborg.vbsupport.ru/showthread.php?t=230302)

indyonline 12-09-2010 01:59 AM

Quote:

Originally Posted by Allan (Post 1936459)
Above the first:

Code:

<li><a href="subscription.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase subscribed_threads}</a></li>

These are the real, working install instructions.

Thanks man.

Dez_U 12-24-2010 08:23 PM

Great, thanks for this, have had lots of complaints about this, cheers

Detay 12-27-2010 08:01 PM

thanks man

bintoro 01-06-2011 07:12 AM

Thanks to Videx and original post. Installed.

M!K3 01-12-2011 12:08 PM

Perfect...
i modified it a little bit to put all these nice Searchlinks in one menu

After
PHP Code:

{vb:raw template_hook.navbar_after_getnew

Insert
PHP Code:

<li class="popupmenu">
                        <
a href="javascript://" class="popupctrl" accesskey="7">{vb:rawphrase search_links}</a>
                        <
ul class="popupbody popuphover">
                            <
li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li>                        
                            <
li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li>    
                            <
li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post&amp;days=7">{vb:rawphrase week_posts}</a></li>
                            <
li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post&amp;days=30">{vb:rawphrase month_posts}</a></li>  
                            <
li><a href="search.php?{vb:raw session.sessionurl}do=process&amp;contenttype=vBForum_Post&amp;replyless=1&amp;replylimit=0&amp;exclude=30">{vb:rawphrase replyless_posts}</a></li
                        </
ul>
                    </
li


voglermc 01-12-2011 12:54 PM

Quote:

Originally Posted by M!K3 (Post 2147981)
Perfect...
i modified it a little bit to put all these nice Searchlinks in one menu

Not working in 4.1.1 but thanks!

COL NIL SATIS 01-14-2011 04:43 PM

thanks,nice job

RichieBoy67 01-16-2011 02:45 PM

This is great Allan. Thank you so much..

Richie

hyppa 01-19-2011 11:47 AM

Works perfect in the 4.1.1.

Thanks.

traen 01-30-2011 05:44 PM

Is it possible to modify this so guests can view the daily posts as well?

Edit: Would you just need to modify this part of the code right above the today's posts line? What would you replace it with, guest? Or just "$show[]"?

Code:

<vb: if condition="$show['member']">
Edit to add again:

I only want the daily posts viewable to guests, not new posts just to clarify.


All times are GMT. The time now is 08:31 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.01375 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)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