PDA

View Full Version : i need some advice


Delphiprogrammi
03-26-2005, 01:57 PM
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 (http://www.delphiprogramming.be/portal.php?page=home) (the center column)

Zachery
03-26-2005, 03:25 PM
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 (http://www.delphiprogramming.be/portal.php?page=home) (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
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
hi,

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


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

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

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