Activity Stream
48,167 MEMBERS
6957 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 4 of 4
  1.     
    #1
    Member

    Question "View New Content" Modification

    Dears,

    this is my first post here, though it is not my first visit. I usually gain benefit from this amazing forum.

    anyway,

    I've a question regarding the "View New Content" feature on ipb

    First, here is an example for it:
    http://community.invisionpower.com/i...rch_app=forums

    Can I modify the default "By time period" from 24 hours to for example "Past Week"?

    Or is there any other way to show all recent posts without being tied to time it is posted in?

    Thanks in advance.

    Regards..
    tony33 Reviewed by tony33 on . "View New Content" Modification Dears, this is my first post here, though it is not my first visit. I usually gain benefit from this amazing forum. anyway, I've a question regarding the "View New Content" feature on ipb First, here is an example for it: http://community.invisionpower.com/index.php?app=core&module=search&do=viewNewContent&search_app=forums Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Respected Member
    find in template Global Templates->globalTemplate:
    Code: 
    <li id='nav_explore' class='right'>
    							<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app=<if test="viewnewcontentapp:|:$this->registry->getCurrentApplication() != 'core' AND IPSLib::appIsSearchable( $this->registry->getCurrentApplication() )">{$this->registry->getCurrentApplication()}<else />forums</if>" base="public"}' accesskey='2'>{$this->lang->words['view_new_posts']}</a>
    						</li>
    Change to:
    Code: 
    <li id='nav_explore' class='right'>
    							<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app_filters[{$this->registry->getCurrentApplication()}][searchInKey]=&amp;change=1&amp;period=week&amp;search_app=<if test="viewnewcontentapp:|:$this->registry->getCurrentApplication() != 'core' AND IPSLib::appIsSearchable( $this->registry->getCurrentApplication() )">{$this->registry->getCurrentApplication()}<else />forums</if>" base="public"}' accesskey='2'>{$this->lang->words['view_new_posts']}</a>
    						</li>

    period=week (one week)
    period=weeks (two weeks)
    period=year (one year)

  4.     
    #3
    Member
    thanks too much
    going to give a try

    ---------- Post added at 09:01 PM ---------- Previous post was at 08:41 PM ----------

    it works...

    thanks..

  5.     
    #4
    Respected Member
    You are welcome.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 10
    Last Post: 11th Sep 2011, 11:09 PM
  2. Replies: 11
    Last Post: 13th Aug 2011, 04:14 PM
  3. Finally "Avatar" Breaks "Titanic" All Time Worldwide
    By Last Word in forum General Discussion
    Replies: 36
    Last Post: 5th Aug 2011, 08:06 AM
  4. hofile error "Content-Type is text/html" resolver
    By darshan2007 in forum Completed Transactions
    Replies: 5
    Last Post: 26th Jan 2010, 06:20 AM
  5. Replies: 8
    Last Post: 1st May 2008, 09:13 PM

Tags for this Thread

BE SOCIAL