Log in

View Full Version : Postbit Conditional Issues


ManagerJosh
11-15-2007, 09:11 AM
I'm having problems here with this conditional:

It's placed at the top of postbit.

<if condition="$post[islastshown] AND $post[postcount] != 1 AND !$vbulletin->GPC[ajax] AND $post[postcount] % $vboptions[maxposts] != 1">
This conditional works everytime EXCEPT when the maximum number of posts is hit per page and must be put onto the next page. The result is that it posts, but generates a blank page :S.

If I'm not making sense, example:

Assuming my vBulletin Options setting I have sets that each page is allowed to have 15 posts, on the 16th, 31st, 46th, etc. post, it would post, and then suddenly redirect to a blank white page.

Seems to affect FireFox only. IE seems fine.

WhaLberg
11-16-2007, 02:13 AM
You are missing ' in your variables.

ManagerJosh
11-16-2007, 05:10 AM
It's there. It's just the HTML code block that's knocking out the single quotes.