Results 1 to 4 of 4
-
26th May 2012, 08:02 PM #1OPMember
"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
-
26th May 2012, 08:35 PM #2Respected Member
find in template Global Templates->globalTemplate:
Code:<li id='nav_explore' class='right'> <a href='{parse url="app=core&module=search&do=viewNewContent&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>
Code:<li id='nav_explore' class='right'> <a href='{parse url="app=core&module=search&do=viewNewContent&search_app_filters[{$this->registry->getCurrentApplication()}][searchInKey]=&change=1&period=week&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)
-
26th May 2012, 09:01 PM #3OPMember
thanks too much
going to give a try
---------- Post added at 09:01 PM ---------- Previous post was at 08:41 PM ----------
it works...
thanks..
-
27th May 2012, 02:22 PM #4Respected Member
You are welcome.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Should KWWHunction use the "Miserable User" Modification?
By DOPE in forum Polling PlazaReplies: 10Last Post: 11th Sep 2011, 11:09 PM -
How can I make my Back-up website "Immediately" to replace my "Original Site"??
By fuchen in forum Webmaster DiscussionReplies: 11Last Post: 13th Aug 2011, 04:14 PM -
Finally "Avatar" Breaks "Titanic" All Time Worldwide
By Last Word in forum General DiscussionReplies: 36Last Post: 5th Aug 2011, 08:06 AM -
hofile error "Content-Type is text/html" resolver
By darshan2007 in forum Completed TransactionsReplies: 5Last Post: 26th Jan 2010, 06:20 AM -
" Linking to infringing content is probably illegal in the US"
By Lease in forum Legal IssuesReplies: 8Last Post: 1st May 2008, 09:13 PM
themaCreator - create posts from...
Version 3.22 released. Open older version (or...