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).
Welcome to DevFuse Forums
- 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
Help fund your forum with donations, setup goals and track member donations. Offer rewards for members donating.
Have your members submit their race times and share with others.
Allows your members to submit their own videos for community viewing. Support is included for all the major video sites.
Build your own forms for your members without coding experience. Support included for pm, email and topics.
Build a community database of items for your members. Full features custom fields included.
[IPS] Content Article Count in UserInfo
No replies to this topic