PDA


View Full Version : For vbArticles top 3 featured


sean
06-08-2005, 06:24 PM
I noticed that this was asked by some people at vbulletin.org and I think I saw some asking here as well. For some, after the upgrade to vbadvanced v2, the Cinq's vbArticle module stopped showing the article images. What I found out was that you need to change two things,

Here is what I did,

to fix the problem, open up your includes/vba_cmps_include_top.php and find $cmps_options = unserialize($datastore['adv_portal_opts']);

above that, add,
$vbart_options = unserialize($datastore['vbart_options']);

Also, instead of adding this to the global.php, add it to your ./includes/vba_cmps_include_template.php

$specialtemplates = array_merge($specialtemplates,
array(
'adv_modules',
'adv_portal_opts',
'attachmentcache',
'bbcodecache',
'birthdaycache',
'eventcache',
'iconcache',
'maxloggedin',
'smiliecache',
'userstats',
'vbart_options'
)
);


hope that this helps those that had the same problem.

==========edit==============
I have also attached the module here, for those who want to download the .module file.

TTG
06-08-2005, 08:21 PM
Thanks sean .. works well.

sean
06-09-2005, 12:57 AM
no problem TTG ;)

wirewolf
06-20-2005, 11:22 PM
BINGO! Did the trick! Thanks sean. It was driving me batty!
John

sean
06-21-2005, 01:29 AM
no problem John :)

RBasil
06-23-2005, 04:47 AM
What exactly does this do?

wintermute
06-28-2005, 10:30 PM
How do you use a ".module" file? I swear I'm brain dead at times, never mind..

wintermute
07-31-2005, 05:46 PM
well, I maybe just dense, but I don't have a vbart_options in my datastore table

sean
08-05-2005, 01:33 AM
Please read the instructions carefully, you don't have vbart_options because that is what you have to add in yourself ;)