PDA

View Full Version : Latest topics module breaks forum display


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

Brian
06-04-2004, 03:59 PM
Check this post (http://www.vbadvanced.com/forum/showthread.php?t=1076) in the bugs forum, or upgrade the latest version of the CMPS. ;)

Our Sponsors
 

mferguson
06-05-2004, 12:22 AM
Brian,
Thanks for the link. I had searched the site but had not found mention of this issue.

Also, thanks for the latest release. I must have downloaded the previous release only the day before.

Mark :D