Templates forum responsive
3 partecipanti
Forum dei Forum: Aiuto per Forumattivo :: Assistenza a problemi e richieste :: Gestire l'aspetto del forum :: I problemi risolti con l'aspetto del forum
Pagina 1 di 1 • Condividi
Templates forum responsive
Buonasera a tutti voi . Vi chiedo aiuto nella modifiche del templates per nascondere le seguenti cose.(La seconda è piu importante)
-nascondere l'indice delle pagine solo dal lato di sopra quindi il link delle pagine disponibile solo in basso
- nascondere data ed ora pubblicazione
Attuali codici:
-nascondere l'indice delle pagine solo dal lato di sopra quindi il link delle pagine disponibile solo in basso
- NUMERO PAGINE IN ALTO:
- nascondere data ed ora pubblicazione
- URGENTE:
Attuali codici:
- index_body:
- Codice:
{JAVASCRIPT}
<!-- BEGIN switch_user_login_form_header -->
<div class="content-block">
<div class="title">{L_LOGIN}</div>
<div class="txt-content">
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form center">
<label>{L_USERNAME} : <input class="post" type="text" size="10" name="username" /></label>
<label>{L_PASSWORD} : <input class="post" type="password" size="10" name="password" /></label>
<label>{L_AUTO_LOGIN} : <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
{S_HIDDEN_FIELDS}<input class="mainoption button1" type="submit" name="login" value="{L_LOGIN}" />
<!-- BEGIN switch_fb_connect -->
<span class="fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
<fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
<!-- END switch_fb_connect -->
</div>
</form>
</div>
</div>
<!-- END switch_user_login_form_header -->
<!-- BEGIN message_admin_index -->
<div class="content-block introduction">
<!-- BEGIN message_admin_titre -->
<div class="title">{message_admin_index.message_admin_titre.MES_TITRE}</div>
<!-- END message_admin_titre -->
<!-- BEGIN message_admin_txt -->
<div class="txt-content">{message_admin_index.message_admin_txt.MES_TXT}</div>
<!-- END message_admin_txt -->
</div>
<!-- END message_admin_index -->
{CHATBOX_TOP}
<div id="board_time_table">
<p id="board_current_time" class="left">{CURRENT_TIME}</p>
<!-- BEGIN switch_user_logged_in --><p id="board_last_visit" class="right">{LAST_VISIT_DATE}</p><!-- END switch_user_logged_in -->
<div class="clear"></div>
</div>
{BOARD_INDEX}
<!-- BEGIN disable_viewonline -->
<div id="who_is_online">
<div id="wio_left">
<div id="wio_activity" class="content-block">
<!-- BEGIN switch_viewonline_link -->
<div class="title"><a href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></div>
<!-- END switch_viewonline_link -->
<!-- BEGIN switch_viewonline_nolink -->
<div class="title">{L_WHO_IS_ONLINE}</div>
<!-- END switch_viewonline_nolink -->
<div class="txt-content">
<img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" class="img-whois" />
{TOTAL_USERS_ONLINE}<br/>
{LOGGED_IN_USER_LIST}
{L_ONLINE_USERS}
{L_CONNECTED_MEMBERS}<br />
{L_WHOSBIRTHDAY_TODAY}{L_WHOSBIRTHDAY_WEEK}
</div>
</div>
<div id="wio_group_legend" class="content-block">
<div class="title">{LEGEND}</div>
<div class="txt-content">
<div id="wio_groups">{GROUP_LEGEND}</div>
</div>
<script type="text/javascript">if (window.wio_formatGroups) { wio_formatGroups(); }</script>
</div>
</div>
<div id="wio_right">
<div id="wio_statistics" class="content-block">
<!-- BEGIN switch_statistics_link -->
<div class="title"><a href="{U_STATISTICS}" rel="nofollow">{L_STATISTICS}</a></div>
<!-- END switch_statistics_link -->
<!-- BEGIN switch_statistics_nolink -->
<div class="title">{L_STATISTICS}</div>
<!-- END switch_statistics_nolink -->
<div class="txt-content">
<div class="wio_row">
<div id="wio_newest_user" class="wio_stats">
<div id="wio_newest_inner">
<div id="wio_new_avatar"><img src="https://2img.net/i/fa/invision/pp-blank-thumb.png" /></div>
<div class="wio_value">{NEWEST_USER}</div>
<div id="wio_new_date"></div>
<div class="clear"></div>
</div>
</div>
<script type="text/javascript">if (window.wio_getNewAvatar) { wio_getNewAvatar(); }</script>
<div id="wio_total_posts" class="wio_stats"><span class="wio_value">{TOTAL_POSTS}</span></div>
</div>
<div class="wio_row">
<div id="wio_total_users" class="wio_stats"><span class="wio_value">{TOTAL_USERS}</span></div>
<div id="wio_total_topics" class="wio_stats"><span class="wio_value"><strong>N/A</strong></span></div>
</div>
<div class="wio_row">
<div id="wio_record_users" class="wio_stats"><span class="wio_value">{RECORD_USERS}</span></div>
<div id="wio_board_age" class="wio_stats"><span class="wio_value"><strong>N/A</strong></span></div>
</div>
</div>
<script type="text/javascript">if (window.wio_getStats) { wio_getStats(); }</script>
</div>
<!-- BEGIN switch_chatbox_activate -->
<div id="wio_chatters" class="content-block">
<div class="title"><a href="{S_JOIN_CHAT}" target="ChatBox">{CHATBOX_NAME}</a></div>
<div class="txt-content">
{TOTAL_CHATTERS_ONLINE} :
{CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<div id="chatbox_popup"></div>
<script type="text/javascript">
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
</script>
<!-- END switch_chatbox_popup -->
</div>
</div>
<!-- END switch_chatbox_activate -->
</div>
<div class="clear"></div>
</div>
<!-- END disable_viewonline -->
{CHATBOX_BOTTOM}
<!-- BEGIN switch_user_login_form_footer -->
<div class="content-block">
<div class="title">{L_LOGIN}</div>
<div class="txt-content">
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
<div class="user_login_form center">
<label>{L_USERNAME} : <input class="post" type="text" size="10" name="username" /></label>
<label>{L_PASSWORD} : <input class="post" type="password" size="10" name="password" /></label>
<label>{L_AUTO_LOGIN} : <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} /></label>
{S_HIDDEN_FIELDS}<input class="mainoption button1" type="submit" name="login" value="{L_LOGIN}" />
<!-- BEGIN switch_fb_connect -->
<span class="fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
<fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button>
<!-- END switch_fb_connect -->
</div>
</form>
</div>
</div>
<!-- END switch_user_login_form_footer -->
<br style="clear:both" />
<!-- BEGIN switch_legend -->
<div id="picture_legend">
<div class="pic_legend_icon">
<div class="forum-status" style="background-image:url('{FORUM_NEW_IMG}');" title="{L_NEW_POSTS}"></div>
{L_NEW_POSTS}
</div>
<div class="pic_legend_icon">
<div class="forum-status" style="background-image:url('{FORUM_IMG}');" title="{L_NO_NEW_POSTS}"></div>
{L_NO_NEW_POSTS}
</div>
<div class="pic_legend_icon">
<div class="forum-status" style="background-image:url('{FORUM_LOCKED_IMG}');" title="{L_FORUM_LOCKED}"></div>
{L_FORUM_LOCKED}
</div>
</div>
<!-- END switch_legend -->
{AUTO_DST}
<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script>
FB.init({
appId : {switch_fb_index_login.FACEBOOK_APP_ID},
cookie : true,
xfbml : true,
oauth : true,
version : 'v2.3'
});
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_fb_index_login -->
- index_box:
- Codice:
<ul id="search-links" class="linklist">
<!-- BEGIN switch_user_logged_in -->
<li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> • </li>
<li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a> • </li>
<!-- END switch_user_logged_in -->
<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
<!-- BEGIN switch_user_logged_in -->
<li class="right"><a href="{U_MARK_READ}" accesskey="m">{L_MARK_FORUMS_READ}</a></li>
<!-- END switch_user_logged_in -->
</ul>
<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<div class="forum-category">
<noscript>
<div class="title">{catrow.tablehead.L_FORUM}</div>
<div id="{catrow.tablehead.ID}">
</noscript>
<script type="text/javascript">(function() {
var state = my_getcookie('fae_{catrow.tablehead.ID}') == 'hidden';
document.write('<div class="title ' + ( state ? 'c_show' : 'c_hide') + '" onclick="fae_toggle_category(this);">{catrow.tablehead.L_FORUM}</div><div id="{catrow.tablehead.ID}" ' + (state ? 'style="display:none;"' : '') + '>');
}());</script>
<!-- END tablehead -->
<!-- BEGIN forumrow -->
<div class="forum-block color-primary">
<div class="forum-block-inner">
<div class="forum-status" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" style="background-image:url('{catrow.forumrow.FORUM_FOLDER_IMG}');">
</div>
<div class="forum-info">
<h{catrow.forumrow.LEVEL} class="hierarchy">
<a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a>
</h{catrow.forumrow.LEVEL}>
{catrow.forumrow.FORUM_DESC}
<!-- BEGIN switch_moderators_links -->
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
<strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
</div>
<div class="forum-stats">
<div class="topics">
<span class="number">{catrow.forumrow.TOPICS}</span><br/>
<small>{L_TOPICS}</small>
</div>
<div class="posts">
<span class="number">{catrow.forumrow.POSTS}</span><br/>
<small>{L_POSTS}</small>
</div>
</div>
<div class="forum-lastpost">
<!-- BEGIN ads -->
<span class="AD_LastPA">
<span class="lastpost-avatar"><img src="{catrow.forumrow.ads.IMG}" alt="{catrow.forumrow.ads.TITLE}" /></span>
<span class="AD_LastInfos">
<b><a href="{catrow.forumrow.ads.LINK}">{catrow.forumrow.ads.TITLE}</a></b><br />
{catrow.forumrow.ads.DATE}<br />
{catrow.forumrow.ads.LOCATION}
</span>
</span>
<!-- END ads -->
<!-- BEGIN avatar -->
<span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<span>
<!-- BEGIN switch_topic_title -->
<a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
<!-- END switch_topic_title -->
{catrow.forumrow.USER_LAST_POST}
</span>
</div>
<div class="clear"></div>
</div>
</div>
<!-- END forumrow -->
<!-- BEGIN tablefoot -->
<div class="clear"></div>
</div>
</div>
<!-- END tablefoot -->
<!-- END catrow -->
<!-- BEGIN switch_on_index -->
<ul id="stat-links" class="linklist">
<li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a> • </li>
<li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a> • </li>
<li class="last"><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
<!-- BEGIN switch_delete_cookies -->
<li class="right"><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" rel="nofollow">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a></li>
<!-- END switch_delete_cookies -->
</ul>
<!-- END switch_on_index -->
- topics_list_box:
- Codice:
<!-- BEGIN topics_list_box -->
<!-- BEGIN row -->
<!-- BEGIN header_table -->
<!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}()
{
alert('MAIN');
var all_checked = true;
for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++)
{
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}')
{
all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
}
}
document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}()
{
alert('ALL');
for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++)
{
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}')
{
document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
}
}
}
</script>
<!-- END multi_selection -->
<div class="forum-category topicslist announcement">
<div class="title">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
<!-- END multi_selection -->
{topics_list_box.row.L_TITLE}
</div>
<!-- END header_table -->
<!-- BEGIN header_row -->
<div class="title">{topics_list_box.row.L_TITLE}</div>
<!-- END header_row -->
<!-- BEGIN topic -->
<!-- BEGIN table_sticky -->
</div>
<div class="forum-category topicslist">
<div class="title">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
<!-- END multi_selection -->
{topics_list_box.row.topic.table_sticky.L_TITLE}
</div>
<!-- END table_sticky -->
<div class="forum-block color-primary">
<div class="forum-block-inner">
<!-- BEGIN single_selection -->
<span class="merge-box"><input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></span>
<!-- END single_selection -->
<div class="forum-status" title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" style="background-image:url('{topics_list_box.row.TOPIC_FOLDER_IMG}');">
</div>
<div class="forum-info" {topics_list_box.row.ICON}>
<span class="newpost-img">{topics_list_box.row.NEWEST_POST_IMG}</span>
<span class="participated">{topics_list_box.row.PARTICIPATE_POST_IMG}</span>
<span class="topic-type">{topics_list_box.row.TOPIC_TYPE}</span>
<h2 class="topic-title">
<a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a>
</h2>
<!-- BEGIN switch_description -->
<div class="topic-desc">{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}</div>
<!-- END switch_description -->
<div class="topic-info">
{topics_list_box.row.GOTO_PAGE_NEW}
<span class="topic-author">{topics_list_box.row.L_BY} <strong>{topics_list_box.row.TOPIC_AUTHOR}</strong></span>
<!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE_NEW}<!-- END nav_tree -->
</div>
</div>
<div class="forum-stats">
<div class="posts">
<span class="number">{topics_list_box.row.REPLIES}</span><br/>
<small>{L_REPLIES}</small>
</div>
<div class="views">
<span class="number">{topics_list_box.row.VIEWS}</span><br/>
<small>{L_VIEWS}</small>
</div>
</div>
<div class="forum-lastpost">
<!-- BEGIN avatar -->
<span class="lastpost-avatar">{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</span>
<div style="float:left;">
<!-- END avatar -->
<span>{topics_list_box.row.LAST_POST_AUTHOR}
{topics_list_box.row.LAST_POST_IMG}<br style="clear:left;" />{topics_list_box.row.LAST_POST_TIME}</span>
<!-- BEGIN avatar -->
</div>
<!-- END avatar -->
</div>
<!-- BEGIN multi_selection -->
<input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />
<!-- END multi_selection -->
<div class="clear"></div>
</div>
</div>
<!-- END topic -->
<!-- BEGIN no_topics -->
<div class="forum-block">
<strong>{topics_list_box.row.L_NO_TOPICS}</strong>
</div>
<!-- END no_topics -->
<!-- BEGIN bottom -->
</div>
<!-- END bottom -->
<!-- BEGIN spacer --><br /><!-- END spacer -->
<!-- END row -->
<!-- END topics_list_box -->
Ultima modifica di UGLTRASPORTI il Lun 16 Gen 2017 - 22:26 - modificato 1 volta.
Re: Templates forum responsive
Ciao,
Per il problema numero 1:
Come fai ad andare alle pagine successive se elimini i bottoni?
Per il problema numero 2 invece, basta che da TOPICS_LIST_BOX rimuova questo:
Saluti!
Per il problema numero 1:
Come fai ad andare alle pagine successive se elimini i bottoni?
Per il problema numero 2 invece, basta che da TOPICS_LIST_BOX rimuova questo:
- Codice:
{topics_list_box.row.LAST_POST_TIME}
Saluti!
Re: Templates forum responsive
Perche' vorrei togliere l'elenco delle pagine solo nella parte superiore , lasciandolo nella parte inferiore.
La soluzione al secondo problema funziona alla grande.
La soluzione al secondo problema funziona alla grande.
Re: Templates forum responsive
Per rimuovere la paginazione superiore modifica il template: viewforum_body
Cerca {PAGINATION} e rimuovilo (riga 19/20 circa)
Cerca {PAGINATION} e rimuovilo (riga 19/20 circa)
Argomenti simili
» Come si usano i templates ?
» Gestione dei Templates del forum
» Personalizzazione aspetto del forum (parte 2 - templates)
» La versione ModernBB di Forumattivo è ora responsive!
» templates
» Gestione dei Templates del forum
» Personalizzazione aspetto del forum (parte 2 - templates)
» La versione ModernBB di Forumattivo è ora responsive!
» templates
Forum dei Forum: Aiuto per Forumattivo :: Assistenza a problemi e richieste :: Gestire l'aspetto del forum :: I problemi risolti con l'aspetto del forum
Pagina 1 di 1
Permessi in questa sezione del forum:
Non puoi rispondere agli argomenti in questo forum.