[BETA 4] Calendar Alerts MOD v0.0.4
Moderator: CricketMX Forum Moderators
Thanks plasmino, I've updated the first post
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Hello,
When I want to cancel a deletion warning, I get this error:
Thank you to you.
When I want to cancel a deletion warning, I get this error:
Code: Select all
Général error
template->_tpl_load_file(): File ./styles/acidtech/template/.html does not exist or is empty
Hi, sorry for the delay in replying. I don't think there is Dutch, every translation I know of is in this post: http://forums.cricketmx.com/viewtopic.php?f=63&t=4746
And when you say make it only for the admin, do you mean you want alerts to appear only to admins or you want both the "add alerts" page in the UCP and the alerts on the index to only appear to admins? Just let me know which it is - it is a fairly easy change to implement and I will tell you which code you will need to edit
Thanks for registering at CMX Marije, welcome to the forum
And when you say make it only for the admin, do you mean you want alerts to appear only to admins or you want both the "add alerts" page in the UCP and the alerts on the index to only appear to admins? Just let me know which it is - it is a fairly easy change to implement and I will tell you which code you will need to edit
Thanks for registering at CMX Marije, welcome to the forum
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Hello,pluto wrote:Hello,
When I want to cancel a deletion warning, I get this error:Thank you to you.Code: Select all
Général error template->_tpl_load_file(): File ./styles/acidtech/template/.html does not exist or is empty
Person for the solution ?
Thank you very much.
Hi pluto, have you uploaded ucp_alerts.html to styles/acidtech/template/
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
What about confirm_body.html?
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Try this:
open ucp_alerts.php and find:
After add:
Now try it, you should get the message 'Test' (if this works then I will give you the redirect code )
open ucp_alerts.php and find:
Code: Select all
if (confirm_box(true))
{
$sql = "DELETE FROM " . ALERTS_TABLE . "
WHERE alert_id = " . request_var('delete', 0) . "
AND user_id = " . (int) $user->data['user_id'];
$db->sql_query($sql);
// Clear the cache
$cache->destroy('sql', ALERTS_TABLE);
trigger_error( sprintf($user->lang['UCP_ALERTS_DELETE_SUCCESS'], "<a href='" . append_sid($this->u_action) . "'>", "</a>") );
}
Code: Select all
else
{
trigger_error('Test');
}
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Now replace the line:
With
Does that fix it?
Code: Select all
trigger_error('Test');
Code: Select all
redirect(append_sid("{$phpbb_root_path}ucp.$phpEx", "i=alerts&mode=alerts"));
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)