vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBadvanced CMPS (https://vborg.vbsupport.ru/forumdisplay.php?f=101)
-   -   i need some advice (https://vborg.vbsupport.ru/showthread.php?t=78824)

Delphiprogrammi 03-26-2005 01:57 PM

i need some advice
 
hello people,

I use vbadvanced cmps and i have a problem with it that annoys me :cry: i mean the space the center column uses i would prefer it would not be so large my browser is showing me a scrollbar and i hate having to scroll from the left to the right (and it's not my screen resolution) anybody have any idea what i can do about this ? i have no idea which template i should edit and i don't wanna screw up my portal either

i need some advice you could see what i mean here (the center column)

Zachery 03-26-2005 03:25 PM

Quote:

Originally Posted by Delphiprogrammi
hello people,

I use vbadvanced cmps and i have a problem with it that annoys me :cry: i mean the space the center column uses i would prefer it would not be so large my browser is showing me a scrollbar and i hate having to scroll from the left to the right (and it's not my screen resolution) anybody have any idea what i can do about this ? i have no idea which template i should edit and i don't wanna screw up my portal either

i need some advice you could see what i mean here (the center column)

It seems you have edited the template to set it for a fixed width.

Also it doesn't look like you did all the file changes and or template changes...

Delphiprogrammi 03-26-2005 03:33 PM

well yeah,

obviously i did something wrong while editing a template and or .php files question is what file ? that template displayed there is the postbit_legacy right ? (i use this instead of postbit) strange thing is i restored the original template with no better results what the heck is wrong here i'm getting nuts :beard:

tnguy3n 03-26-2005 03:37 PM

look for templates of vba cms, some newsbits or whatever templates for center block (sorry, i'm not using vba cms so i can't tell you specifically).

Delphiprogrammi 03-26-2005 05:28 PM

hi,

thanks tnguy3n there is a template called "newsbits" i bet this one is used the display the content there in the centere column but i'm afraid to touch it what the heck i never had this problem before and it's getting me nervus :cry: even a remove reinstall of the cmps doesn't help :confused:

Zachery 03-26-2005 05:54 PM

Quote:

Originally Posted by Delphiprogrammi
hi,

thanks tnguy3n there is a template called "newsbits" i bet this one is used the display the content there in the centere column but i'm afraid to touch it what the heck i never had this problem before and it's getting me nervus :cry: even a remove reinstall of the cmps doesn't help :confused:

Try reverting the templates. :)

Delphiprogrammi 03-26-2005 06:25 PM

1 Attachment(s)
hi,

i can't revert the templates the revert button is disabled :confused: :confused:

HTML Code:

<table align="center" border="0" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%">
        <tr>
                <td class="tcat">
                        <if condition="$news['subscribed']">
                                <span style="float:$stylevar[right]"><img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" /> </span>
                        </if>
                        <if condition="$show['threadicon']">
                                <img alt="" border="0" src="$news[threadiconpath]" title="$news[threadicontitle]" />
                        </if>
                        <strong><a href="$vboptions[bburl]/showthread.php?t=$news[threadid]">$news[title]</a></strong>
                        </td>
                </tr>

                <tr>
                        <td class="alt2">
                        <if condition="$vba_options['portal_news_showrating'] AND $news['votenum']">
                                <span style="float:$stylevar[right]"><img alt="" src="$stylevar[imgdir_rating]/rating_$news[rating].gif" title="<phrase 1="$news[votenum]" 2="$news[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span>
                        </if>
                        <span class="smallfont">- <phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$news[postuserid]" 2="$news[postusername]">$vbphrase[by_x]</phrase> $vbphrase[on] $dateposted</span>

                        </td>
                </tr>
                <tr>
                        <td class="alt1" valign="top">
                        <if condition="$newsavatarurl">
                                <table align="$stylevar[left]" cellspacing="4"><tr><td><img alt=""  border="0" src="$newsavatarurl" title="$news[postusername]'s $vbphrase[a_avatar]" /></td></tr></table>
                        </if>
                        $news[message]

                        <if condition="$show['signature']">
                        <div>__________________<br />
                        $news[signature]</div>
                        </if>

                        </td>
                </tr>

                <if condition="$news['attachmentid']">
                        <tr class="alt1">
                                <td>
                                        <fieldset class="fieldset">
                                        <legend>$vbphrase[attached_files]</legend>
                                        <table>
                                                $attachment
                                        </table>
                                        </fieldset>
                                </td>
                        </tr>
                </if>

                <tr class="alt2" valign="middle">
                <td valign="middle">
                        <span style="float:right">
                        <if condition="$show['editbutton']">
                                <a href="$vboptions[bburl]/editpost.php?$session[sessionurl]do=editpost&amp;p=$news[postid]"><img alt="$vbphrase[edit_this_post]" border="0" src="$stylevar[imgdir_button]/edit.gif" /></a>
                        </if>

                        <if condition="$vba_options['portal_news_allowreplies']">
                                <a href="$vboptions[bburl]/newreply.php?$session[sessionurl]do=newreply&amp;t=$news[threadid]"><img alt="$vbphrase[reply_to_this_post]" border="0" src="$stylevar[imgdir_button]/reply_small.gif" /></a>
                        </if>

                        <if condition="$vba_options['portal_news_showsendfriend']">
                                <a href="$vboptions[bburl]/sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$news[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/sendtofriend.gif" title="$vbphrase[send_to_friend]" /></a>
                        </if>

                        <if condition="$vba_options['portal_news_showprintable']">
                                <a href="$vboptions[bburl]/printthread.php?$session[sessionurl]t=$news[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/printer.gif" title="$vbphrase[show_printable_version]" /></a>
                        </if>
                        </span>

                        <span class="smallfont">
                        <if condition="$vba_options['portal_news_allowreplies']">
                                <a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$news[threadid]">$news[replycount] <if condition="$news['replycount'] == 1">$vbphrase[reply]<else />$vbphrase[replies]</if></a> |
                        </if> $news[views] $vbphrase[views]</span>
                </td>
        </tr>

</table>
<br />

that's the template my ideas are up don't know what todo

hi,

i just made sure all the requirerd file and template edits to make vbadvanced work are there.I even restored a backup from all the database tables vbadvanced cmps uses result => nope nothing seems to help even more :confused: :confused:

hi people,

i restored this thingy like 15 times that center column keeps being to large so i guess it must be vbulletin setting somewhere but everything is 'default' hmmmm ?????? this is getting me nuts :beard: :beard: :beard: :beard: :beard: why ooh why is that colum to large??

Rich 03-29-2005 11:55 AM

Hello,
The adv_portal_newsbits handles the news module. The adv_portal_news_archive handles the news archive module.

Here is the code from my adv_portal_newsbits template. Try using mine to replace yours. Mine doesn't scroll. It adds a "Read More".

Hope this helps.

PHP Code:

<table align="center" border="0" class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]width="100%">
    <
tr>
        <
td class="tcat">
            <if 
condition="$news['subscribed']">
                <
span style="float:$stylevar[right]"><img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]/> </span>
            </if>
            <if 
condition="$show['threadicon']">
                <
img alt="" border="0" src="$news[threadiconpath]title="$news[threadicontitle]/>
            </if>
            <
strong><a href="$vboptions[bburl]/showthread.php?t=$news[threadid]">$news[title]</a></strong>
            </
td>
        </
tr>

        <
tr>
            <
td class="alt2">
            <if 
condition="$vba_options['portal_news_showrating'] AND $news['votenum']">
                <
span style="float:$stylevar[right]"><img alt="" src="$stylevar[imgdir_rating]/rating_$news[rating].gif" title="<phrase 1="$news[votenum]" 2="$news[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span>
            </if>
            <
span class="smallfont">- <phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$news[postuserid]2="$news[postusername]">$vbphrase[by_x]</phrase$vbphrase[on$dateposted</span>

            </
td>
        </
tr>
        <
tr>
            <
td class="alt1" valign="top">
            <if 
condition="$newsavatarurl">
                <
table align="$stylevar[left]cellspacing="4"><tr><td><img alt=""  border="0" src="$newsavatarurltitle="$news[postusername]'s $vbphrase[a_avatar]/></td></tr></table>
            </if>
            
$news[message]

            <if 
condition="$show['signature']">
            <
div>__________________<br />
            
$news[signature]</div>
            </if>

            </
td>
        </
tr>

        <if 
condition="$news['attachmentid']">
            <
tr class="alt1">
                <
td>
                    <
fieldset class="fieldset">
                    <
legend>$vbphrase[attached_files]</legend>
                    <
table>
                        
$attachment
                    
</table>
                    </
fieldset>
                </
td>
            </
tr>
        </if>

        <
tr class="alt2" valign="middle">
        <
td valign="middle">
            <
span style="float:right">
            <if 
condition="$show['editbutton']">
                <
a href="$vboptions[bburl]/editpost.php?$session[sessionurl]do=editpost&amp;p=$news[postid]"><img alt="$vbphrase[edit_this_post]border="0" src="$stylevar[imgdir_button]/edit.gif" /></a>
            </if>

            <if 
condition="$vba_options['portal_news_allowreplies']">
                <
a href="$vboptions[bburl]/newreply.php?$session[sessionurl]do=newreply&amp;t=$news[threadid]"><img alt="$vbphrase[reply_to_this_post]border="0" src="$stylevar[imgdir_button]/reply_small.gif" /></a>
            </if>

            <if 
condition="$vba_options['portal_news_showsendfriend']">
                <
a href="$vboptions[bburl]/sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$news[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/sendtofriend.gif" title="$vbphrase[send_to_friend]/></a>
            </if>

            <if 
condition="$vba_options['portal_news_showprintable']">
                <
a href="$vboptions[bburl]/printthread.php?$session[sessionurl]t=$news[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/printer.gif" title="$vbphrase[show_printable_version]/></a>
            </if>
            </
span>

            <
span class="smallfont">
            <if 
condition="$vba_options['portal_news_allowreplies']">
                <
a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$news[threadid]">$news[replycount] <if condition="$news['replycount'] == 1">$vbphrase[reply]<else />$vbphrase[replies]</if></a> |
            </if> 
$news[views$vbphrase[views]</span>
        </
td>
    </
tr>

</
table>
<
br /> 


Delphiprogrammi 04-16-2005 09:36 PM

a bit late but that problem is solve don't know how i did that but the scrollbars are gone thank you all ...


All times are GMT. The time now is 10:30 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.01489 seconds
  • Memory Usage 1,868KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete