View Full Version : [vBadvanced CMPS v2.2.1] News - 2 Columns
Mr_Snob
01-23-2007, 10:00 PM
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
01-24-2007, 11:56 AM
thanks
(ewy. dostum kaç gündür bunu arıyordum)
Mr_Snob
01-24-2007, 11:57 AM
thanks
(ewy. dostum ka? g?nd?r bunu arıyordum)
dont forget click to install my buddy :)
dt-pain
01-24-2007, 02:40 PM
Very nice. "clicks installed"
Brandon Sheley
01-24-2007, 03:12 PM
very nice :)
KW802
01-24-2007, 04:25 PM
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
01-24-2007, 10:18 PM
thanks hasann
you have present a nice mod
dont forget click to install;)
Mr_Snob
01-25-2007, 12:12 AM
Glad you like it
thanks guys :)
maxicep
01-29-2007, 07:41 AM
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-31-2007, 11:50 PM
:up: One word for this hack: Tight!:D
akulion
02-01-2007, 12:28 PM
very good and interesting
ill try it a bit later
thanks
Cybershaolin
02-03-2007, 05:19 AM
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
02-18-2007, 02:19 PM
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
02-18-2007, 02:22 PM
I wonder how this would look on a fixed skin?
Cybershaolin
02-18-2007, 05:21 PM
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...
02-19-2007, 06:40 PM
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
05-17-2007, 08:54 PM
Same here, works in Firefox fine but in IE it stretches too far:
http://www.bilatserkva.com/portal.php
MoB Dudditz MD
05-18-2007, 12:20 PM
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
05-22-2007, 06:07 PM
saol (nice);)
karlm
05-23-2007, 12:55 AM
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
05-23-2007, 10:53 AM
thanks very nice ;)
saol dostum ?ok g?zel olmuş ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.