Coen schreef:rickieizfazt schreef:Hallo Coen, ik heb ik CP.CSS (styles, prosilver, theme) de wijziging doorgevoerd maar klaarblijkelijk doe ik iets niet goed. De cache clear, netjes gedaan (2 keer zelfs) , niks veranderd..... wat begrijp ik niet goed?
Staat dit wel in
cp.css
en niet in
common.css
, oftewel kijk ook eens in andere bestanden naar dezelfde waarde in de css.

Hallo Coen, beetje meer info, op 5 januari jl. opende ik de url, op 6 heb ik er het board opgezet en voor 4 dagen het portal erbij. Ik was tot dan niet zo met php / css / sql enz. bezig maar heb wel een automatiserings achtergrond. Ik heb de waarde 36 na jouw tip al gezocht door alle CSS'jes te checken en alleen in deze stond ie; alle andere had ik al gecheckt voor je advies. Dat is voor mij de enige manier om er door te zwoegen,maar het gaat stapje voor stapje sneller en ik begin de technische opzet van het board langzaam te begrijpen. Maar goed, dit is het dus niet..... worden die instellingen van CP.CSS wel geladen in het portal? En zo ja weet jij hoe en waar? Of moet ik iets toevoegen in het script van het portal?
Ik heb het gevoel dat daar de crux zit maar ik snap nog te weinig van wat hieronder allemaal gebeurd.
groet, Rick
Code: Selecteer alles
<?php
/*
*
* @name bb3portal.php
* @package phpBB3 Portal a.k.a canverPortal
* @version $Id: bb3portal.php,v 1.7 2007/04/14 02:05:16 angelside Exp $
* @copyright (c) Canver Software - www.canversoft.net
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
// Note: If you would like to have the portal in a different location than in the main phpBB3 directory
// You must change the following variable, and change the 'U_PORTAL' template variable in functions.php
$phpbb_root_path = './';
//define('PHPBB3_PORTAL_V', '1.0.1.b');
define('IN_PHPBB', true);
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'bb3portal/config.'.$phpEx);
include($phpbb_root_path . 'bb3portal/includes/functions.'.$phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('bb3portal');
//
// include all block
//
// only registered user see blocks
if ($user->data['is_registered'])
{
include($phpbb_root_path . 'bb3portal/block/online_friends.'.$phpEx);
include($phpbb_root_path . 'bb3portal/block/user_menu.'.$phpEx);
}
else
{
include($phpbb_root_path . 'bb3portal/block/login_box.'.$phpEx);
}
// other blocks
include($phpbb_root_path . 'bb3portal/block/announcements.'.$phpEx);
include($phpbb_root_path . 'bb3portal/block/birthday_list.'.$phpEx);
include($phpbb_root_path . 'bb3portal/block/news.'.$phpEx);
include($phpbb_root_path . 'bb3portal/block/recent.'.$phpEx);
include($phpbb_root_path . 'bb3portal/block/stat_adv.'.$phpEx);
include($phpbb_root_path . 'bb3portal/block/whos_online.'.$phpEx);
include($phpbb_root_path . 'bb3portal/block/latest_members.'.$phpEx);
include($phpbb_root_path . 'bb3portal/block/random_member.'.$phpEx);
include($phpbb_root_path . 'bb3portal/block/most_poster.'.$phpEx);
include($phpbb_root_path . 'bb3portal/block/donate.'.$phpEx);
include($phpbb_root_path . 'bb3portal/block/search.'.$phpEx);
include($phpbb_root_path . 'bb3portal/block/link_us.'.$phpEx);
include($phpbb_root_path . 'bb3portal/block/leaders.'.$phpEx);
if ($CFG['poll_topic'])
{
include($phpbb_root_path . 'bb3portal/block/poll.'.$phpEx);
}
if ($CFG['load_last_visited_bots'])
{
include($phpbb_root_path . 'bb3portal/block/last_bots.'.$phpEx);
}
// [+] choose style
$sql = 'SELECT style_id, style_name, style_copyright
FROM ' . STYLES_TABLE . '
WHERE style_active = 1
ORDER BY style_name DESC';
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))
{
$template->assign_block_vars('styles', array(
'STYLE_ID' => $row['style_id'],
'STYLE_NAME' => $row['style_name'],
'STYLE_COPY' => $row['style_copyright'],
'U_STYLE' => append_sid("{$phpbb_root_path}bb3portal.$phpEx", 'style=' . $row['style_id']),
));
}
$db->sql_freeresult($result);
// [-] choose style
/*
// Assign specific vars
$template->assign_vars(array(
)
);
*/
// output page
page_header($user->lang['PORTAL']);
$template->set_filenames(array(
'body' => 'bb3portal/portal_main.html')
);
make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
page_footer();
?>
en dan deze 'body' => 'bb3portal/portal_main.html')
Code: Selecteer alles
<!-- DEFINE $S_IN_INDEX = 1 -->
<!-- INCLUDE overall_header.html -->
<!-- <br /> -->
<!-- $Id: portal_main.html,v 1.6 2007/04/14 02:05:17 angelside Exp $ //-->
<style type="text/css">
<!--
.topiclist dd.posts_portal {
float:left;
text-align:left;
font-size: 1.1em;
padding:6px 5px 6px 5px;
}
ul.topiclist dt {
float:left;
width: 90%;
font-size: 1em;
}
.gensmall {
margin: 1px 1px;
font-size: 10px;
}
small, .small {
font-size:10px;
font-weight:bold;
font-family:Arial, Helvetica, sans-serif;
}
/* Menu listing */
ul.menu {
/*border-top: 1px solid #FFFFFF;*/
list-style: none;
}
ul.menu li {
padding: 5px 0 4px 0;
border-bottom: 1px solid #CCCCCC;
margin: 0;
}
ul.menu li.last {
border-bottom: none;
}
/* News listing */
ul.news {
border-top: 1px solid #FFFFFF;
list-style: none;
margin-left: 0;
}
ul.news li {
padding: 5px 0 4px 0;
border-bottom: 1px solid #CCCCCC;
}
ul.news li.last {
border-bottom: none;
}
ul.news {
border-top: none;
}
ul.news li {
padding: 0 0 4px 0;
margin-bottom: 5px;
margin-left: 0;
border-bottom-color: #E0E0E0;
}
.postbody_portal {
width: 100%;
}
//-->
</style>
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<!-- [+] left block area -->
<td width="190" valign="top" style="padding-right:6px;">
<!--// [+] main menu //-->
<!-- INCLUDE bb3portal/block/main_menu.html -->
<!--// [-] main menu //-->
<!--// [+] search //-->
<!-- IF S_DISPLAY_SEARCH -->
<!-- INCLUDE bb3portal/block/search.html -->
<!-- ENDIF -->
<!--// [-] search //-->
<!--// [+] make a donation //-->
<!-- IF S_DISPLAY_PAY_S -->
<!-- INCLUDE bb3portal/block/donation/donation_small.html -->
<!-- ENDIF -->
<!--// [-] make a donation //-->
<!--// [+] latest members //-->
<!-- INCLUDE bb3portal/block/latest_members.html -->
<!--// [-] latest members //-->
<!--// [+] most poster //-->
<!-- INCLUDE bb3portal/block/most_poster.html -->
<!--// [-] most poster //-->
<!--// [+] random member //-->
<!-- INCLUDE bb3portal/block/random_member.html -->
<!--// [-] random member //-->
<!--// [+] clock //-->
<!-- INCLUDE bb3portal/block/clock.html -->
<!--// [-] clock //-->
<!--// [+] link us //-->
<!-- INCLUDE bb3portal/block/link_us.html -->
<!--// [-] link us //-->
<!--// [+] birthday list //-->
<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST -->
<!-- INCLUDE bb3portal/block/birthday_list.html -->
<!-- ENDIF -->
<!--// [-] birthday list //-->
</td>
<!-- [-] left block area -->
<!-- [+] center block area -->
<td valign="top">
<!--// [+] welcome //-->
<!-- INCLUDE bb3portal/block/welcome.html -->
<!--// [-] welcome //-->
<!--// [+] make a donation //-->
<!-- IF S_DISPLAY_PAY_C -->
<!-- INCLUDE bb3portal/block/donation/donation.html -->
<!-- ENDIF -->
<!--// [-] make a donation //-->
<!--// [+] recent topic //-->
<!-- INCLUDE bb3portal/block/recent.html -->
<!--// [-] recent topic //-->
<!--// [+] poll //-->
<!-- IF S_HAS_POLL -->
<!-- INCLUDE bb3portal/block/poll.html -->
<!-- ENDIF -->
<!--// [-] poll //-->
<!--// [+] global announcements //-->
<!-- IF S_DISPLAY_ANNOUNCEMENTS_LIST -->
<!--INCLUDE bb3portal/block/announcements.html-->
<!-- ENDIF -->
<!--// [-] global announcements //-->
<!--// [+] news //-->
<!-- IF S_DISPLAY_NEWS_LIST -->
<!--INCLUDE bb3portal/block/news.html-->
<!-- ENDIF -->
<!--// [-] news //-->
<!--// [+] jumpbox //-->
<!-- INCLUDE bb3portal/block/jumpbox.html -->
<!--// [-] jumpbox //-->
</td>
<!-- [-] center block area -->
<!-- [+] right block area -->
<td width="190" valign="top" style="padding-left:6px;">
<!--// [+] login_box //-->
<!-- IF not S_USER_LOGGED_IN -->
<!-- INCLUDE bb3portal/block/login_box.html -->
<!-- ENDIF -->
<!--// [-] login_box //-->
<!--// [+] user menu //-->
<!-- IF S_USER_LOGGED_IN -->
<!-- INCLUDE bb3portal/block/user_menu.html -->
<!-- ENDIF -->
<!--// [-] user menu //-->
<!--// [+] online_friends //-->
<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_ZEBRA_ENABLED -->
<!-- INCLUDE bb3portal/block/online_friends.html -->
<!-- ENDIF -->
<!-- ENDIF -->
<!--// [-] online_friends //-->
<!--// [+] advanced stat //-->
<!-- INCLUDE bb3portal/block/stat_adv.html -->
<!--// [-] advanced stat //-->
<!--// [+] stat //-->
<!--INCLUDE bb3portal/block/stat.html-->
<!--// [-] stat //-->
<!--// [+] who is online //-->
<!-- IF S_DISPLAY_ONLINE_LIST -->
<!-- INCLUDE bb3portal/block/whos_online.html -->
<!-- ENDIF -->
<!--// [-] who is online //-->
<!--// [+] leaders //-->
<!-- INCLUDE bb3portal/block/leaders.html -->
<!--// [-] leaders //-->
<!--// [+] last bots //-->
<!-- IF S_LAST_VISITED_BOTS -->
<!-- INCLUDE bb3portal/block/last_bots.html -->
<!-- ENDIF -->
<!--// [-] last bots //-->
<!--// [+] links //-->
<!-- INCLUDE bb3portal/block/links.html -->
<!--// [-] links //-->
</td>
<!-- [-] right block area -->
</tr>
</table>
<!--// phpBB3 portal by Sevdin Filiz, phpbb3portal.com //-->
<!-- INCLUDE overall_footer.html -->
Draai
canverPORTAL met phpBB3,
advanced SEO MOD, SEO dynamic metatags, in board geintegreerde
Ajax Chatbox, diverse kleine MODS.
BRIDGED Coppermine gallery.
Cutenews onder overall_header en _footer. RSS van Cutenews is geintegreerd in Portaal. SEO & BOTS monitored by
CrawlTrack en
phpMyvisites, twee echte aanraders . Tevens de
SNEWS RSS functions published via Feedburner, phpBB Arcade online games. Kom eens langs op
http://tjoogle.com work in process: bridged phpFusion