vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   [vBadvanced CMPS v2.2.1] News - 2 Columns (https://vborg.vbsupport.ru/showthread.php?t=137392)

Mr_Snob 01-23-2007 10:00 PM

[vBadvanced CMPS v2.2.1] News - 2 Columns
 
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


http://img180.imageshack.us/img180/7...columns6na.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

Quote:

Originally Posted by tankaya61 (Post 1166356)
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/5...rrrorrria3.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


All times are GMT. The time now is 04:49 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.02182 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete