vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Adding " Todays Post" to quick links (https://vborg.vbsupport.ru/showthread.php?t=70175)

hackgirl 10-04-2004 02:31 PM

Adding " Todays Post" to quick links
 
It there a way to add a button to the quick links to veiw all of the days post?
Some times I only get to browes at short times and when I go back later I would like to sit down and read through all the days post.

I know I can add this "/search.php?searchid=442" and find them but a button would be nice.

Thanks

Colin F 10-04-2004 02:42 PM

Quote:

Originally Posted by hackgirl
It there a way to add a button to the quick links to veiw all of the days post?
Some times I only get to browes at short times and when I go back later I would like to sit down and read through all the days post.

I know I can add this "/search.php?searchid=442" and find them but a button would be nice.

Thanks

Here on vBulletin.org it's in the quick links menu, you can add such a link with this address:

http://www.yourforum.com/search.php?$session[sessionurl]do=getdaily

hackgirl 10-04-2004 03:20 PM

Thanks Colin.
Is there a detailed document on how to add this?
Which template to edit and what to add to it?

I am no coder so it would have to be spelled out for me.

Thanks

BTW,
I tried the link on my forum and it takes me to a search page.

Colin F 10-04-2004 03:34 PM

Quote:

Originally Posted by hackgirl
Thanks Colin.
Is there a detailed document on how to add this?
Which template to edit and what to add to it?

I am no coder so it would have to be spelled out for me.

Thanks

BTW,
I tried the link on my forum and it takes me to a search page.

you'll have to have the link built in for it to work, as it has to parse $session[sessionurl]

To use it just like this, you'll need the ending /search.php?do=getdaily

I'll check if there's a tutorial on adding links to the quicklink bar...

Colin F 10-04-2004 03:40 PM

you can probably follow these instructions more or less: http://www.vbulletintemplates.com/mo...ead.php?t=6379

Just exchange the other text and link

hackgirl 10-04-2004 03:43 PM

Thanks Colin
I will give it a try

hackgirl 10-04-2004 04:37 PM

ok,
This is what I put in my navbar template.
HTML Code:

<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily ">$vbphrase[todays_posts_nav]</a></td></tr></if>
I put that right after:
HTML Code:

<tr><td class="thead">$vbphrase[quick_links]</td></tr>
I also made a new Global:
title: todays_posts_nav
text: Todays Post

But I am not seeing it under the quick links.
Guess I am lost here now.

hackgirl 10-04-2004 05:40 PM

Updateded

Figured it out. Forgot to add "s" to today in Global title.

Works great now.

Thanks

SpadMan 10-09-2004 03:04 PM

Thanks hackgirl. I also wanted to add Today's Posts to the Quick Links menu. Rather than create a new GLOBAL phrase (todays_posts_nav) I used the existing GLOBAL phrase: todays_posts.

kwopper 09-11-2005 07:53 PM

Is there a way to make this go back 3 days instead of just one?


All times are GMT. The time now is 04:47 PM.

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.01063 seconds
  • Memory Usage 1,732KB
  • 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_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete