Sorry, it is not what I meant.Lumpy Burgertushie wrote:ok, fine. however, template stuff is not all that is in the cache.
repeated a zillion times error staysLumpy Burgertushie wrote:try this. upload the extension again to the server.
go into your admin panel and enable it
purge the cache
go back and disable the extension
then delete the data
then delete the extension from your ftp
then purge the cache.
robert
Code: Select all
<?php
/**
*
* @package phpBB Extension - Welcome on Index
* @copyright (c) 2014 Stoker
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
namespace stoker\welcomeonindex\migrations;
class module_data extends \phpbb\db\migration\migration
{
public function update_data()
{
return array(
array('module.add', array(
'acp',
'ACP_CAT_DOT_MODS',
'ACP_WELCOMEONINDEX'
)),
array('module.add', array(
'acp',
'ACP_WELCOMEONINDEX',
array(
'module_basename' => '\stoker\welcomeonindex\acp\welcomeonindex_module',
'modes' => array('settings'),
),
)),
);
}
public function revert_data()
{
return array(
array('module.remove', array(
'acp',
'ACP_CAT_DOT_MODS',
'ACP_WELCOMEONINDEX'
)),
array('module.remove', array(
'acp',
'ACP_WELCOMEONINDEX',
array(
'module_basename' => '\stoker\adsenseads\acp\adsenseads_module',
'modes' => array('settings'),
),
)),
);
}
}
Thanks, will fix that as soon as i get to my computer. Can take a couple of days.carloclaessen wrote:repeated a zillion times error staysLumpy Burgertushie wrote:try this. upload the extension again to the server.
go into your admin panel and enable it
purge the cache
go back and disable the extension
then delete the data
then delete the extension from your ftp
then purge the cache.
robert
solution what works
open up ext/stoker/welcomeonindex/migrations/module_data.phpthis is the code of module_data.php of the mod as you see in the revert part there is the reason whyCode: Select all
<?php /** * * @package phpBB Extension - Welcome on Index * @copyright (c) 2014 Stoker * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 * */ namespace stoker\welcomeonindex\migrations; class module_data extends \phpbb\db\migration\migration { public function update_data() { return array( array('module.add', array( 'acp', 'ACP_CAT_DOT_MODS', 'ACP_WELCOMEONINDEX' )), array('module.add', array( 'acp', 'ACP_WELCOMEONINDEX', array( 'module_basename' => '\stoker\welcomeonindex\acp\welcomeonindex_module', 'modes' => array('settings'), ), )), ); } public function revert_data() { return array( array('module.remove', array( 'acp', 'ACP_CAT_DOT_MODS', 'ACP_WELCOMEONINDEX' )), array('module.remove', array( 'acp', 'ACP_WELCOMEONINDEX', array( 'module_basename' => '\stoker\adsenseads\acp\adsenseads_module', 'modes' => array('settings'), ), )), ); } }
'module_basename' => '\stoker\adsenseads\acp\adsenseads_module',
replace it with
'module_basename' => '\stoker\welcomeonindex\acp\welcomeonindex_module',
save and upload back
Code: Select all
$lang = array_merge($lang, array(
'WELCOMEONINDEX_UPDATED' => 'Welcome On Index settings updated',
'UP_LATE' => 'You\'re up late %1$s, Shouldn\'t you be sleeping?',
'UP_EARLY' => 'Good Morning %1$s, You\'re up early today',
'GOOD_MORNING' => 'Good Morning %1$s, What a lovely morning it is',
'GOOD_DAY' => 'Good day %1$s, We hope you enjoy your time here',
'GOOD_AFTERNOON' => 'Good Afternoon %1$s, Finally you are here',
'GOOD_EVENING' => 'Good Evening %1$s, Nice to see you here',
'GOOD_NIGHT' => 'Good Night %1$s, time to go to bed',
'WELCOME_GUEST' => 'Guest',
'WELCOME_HOUR' => 'Hour',
'WELCOME_HOURS' => 'Hours',
'WELCOME_DAY' => 'Day',
'WELCOME_DAYS' => 'Days',
'WELCOME_MONTH' => 'Month',
'WELCOME_MONTHS' => 'Months',
'WELCOME_YEAR' => 'Year',
'WELCOME_YEARS' => 'Years',
'WELCOME_TO_MOD' => 'Welcome to',
'WELCOME_PLEASE' => 'Please',
'WELCOME_ENJOY' => 'to enjoy the full content of this site',
'WELCOME_OR' => 'or',
'WELCOME_AND' => 'and',
Code: Select all
'WELCOME_YOU' => 'You joined',
'MEMBER_FOR' => 'You have been member for:',
));
Code: Select all
'WELCOME_YOU' => '<font style="color:#706c61">You joined</font>',
'MEMBER_FOR' => '<font style="color:#706c61">You have been member for:</font>',
));
No.John connor wrote:There's no way some PHP code can be added to make it have color?
Sippan wrote:Test this
only change 706c61 to fit you
Code: Select all
'WELCOME_YOU' => '<font style="color:#706c61">You joined</font>', 'MEMBER_FOR' => '<font style="color:#706c61">You have been member for:</font>', ));
david63 wrote:There should be no need to change anything for the colour as the template should be using the colours for your style.