The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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.. |
#2
|
|||
|
|||
Use $vbulletin->products['vbcms'] and $vbulletin->products['vbblog']
|
#3
|
|||
|
|||
Thank you very much!
F. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|