Jakeman
06-15-2002, 08:23 AM
my objective: to duplicate a forum in my forumbits so it is displayed twice on my forumhome, at two different spots.
problem i'm having: the variables i am putting the forum values into are not being passed into the next loop when the while loop repeats itself. the result is a duplicate forum without any values for variables in the forumbit template (basically a blank row in my forumhome forum listing).
fyi: i have copied the function i am modifying from the forum/index.php file for vB 2.2.6 (see attached file). my code additions are marked with comments. there are two sections of my code. the top section assigns variable values during a certain loop, the bottom section uses those values in a later loop.
question: how do i pass on the variable values so they can be used in a later instance of the while loop? or am i wrong about the problem and is this not the right question? ;)
thx for any help :)
problem i'm having: the variables i am putting the forum values into are not being passed into the next loop when the while loop repeats itself. the result is a duplicate forum without any values for variables in the forumbit template (basically a blank row in my forumhome forum listing).
fyi: i have copied the function i am modifying from the forum/index.php file for vB 2.2.6 (see attached file). my code additions are marked with comments. there are two sections of my code. the top section assigns variable values during a certain loop, the bottom section uses those values in a later loop.
question: how do i pass on the variable values so they can be used in a later instance of the while loop? or am i wrong about the problem and is this not the right question? ;)
thx for any help :)