The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How do you call multiple new_datastore_fetch?
Is there a cleaner way to do this, maybe as an array?
Code:
if ($vbulletin->options['boofo_fhstats_onoff'] AND THIS_SCRIPT == 'index') { $new_datastore_fetch[] = 'forumhomestats'; $new_datastore_fetch[] = 'member_day'; } |
#2
|
||||
|
||||
No one has any ideas on this? I am shocked!
|
#3
|
||||
|
||||
It is an array, so I'm not sure what you are asking.
|
#4
|
||||
|
||||
Is there a way to combine the two fetches without having to call them separately?
|
#5
|
||||
|
||||
Um... I don't know?
|
#6
|
||||
|
||||
Lynne, I think I figured this out. It seems to work with the following line:
Code:
$new_datastore_fetch = array_merge($new_datastore_fetch, array('forumhomestats','member_day')); |
#7
|
||||
|
||||
Cool.
|
#8
|
||||
|
||||
I edited my post above as the first example would actually overwrite the new_datastore_fetch with the new info, instead of adding to it. The correct one is posted now.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|