Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[vBadvanced CMPS v2.2.1] News - 2 Columns Details »»
[vBadvanced CMPS v2.2.1] News - 2 Columns
Version: 1.00, by Mr_Snob Mr_Snob is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Version: 3.6.4 Rating:
Released: 01-23-2007 Last Update: Never Installs: 21
 
No support by the author.

Open Your "adv_portal" Template and at the very top find this

Code:
$stylevar[htmldoctype]
Replace with this code

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

Code:
<if condition="!$mod_options['portal_news_legacy']">
Add Below this code

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
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


Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-01-2007, 12:28 PM
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very good and interesting

ill try it a bit later

thanks
Reply With Quote
  #13  
Old 02-03-2007, 05:19 AM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #14  
Old 02-18-2007, 02:19 PM
maxicep maxicep is offline
 
Join Date: Oct 2006
Location: California
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cybershaolin View Post
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
Code:
HTML 4.01
,vBulletin using
Code:
HTML 1.0
.
Reply With Quote
  #15  
Old 02-18-2007, 02:22 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wonder how this would look on a fixed skin?
Reply With Quote
  #16  
Old 02-18-2007, 05:21 PM
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by maxicep View Post
i take this problem too.

problem reason is
Code:
HTML 4.01
,vBulletin using
Code:
HTML 1.0
.
Ok but is there a solution within the hack or by changing something?
Reply With Quote
  #17  
Old 02-19-2007, 06:40 PM
Jay... Jay... is offline
 
Join Date: Jan 2006
Location: Sunderland, UK
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #18  
Old 05-17-2007, 08:54 PM
f1vlad's Avatar
f1vlad f1vlad is offline
 
Join Date: Apr 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same here, works in Firefox fine but in IE it stretches too far:

http://www.bilatserkva.com/portal.php
Reply With Quote
  #19  
Old 05-18-2007, 12:20 PM
MoB Dudditz MD MoB Dudditz MD is offline
 
Join Date: Dec 2006
Location: IL
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #20  
Old 05-22-2007, 06:07 PM
TuRKMeN's Avatar
TuRKMeN TuRKMeN is offline
 
Join Date: Feb 2007
Location: Erzurum\Turkey
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

saol (nice)
Reply With Quote
  #21  
Old 05-23-2007, 12:55 AM
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Location: England
Posts: 447
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/view...179884271q.jpg

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

It works good in Opera though

http://antimisandry.com/uploads/view...179885276p.jpg
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04787 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete