![]() |
Only Show Articles Link in Profile if User has Articles
Hi, I'd like to only show the articles link in the user profile if they have written articles. I understand that I can accomplish this through if conditions in the template but is there a variable or function that I can use that will give me an article count for the user?
Thanks! |
It doesn't currently show in the postbit, so you would actually need to run a query for each post on the page to find out how many articles the user has written and then use the template_hook to print it out.
|
All times are GMT. The time now is 10:55 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|