Page 1 of 1
need help with mod (welcome on index)
Posted: 13 Oct 2014, 18:43
by allen62
i need a little help
i am trying to install
welcome_on_index_2_1_0_2
everything done
mod is working fine bt there is a little color
problem ..
see background color border is like my style
bt background color is whaite and text color is
also white..
i am using style ca black
need help with mod (welcome on index)
Posted: 13 Oct 2014, 18:46
by allen62
see text is also white any solution plz tell me ... thanx.
need help with mod (welcome on index)
Posted: 13 Oct 2014, 18:48
by Stoker
You need to adapt the mod to the style you are using. The mod only support prosilver.
I dont have edits for all the styles there is.
need help with mod (welcome on index)
Posted: 13 Oct 2014, 18:53
by allen62
i am using ca black prosilver based style .... i try this mod on other styles this mod works fine on other styles and looks like style theme ... bt in my style border is like my style bt background is white and textvis white too
need help with mod (welcome on index)
Posted: 14 Oct 2014, 13:53
by Sniper_E
allen62, you may have to customize most all of the mods out there that you install to match that dark style.
If you can't change text and background colors then you might be best going with a more conventional style.
need help with mod (welcome on index)
Posted: 19 Oct 2014, 10:15
by Oyabun1
Download, backup, and open
styles/ca_black/template/index_body.html
Find
Code: Select all
<!-- IF not S_IS_BOT -->
<div class="forabg">
<div class="inner"><span class="corners-top"><span></span></span>
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{L_WELCOME_TO_MOD} {SITENAME}</dt>
</dl>
</li>
</ul>
<ul class="topiclist forums">
<li>
<dl>
<dd style="padding:5px; text-align: center; border:none;">
<!-- IF USER_AVATAR -->{USER_AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF -->
</dd>
<dd class="lastpost" style="padding:5px; width:40%;">
<p>{S_WELCOME}</p>
<span><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<br />{CURRENT_TIME}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --><!-- IF S_USER_LOGGED_IN --><br /><br />{S_JOINED_DATE}<br />{MEMBER_FOR}<!-- ENDIF --></span>
</dd>
<dd class="lastpost" style="padding:5px; width:36%;"><span>{TOTAL_POSTS} • {TOTAL_TOPICS}<br />{TOTAL_USERS}<br />{NEWEST_USER}
<!-- IF S_DISPLAY_ONLINE_LIST --><br /><br />{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<!-- ENDIF --></span>
</dd>
</dl>
</li>
</ul>
<span class="corners-bottom"><span></span></span></div></div>
<!-- ENDIF -->
Replace with
Code: Select all
<!-- IF not S_IS_BOT -->
<div class="forabg">
{$CA_BLOCK_START}
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{L_WELCOME_TO_MOD} {SITENAME}</dt>
</dl>
</li>
</ul>
<ul class="topiclist">
<li>
<dl>
<dd style="padding:5px; text-align: center; border:none;">
<!-- IF USER_AVATAR -->{USER_AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF -->
</dd>
<dd class="lastpost" style="padding:5px; width:40%;">
<p>{S_WELCOME}</p>
<span><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<br />{CURRENT_TIME}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --><!-- IF S_USER_LOGGED_IN --><br /><br />{S_JOINED_DATE}<br />{MEMBER_FOR}<!-- ENDIF --></span>
</dd>
<dd class="lastpost" style="padding:5px; width:36%;"><span>{TOTAL_POSTS} • {TOTAL_TOPICS}<br />{TOTAL_USERS}<br />{NEWEST_USER}
<!-- IF S_DISPLAY_ONLINE_LIST --><br /><br />{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<!-- ENDIF --></span>
</dd>
</dl>
</li>
</ul>
{$CA_BLOCK_END}
<!-- ENDIF -->
Save, upload, and refresh the CA Black templates component in the ACP.
(it's only actually changes to 3 lines, but probably less chance of errors to replace the whole block added by the MOD.
)