DJD
10-28-2008, 08:17 AM
Hello there.
I am experiencing an issue with the news module in the forum that gars is installed. I have two news forums both working with gars template. In the one that we do multipage reviews with the [break] tag in the frontpage we get a random page from the review and not the first one. Morgan from Gars was kind enough to explain this to me:
Untested, but the following should remove the break tags, though you'll need to look at the vBa code for where to place the line as I'm not familiar with vBa code:
$post_text = preg_replace('#\[\/?break.*\]#iU', '', $post_text);
you will probably need to change $post_text to whatever variable name is used by vBa.
but i have no idea how to use this information. Can you help please?
Thanks in advance :)
I am experiencing an issue with the news module in the forum that gars is installed. I have two news forums both working with gars template. In the one that we do multipage reviews with the [break] tag in the frontpage we get a random page from the review and not the first one. Morgan from Gars was kind enough to explain this to me:
Untested, but the following should remove the break tags, though you'll need to look at the vBa code for where to place the line as I'm not familiar with vBa code:
$post_text = preg_replace('#\[\/?break.*\]#iU', '', $post_text);
you will probably need to change $post_text to whatever variable name is used by vBa.
but i have no idea how to use this information. Can you help please?
Thanks in advance :)