PDA

View Full Version : [vBadvanced CMPS v2.2.1] News - 2 Columns


Mr_Snob
24 Jan 2007, 12:34
Open Your "adv_portal" Template and at the very top find this

$stylevar[htmldoctype]

Replace with this code

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Save and Close

Now Open Your "adv_portal_newsbits" Template and find this code

<if condition="!$mod_options['portal_news_legacy']">

Add Below this code


<if condition="$newscount == 1">
<table cellpadding="0" width="100%" height="100%">
</if>

<if condition="($newscount % 2)">
<tr>
</if>
<td valign="top" width="50%">

<table height="100%" align="center" border="0" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%">


very END of "adv_portal_newsbits" template add this code

</td>
</tr>
</table>
</if>
</if>


and last option to do is go your vBa CMPS > Edit Pages > Homepage > Edit > Separate News Posts > turn to NO > And Save

You Are Done :)
i hope you like it


http://img180.imageshack.us/img180/7088/twocolumns6na.gif

tankaya61
24 Jan 2007, 12:56
thanks

(ewy. dostum kaç gündür bunu arıyordum)

Mr_Snob
24 Jan 2007, 12:57
thanks

(ewy. dostum kaç gündür bunu arıyordum)

dont forget click to install my buddy :)

dt-pain
24 Jan 2007, 15:40
Very nice. "clicks installed"

Brandon Sheley
24 Jan 2007, 16:12
very nice :)

KW802
24 Jan 2007, 17:25
That's a nice solution for something that people have been asking for and it doesn't require any changes to the module code.... nice job!

kenanulas
24 Jan 2007, 23:18
thanks hasann
you have present a nice mod

dont forget click to install;)

Mr_Snob
25 Jan 2007, 01:12
Glad you like it
thanks guys :)

maxicep
29 Jan 2007, 08:41
take an error:
error reason rights sides Spacer Size = 0 on IE6

http://img263.imageshack.us/img263/5008/errrrorrria3.png

mozilla works normal, IE take this error. How can we corret this ?

Bison
01 Feb 2007, 00:50
:up: One word for this hack: Tight!:D

akulion
01 Feb 2007, 13:28
very good and interesting

ill try it a bit later

thanks

Cybershaolin
03 Feb 2007, 06:19
Works very well with Firefox.

I have a problem with IE though. It seems that it's spreading the page to wide. How to get rid of this?

maxicep
18 Feb 2007, 15:19
Works very well with Firefox.

I have a problem with IE though. It seems that it's spreading the page to wide. How to get rid of this?

i take this problem too.

problem reason is
HTML 4.01 ,vBulletin using HTML 1.0 .

Shazz
18 Feb 2007, 15:22
I wonder how this would look on a fixed skin?

Cybershaolin
18 Feb 2007, 18:21
i take this problem too.

problem reason is
HTML 4.01 ,vBulletin using HTML 1.0 .

Ok but is there a solution within the hack or by changing something?

Jay...
19 Feb 2007, 19:40
anyway you could modify this so we could have the news split into 2 columns on one row, 1 column on the next etc etc?

f1vlad
17 May 2007, 21:54
Same here, works in Firefox fine but in IE it stretches too far:

http://www.bilatserkva.com/portal.php

MoB Dudditz MD
18 May 2007, 13:20
You can get the best of both worlds by copying the news.php module
and naming it news2.php
Then edit lines 295 & 308 where the file fetches the template to call
to your modded remake (example: adv_portal_newsbits2)
What this does is allows you to have both single & dual news modules.
Awesome mod-Installed

TuRKMeN
22 May 2007, 19:07
saol (nice);)

karlm
23 May 2007, 01:55
I'm using this on my test localhost atm, and it works well. But there is the issue of MSIE spreading outside the dimensions of the window, thus making viewers scroll across and additionally the boxes seem to be spreading by percent - making some titles really big and others not.

http://antimisandry.com/uploads/viewer.php?id=klz1179884271q.jpg

Will there be a fix for these issues in the foreseeable future?

It works good in Opera though :)

http://antimisandry.com/uploads/viewer.php?id=bfi1179885276p.jpg

kaptanblack
23 May 2007, 11:53
thanks very nice ;)

saol dostum çok güzel olmuş ;)