[BETA 4] Calendar Alerts MOD v0.0.4

All web design discussion, including Ultimate Quiz MOD support.

Moderator: CricketMX Forum Moderators

Re: [BETA 3] Calendar Alerts MOD v0.0.3

Postby battye » Sat Mar 20, 2010 4:51 pm

Thanks plasmino, I've updated the first post :D
CricketMX.com.. home of bat's, rat's and other farmyard animals...
My articles: view all articles by battye

"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)
User avatar
battye
Site Admin
Site Admin
 
Posts: 14253
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: [BETA 3] Calendar Alerts MOD v0.0.3

Postby pluto » Fri Jul 16, 2010 8:19 pm

Hello,

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


Thank you to you.
User avatar
pluto
Greenhorn
Greenhorn
 
Posts: 14
Joined: Fri Jul 16, 2010 8:14 pm
Location: France

Re: [BETA 3] Calendar Alerts MOD v0.0.3

Postby Marije » Wed Jul 28, 2010 8:44 pm

Hi, great mod!
Perfect for me, who always forgets everything haha

I have 2 questions
Is there a dutch translation?

And can i edit it somehow to make it only for the admin, not the other users?
Marije
Greenhorn
Greenhorn
 
Posts: 3
Joined: Wed Jul 28, 2010 8:42 pm

Re: [BETA 3] Calendar Alerts MOD v0.0.3

Postby Marije » Mon Aug 02, 2010 6:27 pm

Does anyone know these anwers?
Marije
Greenhorn
Greenhorn
 
Posts: 3
Joined: Wed Jul 28, 2010 8:42 pm

Re: [BETA 3] Calendar Alerts MOD v0.0.3

Postby battye » Tue Aug 03, 2010 10:18 am

Hi, sorry for the delay in replying. I don't think there is Dutch, every translation I know of is in this post: 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 :)
CricketMX.com.. home of bat's, rat's and other farmyard animals...
My articles: view all articles by battye

"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)
User avatar
battye
Site Admin
Site Admin
 
Posts: 14253
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: [BETA 3] Calendar Alerts MOD v0.0.3

Postby Marije » Tue Aug 03, 2010 11:42 am

Thanx for the reply

I want it to be only for admin, both the page in UCP to add an alert, and to see the alert.
Marije
Greenhorn
Greenhorn
 
Posts: 3
Joined: Wed Jul 28, 2010 8:42 pm

Re: [BETA 3] Calendar Alerts MOD v0.0.3

Postby pluto » Wed Aug 04, 2010 11:56 am

pluto wrote:Hello,

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


Thank you to you.


Hello,

Person for the solution ?

Thank you very much.
User avatar
pluto
Greenhorn
Greenhorn
 
Posts: 14
Joined: Fri Jul 16, 2010 8:14 pm
Location: France

Re: [BETA 3] Calendar Alerts MOD v0.0.3

Postby battye » Wed Aug 04, 2010 2:25 pm

Hi pluto, have you uploaded ucp_alerts.html to styles/acidtech/template/ :?:
CricketMX.com.. home of bat's, rat's and other farmyard animals...
My articles: view all articles by battye

"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)
User avatar
battye
Site Admin
Site Admin
 
Posts: 14253
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: [BETA 3] Calendar Alerts MOD v0.0.3

Postby pluto » Wed Aug 04, 2010 2:40 pm

Yes, this file "ucp_alerts.html" is indeed in: styles/acidtech/template/

Thank you.
User avatar
pluto
Greenhorn
Greenhorn
 
Posts: 14
Joined: Fri Jul 16, 2010 8:14 pm
Location: France

Re: [BETA 3] Calendar Alerts MOD v0.0.3

Postby battye » Wed Aug 04, 2010 2:42 pm

What about confirm_body.html?
CricketMX.com.. home of bat's, rat's and other farmyard animals...
My articles: view all articles by battye

"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)
User avatar
battye
Site Admin
Site Admin
 
Posts: 14253
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: [BETA 3] Calendar Alerts MOD v0.0.3

Postby pluto » Wed Aug 04, 2010 2:45 pm

confirm_body.html is OK also, It's just the cancellation :|
Otherwise the mod to work perfectly 8)

Edit: I did a test on your forum and when I delete an alert and click cancel I get a blank page.
User avatar
pluto
Greenhorn
Greenhorn
 
Posts: 14
Joined: Fri Jul 16, 2010 8:14 pm
Location: France

Re: [BETA 3] Calendar Alerts MOD v0.0.3

Postby battye » Thu Aug 05, 2010 5:00 am

Try this:

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>") );
         }


After add:

Code: Select all
else
{
trigger_error('Test');
}


Now try it, you should get the message 'Test' (if this works then I will give you the redirect code :))
CricketMX.com.. home of bat's, rat's and other farmyard animals...
My articles: view all articles by battye

"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)
User avatar
battye
Site Admin
Site Admin
 
Posts: 14253
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: [BETA 3] Calendar Alerts MOD v0.0.3

Postby pluto » Thu Aug 05, 2010 8:28 pm

Indeed, when I click the little X to delete the word "test" appears :)

Thank you.
User avatar
pluto
Greenhorn
Greenhorn
 
Posts: 14
Joined: Fri Jul 16, 2010 8:14 pm
Location: France

Re: [BETA 3] Calendar Alerts MOD v0.0.3

Postby battye » Fri Aug 06, 2010 3:36 pm

Now replace the line:

Code: Select all
trigger_error('Test'); 


With

Code: Select all
redirect(append_sid("{$phpbb_root_path}ucp.$phpEx""i=alerts&amp;mode=alerts")); 


Does that fix it? :)
CricketMX.com.. home of bat's, rat's and other farmyard animals...
My articles: view all articles by battye

"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)
User avatar
battye
Site Admin
Site Admin
 
Posts: 14253
Joined: Sun Jan 11, 2004 8:26 am
Location: Victoria Falls, Zimbabwe

Re: [BETA 3] Calendar Alerts MOD v0.0.3

Postby pluto » Fri Aug 06, 2010 4:07 pm

No sorry, nothing happens, this has no effect :|
Note: I do not have the phrase "Are you sure you want to delete this alert?"
User avatar
pluto
Greenhorn
Greenhorn
 
Posts: 14
Joined: Fri Jul 16, 2010 8:14 pm
Location: France

PreviousNext

Return to Web Design

Who is online

Users browsing this forum: No registered users and 1 guest

cron