mferguson
06-04-2004, 03:28 PM
I'm running vba with vb 3.0.1 and have found what I think is a problem with vb.
If I follow the instructions in the vba documentation (http://www.vbadvanced.com/membersarea.php?do=viewmanual&productid=4&pageid=6) to add a left column so that it is displayed when viewing the FORUMHOME template (forums/index.php) the display is performed correctly except when I enable the latesttopics module to be displayed in the left column.
In looking at the code in forums/index.php it appears that when the latesttopics module is enabled, the $forumid variable is not initialized and $forumbits is not set...preventing the list of forums from being displayed.
Backtracking into more code I looked at the code in modules/latesttopics.php and found that the line
$foruminfo['allowratings'] = $vba_options['portal_threads_showrating'];
creates the problem but if commented out does not. As I'm not the most familiar with the $foruminfo variable and its behavior in other parts of vB can any A) verify the same problem and B) have any idea on how to resolve this problem?
Thanks for your help!
Mark
If I follow the instructions in the vba documentation (http://www.vbadvanced.com/membersarea.php?do=viewmanual&productid=4&pageid=6) to add a left column so that it is displayed when viewing the FORUMHOME template (forums/index.php) the display is performed correctly except when I enable the latesttopics module to be displayed in the left column.
In looking at the code in forums/index.php it appears that when the latesttopics module is enabled, the $forumid variable is not initialized and $forumbits is not set...preventing the list of forums from being displayed.
Backtracking into more code I looked at the code in modules/latesttopics.php and found that the line
$foruminfo['allowratings'] = $vba_options['portal_threads_showrating'];
creates the problem but if commented out does not. As I'm not the most familiar with the $foruminfo variable and its behavior in other parts of vB can any A) verify the same problem and B) have any idea on how to resolve this problem?
Thanks for your help!
Mark