![]() |
How to check if blog is installed?
Hi, i was wondering if there is a better way to check if blog (suite) is installed.
I'm doing an external userpage.. and want some links on that page.. example: if the site has suite installed, then add a link to users blog and users profile, if the site has NOT blog installed then link only to users profile. (I am not on a blog page.. so I cant do a THIS_SCRIPT check) I thought of 2 ways of doing this... 1. check if file_exists blog.php, if yes then show the link, if no then not.. 2. check if there are blog options in vbulletin->options: PHP Code:
Anybody have any ideas? thanx in advance Felix PS: i only want to check if the site has suite installed and blog active.. not if the user has created his own blog.. |
Use $vbulletin->products['vbcms'] and $vbulletin->products['vbblog']
|
Thank you very much!
F. |
All times are GMT. The time now is 01:38 AM. |
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:
|