Jump to content


Welcome to DevFuse Forums


Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
 
Guest Message by DevFuse

(View All Products)Featured Products

  • Donations


    Help fund your forum with donations, setup goals and track member donations. Offer rewards for members donating.
  • Timeslips


    Have your members submit their race times and share with others.
  • Videos


    Allows your members to submit their own videos for community viewing. Support is included for all the major video sites.
  • Forms


    Build your own forms for your members without coding experience. Support included for pm, email and topics.
  • Collections


    Build a community database of items for your members. Full features custom fields included.

Photo

[IPS] Content Article Count in UserInfo


This topic has been archived. This means that you cannot reply to this topic.
No replies to this topic

#1 News Bot

News Bot

    Dedicated Member

  • Members
  • PipPipPipPipPip
  • 1,909 posts
  • IP.Board Version:N/A

Posted 03 August 2012 - 08:39 PM

This Hook Will add a count of the 'Articles' the member has submitted to the userInfoPane Template(Under Post count) that links to the list of 'articles' submitted.
This hook will not show, or run the query to count the 'articles' submitted, if search is disabled for 'articles', if the current user is not allowed to view or read the 'articles' database, if the member is 'inactive' and the current user is not a supermod, or if the current user is not allowed to use search.
The hook will also not show if the member has not submitted any 'articles' the user can view.
The hook will properly honor permissions of the 'Articles' Database when making counts.
This hook will honor the ACP Language Definition for 'Articles'.
This hook conditionally adds one single database Query to IPB pages using the userInfoPane template and reuses(may load once) the ccs_databases cache store, for all instances of usage on the page(not per member/template shown).

View Resource