форум vBSupport.ru > Форумные движки и CMS (Порталы) > CMS (Portals) > vBadvanced CMPS
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
FBI
Знаток
 
FBI's Avatar
Default Неправильно отображается главная страница ВБА
0

Всем салют

короче такая проблема у меня
главная страница отопрожаеться не прально (см.скрин ниже)
и еще навигация по страницам тоже не прально работает кидает на форум
вот такая ссылка бывает ( .com/forum/index.php?pageid=home&news_page=3 )как бы Форум убрать?лишнее?
как бы решить вот эти 2 проблемы?

FBI добавил 09.03.2010 в 21:46
очень нужна помошь

FBI добавил 09.03.2010 в 22:57
неужели никто не знает(

**тут был скрин, он умер**

Last edited by Luvilla : 06-21-2019 at 06:13 PM.
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
KolobOKs
Продвинутый
 
KolobOKs's Avatar
Default
0

А можно скрин побольше выложить? а то ничего не понятно...
 
 
FBI
Знаток
 
FBI's Avatar
Default
0

Quote:
Originally Posted by KolobOKs View Post
А можно скрин побольше выложить? а то ничего не понятно...
вот

**тут был скрин, он умер**
 
 
kerk
k0t
 
kerk's Avatar
Default
1

ребята, да как же вы не поймете...
блочная верстка в 4 линейке, кривая по дефолту
что бы ее нормально сверстать, нужно потратить кучу нервов и времени
причем верстать должен человек знающий, никак не новичек, как это было в третьей линейке...
 
 
FBI
Знаток
 
FBI's Avatar
Default
0

Спасибо всем

вообщем , уверен многие столкнутца с этой проблемой


вот и Рещение

Заменяем весь код из шаблона adv_portal_news
на это

HTML Code:
<vb:if condition="!$mod_options['portal_news_legacy']">
	<h2 class="blockrow">
		<vb:if condition="$mod_options['portal_news_showicon']">{vb:raw vba_style.portal_blockbullet}</vb:if> {vb:raw news.prefix} <a href="{vb:raw vboptions.bburl}/{vb:link thread, {vb:raw news}}">{vb:raw news.title}</a>
	</h2>
</vb:if>
<div class="<vb:if condition="$mod_options['portal_news_legacy']">blocksubhead<vb:else />blockrow</vb:if>">
	<div<vb:if condition="$mod_options['portal_news_showrating'] AND $news['rating']"> class="vba_rating{vb:raw news.rating}"</vb:if>>
		<vb:if condition="$news['subscribed'] AND $mod_options['portal_news_showsubscribed']">
			<img alt="" class="inlineimg" src="{vb:stylevar imgdir_misc}/subscribed.gif" title="{vb:rawphrase you_are_subscribed_to_this_thread}" />
		</vb:if>
		{vb:raw news.dateposted} - {vb:rawphrase by_x, {vb:link member, {vb:raw news}, null, 'postuserid', 'postusername'}, {vb:raw news.postusername}}
	</div>
</div>
<div class="blockrow">
	<vb:if condition="$show['paperclip']">
		<span style="float:{vb:stylevar right}">
			<a href="#" onclick="vba_attach_win({vb:raw news.threadid}); return false"><img class="inlineimg" src="{vb:stylevar imgdir_misc}/paperclip.gif" border="0" title="{vb:rawphrase x_attachments, {vb:raw news.attach}}" alt="" /></a>
		</span>
	</vb:if>
	<vb:if condition="$news['avatarpath']">
		<table width="100%">
			<tr>
				<td valign="top">
					<img align="{vb:stylevar left}" style="padding:6px" alt="{vb:rawphrase xs_avatar, {vb:raw news.postusername}}" border="0" src="{vb:raw news.avatarpath}" />
					{vb:raw news.message}
				</td>
			</tr>
		</table>
	<vb:else />
		{vb:raw news.message}
	</vb:if>
		
	<vb:if condition="$show['signature']">
		<div>__________________<br />{vb:raw news.signature}</div>
	</vb:if>
</div>
<vb:if condition="$news['attachment']">
	<div class="attachments">
		<fieldset>
			<legend>{vb:rawphrase attached_files}</legend>
			{vb:raw news.attachment}
		</fieldset>
	</div>
</vb:if>
<div class="postbit" style="padding-bottom: 0">
	<div class="postfoot">
		<div class="textcontrols">
			<span class="postcontrols">
				<vb:if condition="$show['editbutton']">
					<a class="editpost" href="{vb:raw vboptions.bburl}/editpost.php?{vb:raw session.sessionurl}do=editpost&amp;p={vb:raw news.postid}"><img src="{vb:stylevar imgdir_button}/trans_40b.png" id="editimg_{vb:raw news.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a>
				</vb:if>
		
				<vb:if condition="$show['replybutton']">
					<span class="seperator">&nbsp;</span>
					<a class="quickreply" href="{vb:raw vboptions.bburl}/newreply.php?{vb:raw session.sessionurl}do=newreply&amp;t={vb:raw news.threadid}" rel="nofollow"><img id="replyimg_{vb:raw news.postid}" src="{vb:stylevar imgdir_button}/trans_40b.png" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
				</vb:if>
		
				<vb:if condition="$mod_options['portal_news_showsendfriend']">
					<span class="seperator">&nbsp;</span>
					<a href="{vb:raw vboptions.bburl}/sendmessage.php?{vb:raw session.sessionurl}do=sendtofriend&amp;t={vb:raw news.threadid}" rel="nofollow"><img alt="" border="0" src="{vb:stylevar imgdir_button}/sendtofriend.gif" title="{vb:rawphrase send_to_friend}" /></a>
				</vb:if>
		
				<vb:if condition="$mod_options['portal_news_showprintable']">
					<span class="seperator">&nbsp;</span>
					<a href="{vb:raw vboptions.bburl}/printthread.php?{vb:raw session.sessionurl}t={vb:raw news.threadid}" rel="nofollow"><img alt="" border="0" src="{vb:stylevar imgdir_button}/printer.gif" title="{vb:rawphrase show_printable_version}" /></a>
				</vb:if>
			</span>
			<span class="postlinking">
				<vb:if condition="$mod_options['portal_news_allowreplies']">
					{vb:raw news.replycount} <vb:if condition="$news['reply_noformat'] == 1">{vb:rawphrase reply}<vb:else />{vb:rawphrase replies}</vb:if>
				</vb:if>
				<vb:if condition="$mod_options['portal_news_showviews'] AND $mod_options['portal_news_allowreplies']"> | </vb:if>
				<vb:if condition="$mod_options['portal_news_showviews']">
					{vb:raw news.views} {vb:rawphrase views}
				</vb:if>
			</span>
		</div>
	</div>
</div>
<br />
<br />
FBI добавил 11.03.2010 в 01:55
а вот бы теперь навигацию по страницам исправить

никро не знает как убарать Forum по середине ссылки

.com/forum/index.php?pageid=home&news_page=3 ?

Last edited by FBI : 03-11-2010 at 02:55 AM. Reason: Добавлено сообщение
 


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




All times are GMT +4. The time now is 02:18 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Loading...