vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - Left side column on forum home only (https://vborg.vbsupport.ru/showthread.php?t=117988)

ChavMagnet 09-23-2006 04:23 PM

Very nice easy to install and works great thank you.

chriszep 09-26-2006 08:26 AM

hello
it's worlks fine but when the name of my photo is long , the collumn stretch larger
see
http://img170.imageshack.us/img170/6765/sidegy1.jpg



how to make it not to stretch ?


this is my code

Code:

<!-- peterska2 side column -->

<table border="0" width="100%" align="center">
<tr>
<td valign="top" width="160px">
<table class="tborder" border="0" width="100%" align="center">
$sidecolumn
</table>
</td>
<td>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<!-- / peterska2 side column -->




Code:

<tr>
<td class="alt1">
<a href="http://www.colleurs-de-plastique.com/rss/ajoutrss.html"><img src="http://www.colleurs-de-plastique.com/rss/galerie_rss.jpg" alt="ajouter les dernieres photos sur votre site !" width="85" height="15" border="0" /></a>

<script language="JavaScript" src="http://www.colleurs-de-plastique.com/rss/feed2js/feed2js.php?src=http%3A%2F%2Fwww.colleurs-de-plastique.com%2Fgalerie%2Frss.php%3Ftype%3Drss2&num=5&html=a" type="text/javascript"></script>

<noscript>
<a href="http://www.colleurs-de-plastique.com/rss/feed2js/feed2js.php?src=http%3A%2F%2Fwww.colleurs-de-plastique.com%2Fgalerie%2Frss.php%3Ftype%3Drss2&num=5&html=y">View RSS feed</a>
</noscript>
</td>
</tr>

<tr>
<td class="alt1">

<a href="http://xxx.com/rss/ajoutrss.html#reviewkit"><img src="http://xxx.com/rss/reviewkit_rss.jpg" alt="ajouter les dernieres reviews sur votre site !" width="85" height="15" border="0" /></a>

<script language="JavaScript" src="http://xxx.com/rss/feed2js/feed2js.php?src=http%3A%2F%2Fwww.colleurs-de-plastique.com%2Freviewkit%2Frss.php%3Ftype%3Drss2&num=5&html=a" type="text/javascript"></script>

<noscript>
<a href="http://xxx.com/rss/feed2js/feed2js.php?src=http%3A%2F%2Fwww.colleurs-de-plastique.com%2Freviewkit%2Frss.php%3Ftype%3Drss2&num=5&html=y">View RSS feed</a>
</noscript>
<script type="text/javascript"><!--
google_ad_client = "pub-4388736907268564";
google_ad_width = 120;
google_ad_height = 90;
google_ad_format = "120x90_0ads_al";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "FFFFFF";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>


THANKS

dieselpowered 09-29-2006 09:25 PM

Could someone be kind enough to tell me why this is happening?

http://www.dieselpowered.net/forums/showthread.php?t=1

I have it on FORUMHOME and FORUMDISPLAY working fine...just does not want to work on SHOWTHREAD.

Thanks in advance!

peterska2 09-30-2006 01:23 AM

@ chriszep - this is working as designed as it will not wrap single words.

peterska2 09-30-2006 01:26 AM

@ xtreme - this is not designed to work on all pages. try the one by amykhar.

farooqaaa 10-06-2006 12:18 AM

How to add the MOD to all pages ?

johnstires 10-06-2006 01:45 AM

Can someone help me understand how to get this to work in the showthread display?

I have a fixed width of 900px and the posts get pushed outside the table.

It works great on all my other pages. Nice Mod!

dieselpowered 10-06-2006 03:04 AM

Quote:

Originally Posted by johnstires
Can someone help me understand how to get this to work in the showthread display?

I have a fixed width of 900px and the posts get pushed outside the table.

It works great on all my other pages. Nice Mod!

It does not work in the showthread....Sorry.

voteforbird 10-06-2006 03:06 AM

Why is that? I'm not sure what's causing it as the same code on forumhome and forumdisplay has no issues.

http://www.volconvo.com/images/problem.gif

voteforbird 10-06-2006 04:39 AM

So, I solved the SHOWTHREAD problem. I'm just amazing like that. It took me a couple hours to track down all the right variables and templates, too.
  • Create a new template called 'spacer_open_showthread' with the following content:
    Quote:

    <!-- open content container -->
    <if condition="$show['old_explorer']">
    <table cellpadding="0" cellspacing="0" border="0" width="540" align="center"><tr><td class="page" style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
    <else />
    <div align="center">
    <div class="page" style="width:540px; text-align:$stylevar[left]">
    <div style="padding:0px $stylevar[spacersize]px 0px $stylevar[spacersize]px">
    </if>
    …replacing both instances of 540 with your desired width of the postbits
  • Add the following line in showthread.php:
    Quote:

    'spacer_open_showthread',
    below
    Quote:

    'editor_jsoptions_size',
  • Change all instances of $spacer_open to $spacer_open_showthread in templates postbit_wrapper, SHOWTHREAD and showthread_list
  • Add the appropriate column code to SHOWTHREAD
Tada! For a live example, please see http://www.volconvo.com/forums/

Enjoy :)


All times are GMT. The time now is 10:58 AM.

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.02676 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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