Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 10-04-2004, 02:31 PM
hackgirl hackgirl is offline
 
Join Date: Sep 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 10-04-2004, 02:42 PM
Colin F's Avatar
Colin F Colin F is offline
 
Join Date: Jul 2004
Location: Switzerland
Posts: 1,551
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 10-04-2004, 03:20 PM
hackgirl hackgirl is offline
 
Join Date: Sep 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 10-04-2004, 03:34 PM
Colin F's Avatar
Colin F Colin F is offline
 
Join Date: Jul 2004
Location: Switzerland
Posts: 1,551
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #5  
Old 10-04-2004, 03:40 PM
Colin F's Avatar
Colin F Colin F is offline
 
Join Date: Jul 2004
Location: Switzerland
Posts: 1,551
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 10-04-2004, 03:43 PM
hackgirl hackgirl is offline
 
Join Date: Sep 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Colin
I will give it a try
Reply With Quote
  #7  
Old 10-04-2004, 04:37 PM
hackgirl hackgirl is offline
 
Join Date: Sep 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 10-04-2004, 05:40 PM
hackgirl hackgirl is offline
 
Join Date: Sep 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updateded

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

Works great now.

Thanks
Reply With Quote
  #9  
Old 10-09-2004, 03:04 PM
SpadMan SpadMan is offline
 
Join Date: Sep 2004
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 09-11-2005, 07:53 PM
kwopper kwopper is offline
 
Join Date: Oct 2004
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:56 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.04006 seconds
  • Memory Usage 2,244KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete