PDA

View Full Version : is it just me, or does anyone else...


Sean S
08-04-2006, 03:07 AM
Hi there,

is it just me or anybody else find it kind of wierd that in vb 3.5 the private messages use the postbit templates.

I'm not sure if anyone else is having this problem, but the problem I'm facing is that the width of the private messages extend all the way to the right. My forums have a fixed width, but the private messages are use a variable $postbit, which apparantly has a width of the whole forum.

Has anyone found a good work around? I used the if conditions and yet still didn't find an answer.

Freesteyelz
08-04-2006, 03:20 AM
I moved my UserCP navigation at the top to span horizontally rather than vertically. That solved my problem. However, I'd use a conditional in your postbit template such as:

Add to the very top in postbit or postbit_legacy template:

<if condition="in_array(THIS_SCRIPT, array('private'))">
Your PM postbit code here...
<else />


Add to the very bottom of your postbit or postbit_legacy template:

</if>


:)

Sean S
08-04-2006, 04:11 AM
hehe thanks bro for the help, I appericiate it. I had tried that method, but no matter what I did, the width stayed the same. But I'm going to give it a try again after I finish upgrading to 3.6,

thanks again for your time ;)

Freesteyelz
08-04-2006, 04:19 AM
Remember to change the width of the main postbit Table. If you need further help let me know. :)

Sean S
08-04-2006, 04:38 AM
thank you for the offter bro, will do :)

ok I upgraded to 3.6 last night and the problem appears to be solved :)