Jump to content

New Posts Link?


tekguru

Recommended Posts

Posted

Is it possible to add a 'New Posts' link to all pages as the site of 'View New Content'?

That is a link similar to new content, but one that always goes to the new posts/forums tab in new content instead of new content default which is referential to the area one is in?

Posted

Cheers, I'm noe sure if it would be as simple as adding:

http://www.smartphonegurus.com/forums/index.php?app=core&module=search&do=new_posts&search_filter_app[forums]=1



Into a link?

Posted

I had a similar question and created a ticket about it awhile back:




                        <li><a href='{parse url="app=core&amp;module=search&amp;do=<if test="ncmember:|:$this->memberData['member_id']">new_posts<else />active</if>&amp;search_filter_app[<if test="viewnewcontentapp:|:$this->registry->getCurrentApplication() != 'core' AND IPSSearchIndex::appIsSearchable( $this->registry->getCurrentApplication() )">{$this->registry->getCurrentApplication()}<else />forums</if>]=1" base="public"}' accesskey='2'>{$this->lang->words['view_new_posts']}</a></li>

to

                        <li><a href='{parse url="app=core&amp;module=search&amp;do=<if test="ncmember:|:$this->memberData['member_id']">new_posts<else />active</if>&amp;search_filter_app[forums]=1" base="public"}' accesskey='2'>{$this->lang->words['view_new_posts']}</a></li>




And that will do what you want.

Jason
IPS Support




It's not a "New Posts" link, but it does link to the new posts regardless of what section you're in.
Posted

I had a similar question and created a ticket about it awhile back:







It's not a "New Posts" link, but it does link to the new posts regardless of what section you're in.




Can I see that on a forum somewhere as a guest? Or a screen shot? I'm incredibly interested.
Posted

I had a similar question and created a ticket about it awhile back:



It's not a "New Posts" link, but it does link to the new posts regardless of what section you're in.




Grin, thanks for that :) I worked out the self same thing myself yesterday afternoon, still not as good as in vB but it works!
Posted

If I'm understanding you right, then what you need can be done with a simple skin edit, in 3.1 the link would be something like:

{$this->settings['_base_url']}app=core&module=search&do=new_posts&search_app=forums

  • 2 months later...
Posted

I had a similar question and created a ticket about it awhile back:







It's not a "New Posts" link, but it does link to the new posts regardless of what section you're in.




Any ideas as to how to change this on 3.1?
Posted

<li><a href='{parse url="app=core&module=search&do=<if test="ncmember:|:$this->memberData['member_id']">new_posts<else />active</if>&search_filter_app[forums]=1" base="public"}' accesskey='2'>{$this->lang->words['view_new_posts']}</a></li>

Will still work.

1. Find

<li><a href='{parse url="app=core&amp;module=search&amp;do=<if test="ncmember:|:$this->memberData['member_id']">new_posts



2. Follow it through the end until you see </li>

3. Replace it with what I quoted above.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...