http://themolehill.bishsite.com/
Moles Molehill
A place for discussion about anything, run by some mad people, who are old enough to know better!!
  latestpostsLatest Posts   latesttopicsLatest Topics   unreadtopicsUnread Topics   Register   Profile   Memberlist   Usergroups   Search   Log in to check your private messages   FAQ      Log in  
Calendar 
Calendar eventCalendar
Thu 29 July 2010
Fri 30 July 2010
Sat 31 July 2010
Sun 01 August 2010
Mon 02 August 2010
Tue 03 August 2010
Wed 04 August 2010
Page 1 of 1
Post new topic   Reply to topic       Moles Molehill Forum Index -> THA CROW'S NEST-> "Notifications" All times are GMT + 1 Hour
View previous topic :: View next topic  
Author Message
jamieOffline
Dead Eye Jack
Avatar

Joined: 25 February 2009
Total posts: 514
Gender: Unknown
Karma: 316
Karma yesterday, day before: 316, 316

Post: #1 (ID: 67494)   PostPosted: Sun Jun 14, 2009 9:49 pm    Karma this post: (+1 -1)  
Post subject:  "Notifications"
 Posted from: United Kingdom Reply with quote

As you know, when you get karma or 'post liked/disliked', you don't necessarily get to know.

So, I've added a "notifications" link at the top of the screen.

When someone has altered your karma, or liked/disliked your post, a notification message is put in for you.

Also, the 'notification' link will be in red and show the number of notifications:

Notifications (2)

Click on the link to see the notifications, and to delete them (NB. I've not written the 'delete' part of the code now, will do that at another date!)

Any other things you can think useful to 'notify' on?

_________________

 

>> Come visit Jamie's RANTS, and leave your comments! << - Last post: 29th Jul 2010.    Last reply: 19th Jul 2010.

>> My current main "spotify" playlist <<

"I'm from Wales. Most of the best Welsh people are." - Jamie Landeg Jones

>> Live Gower Webcams <<      148 days to Christmas Day !        Word of the day: omphalomesenteric             >> UK stats! <<

Ian "Clarkey" Clarke currently owes me £1280.00
Back to top
View user's profile                         Bookmark and Share
CAP'N PUGWASH LIZOffline
Avatar

Joined: 14 May 2004
Total posts: 22002
Karma: 1539
Karma yesterday, day before: 1539, 1539
Gallery Entries : 454
Post: #2 (ID: 67495)   PostPosted: Sun Jun 14, 2009 10:24 pm    Karma this post: (+2 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

 jamie likes this post.

Ah be got this when Ah be played wif this post Laugh Out Loud Laugh Out Loud Laugh Out Loud



Quote:
Error updating notifications table



Crying Crying

_________________
c4l3 c4m5 c4n2 c4q9 c4q5




YO HO HO HO.............A PIRATE'S LIFE FER ME!


b3x8 b3z6 a1c3 a1e0 a1b3 a1b7 a0x0 a0y1 a0x2 a0y5 b3x8 b3z6
Back to top
View user's profile Send e-mail                         Bookmark and Share
jamieOffline
Dead Eye Jack
Avatar

Joined: 25 February 2009
Total posts: 514
Gender: Unknown
Karma: 316
Karma yesterday, day before: 316, 316

Post: #3 (ID: 67503)   PostPosted: Sun Jun 14, 2009 10:35 pm    Karma this post: (+0 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

that's strange.. it appeared to work.

does it still give errors? I've modified the code so it will give a unique error message from now on - unfortunately, the error message you got appeared identically in the code at 6 different places, so I'm not sure at which one of six the error was at!

So, if you get any errors again, please post the error message here!

Sun Jun 14, 2009 22:21 Someone has just deducted 1 karma point from your post, post number 67494 !
Sun Jun 14, 2009 22:21 Someone has just awarded 1 karma point to your post, post number 67494 !

_________________

 

>> Come visit Jamie's RANTS, and leave your comments! << - Last post: 29th Jul 2010.    Last reply: 19th Jul 2010.

>> My current main "spotify" playlist <<

"I'm from Wales. Most of the best Welsh people are." - Jamie Landeg Jones

>> Live Gower Webcams <<      148 days to Christmas Day !        Word of the day: omphalomesenteric             >> UK stats! <<

Ian "Clarkey" Clarke currently owes me £1280.00
Back to top
View user's profile                         Bookmark and Share
CAP'N PUGWASH LIZOffline
Avatar

Joined: 14 May 2004
Total posts: 22002
Karma: 1539
Karma yesterday, day before: 1539, 1539
Gallery Entries : 454
Post: #4 (ID: 67509)   PostPosted: Mon Jun 15, 2009 9:52 am    Karma this post: (+3 -3)  
Post subject:  
 Posted from: United Kingdom Reply with quote

 jamie likes this post.

Error 1 updating notifications table

Ah be get this.....tried tae be gie you a thumbs up 'n Moley............but it no be gives a wee thumbs up Rolling Eyes

_________________
c4l3 c4m5 c4n2 c4q9 c4q5




YO HO HO HO.............A PIRATE'S LIFE FER ME!


b3x8 b3z6 a1c3 a1e0 a1b3 a1b7 a0x0 a0y1 a0x2 a0y5 b3x8 b3z6
Back to top
View user's profile Send e-mail                         Bookmark and Share
CAP'N PUGWASH LIZOffline
Avatar

Joined: 14 May 2004
Total posts: 22002
Karma: 1539
Karma yesterday, day before: 1539, 1539
Gallery Entries : 454
Post: #5 (ID: 67510)   PostPosted: Mon Jun 15, 2009 1:48 pm    Karma this post: (+0 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

Error 3 updating notifications table

This be a thumbs doon message.............. karma be wurks tho! Cool

_________________
c4l3 c4m5 c4n2 c4q9 c4q5




YO HO HO HO.............A PIRATE'S LIFE FER ME!


b3x8 b3z6 a1c3 a1e0 a1b3 a1b7 a0x0 a0y1 a0x2 a0y5 b3x8 b3z6
Back to top
View user's profile Send e-mail                         Bookmark and Share
jamieOffline
Dead Eye Jack
Avatar

Joined: 25 February 2009
Total posts: 514
Gender: Unknown
Karma: 316
Karma yesterday, day before: 316, 316

Post: #6 (ID: 67511)   PostPosted: Tue Jun 16, 2009 2:13 pm    Karma this post: (+0 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

Grrrr. It works for me!

Can you try again, please?

I've changed the error message - if you could paste it here...

_________________

 

>> Come visit Jamie's RANTS, and leave your comments! << - Last post: 29th Jul 2010.    Last reply: 19th Jul 2010.

>> My current main "spotify" playlist <<

"I'm from Wales. Most of the best Welsh people are." - Jamie Landeg Jones

>> Live Gower Webcams <<      148 days to Christmas Day !        Word of the day: omphalomesenteric             >> UK stats! <<

Ian "Clarkey" Clarke currently owes me £1280.00
Back to top
View user's profile                         Bookmark and Share
CAP'N PUGWASH LIZOffline
Avatar

Joined: 14 May 2004
Total posts: 22002
Karma: 1539
Karma yesterday, day before: 1539, 1539
Gallery Entries : 454
Post: #7 (ID: 67516)   PostPosted: Tue Jun 16, 2009 4:12 pm    Karma this post: (+1 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

 jamie likes this post.

Error 1 updating notifications table


tried tae thumbs up ye there! Rolling Eyes

_________________
c4l3 c4m5 c4n2 c4q9 c4q5




YO HO HO HO.............A PIRATE'S LIFE FER ME!


b3x8 b3z6 a1c3 a1e0 a1b3 a1b7 a0x0 a0y1 a0x2 a0y5 b3x8 b3z6
Back to top
View user's profile Send e-mail                         Bookmark and Share
jamieOffline
Dead Eye Jack
Avatar

Joined: 25 February 2009
Total posts: 514
Gender: Unknown
Karma: 316
Karma yesterday, day before: 316, 316

Post: #8 (ID: 67517)   PostPosted: Tue Jun 16, 2009 4:25 pm    Karma this post: (+0 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

um.......... huh? it's not meant to say that!

i changed the message

hellllllllp!

_________________

 

>> Come visit Jamie's RANTS, and leave your comments! << - Last post: 29th Jul 2010.    Last reply: 19th Jul 2010.

>> My current main "spotify" playlist <<

"I'm from Wales. Most of the best Welsh people are." - Jamie Landeg Jones

>> Live Gower Webcams <<      148 days to Christmas Day !        Word of the day: omphalomesenteric             >> UK stats! <<

Ian "Clarkey" Clarke currently owes me £1280.00
Back to top
View user's profile                         Bookmark and Share
jamieOffline
Dead Eye Jack
Avatar

Joined: 25 February 2009
Total posts: 514
Gender: Unknown
Karma: 316
Karma yesterday, day before: 316, 316

Post: #9 (ID: 67522)   PostPosted: Tue Jun 16, 2009 5:34 pm    Karma this post: (+2 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

  ice maiden and Frilly Petticoats like this post.

Doh. I'm an idiot.

I know why it doesn't work for Cap'n!

I forgot to smart-quote the username, and the "'" in your username caused the program to get confused (as a ' is used to seperate strings)

What a wally

Should all work now!

_________________

 

>> Come visit Jamie's RANTS, and leave your comments! << - Last post: 29th Jul 2010.    Last reply: 19th Jul 2010.

>> My current main "spotify" playlist <<

"I'm from Wales. Most of the best Welsh people are." - Jamie Landeg Jones

>> Live Gower Webcams <<      148 days to Christmas Day !        Word of the day: omphalomesenteric             >> UK stats! <<

Ian "Clarkey" Clarke currently owes me £1280.00
Back to top
View user's profile                         Bookmark and Share
ice maidenOffline
BOAT CHIEF IRONIN' 'N WASHERWUMMIN
Avatar

Joined: 16 October 2004
Total posts: 8397
Location: scotland
Age: 49
Gender: Female
Karma: 1369
Karma yesterday, day before: 1369, 1369
Gallery Entries : 35
Post: #10 (ID: 67524)   PostPosted: Tue Jun 16, 2009 6:23 pm    Karma this post: (+0 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

Gave ye a thumbs up an' nae error message appeared Very Happy

_________________
c5f5 CAUTION! Ah can go fae 0 tae bitch in 1.3 seconds c5g3
Back to top
View user's profile                         Bookmark and Share
jamieOffline
Dead Eye Jack
Avatar

Joined: 25 February 2009
Total posts: 514
Gender: Unknown
Karma: 316
Karma yesterday, day before: 316, 316

Post: #11 (ID: 67525)   PostPosted: Tue Jun 16, 2009 6:23 pm    Karma this post: (+0 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

Smile

Trust Cap'n to be difficult!

_________________

 

>> Come visit Jamie's RANTS, and leave your comments! << - Last post: 29th Jul 2010.    Last reply: 19th Jul 2010.

>> My current main "spotify" playlist <<

"I'm from Wales. Most of the best Welsh people are." - Jamie Landeg Jones

>> Live Gower Webcams <<      148 days to Christmas Day !        Word of the day: omphalomesenteric             >> UK stats! <<

Ian "Clarkey" Clarke currently owes me £1280.00
Back to top
View user's profile                         Bookmark and Share
CAP'N PUGWASH LIZOffline
Avatar

Joined: 14 May 2004
Total posts: 22002
Karma: 1539
Karma yesterday, day before: 1539, 1539
Gallery Entries : 454
Post: #12 (ID: 67526)   PostPosted: Tue Jun 16, 2009 6:38 pm    Karma this post: (+2 -1)  
Post subject:  
 Posted from: United Kingdom Reply with quote

 madmole likes this post.

Error 1 updating notifications table


IT NO BE WURKS!

b9l3

_________________
c4l3 c4m5 c4n2 c4q9 c4q5




YO HO HO HO.............A PIRATE'S LIFE FER ME!


b3x8 b3z6 a1c3 a1e0 a1b3 a1b7 a0x0 a0y1 a0x2 a0y5 b3x8 b3z6
Back to top
View user's profile Send e-mail                         Bookmark and Share
jamieOffline
Dead Eye Jack
Avatar

Joined: 25 February 2009
Total posts: 514
Gender: Unknown
Karma: 316
Karma yesterday, day before: 316, 316

Post: #13 (ID: 67543)   PostPosted: Tue Jun 16, 2009 7:59 pm    Karma this post: (+3 -1)  
Post subject:  
 Posted from: United Kingdom Reply with quote


CAP'N PUGWASH LIZ wrote:
Error 1 updating notifications table


IT NO BE WURKS!

b9l3


Paaaah. Thanks for the raucous giggles!!

Doh! You got me!

When I realised what was wrong, I hadn't yet fixed it, but thought it won't take long, so instead of fixing it, then making a further "it's fixed now" I'll simply put it in the same post..

I didn't expect that 1) I'd get sidetracked with another problem, and 2) Cap'n would log in before it's REALLY fixed!

Anyway, now it is fixed! Please test it Smile

_________________

 

>> Come visit Jamie's RANTS, and leave your comments! << - Last post: 29th Jul 2010.    Last reply: 19th Jul 2010.

>> My current main "spotify" playlist <<

"I'm from Wales. Most of the best Welsh people are." - Jamie Landeg Jones

>> Live Gower Webcams <<      148 days to Christmas Day !        Word of the day: omphalomesenteric             >> UK stats! <<

Ian "Clarkey" Clarke currently owes me £1280.00
Back to top
View user's profile                         Bookmark and Share
CAP'N PUGWASH LIZOffline
Avatar

Joined: 14 May 2004
Total posts: 22002
Karma: 1539
Karma yesterday, day before: 1539, 1539
Gallery Entries : 454
Post: #14 (ID: 67544)   PostPosted: Tue Jun 16, 2009 9:39 pm    Karma this post: (+1 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

 jamie likes this post.

Rolling Eyes Smartass! It be WURKS! Rolling Eyes

_________________
c4l3 c4m5 c4n2 c4q9 c4q5




YO HO HO HO.............A PIRATE'S LIFE FER ME!


b3x8 b3z6 a1c3 a1e0 a1b3 a1b7 a0x0 a0y1 a0x2 a0y5 b3x8 b3z6
Back to top
View user's profile Send e-mail                         Bookmark and Share
madmole
Chief Mutineer
Avatar

Location: South Wales
Age: 40
Gender: Female
Karma: 1127
Karma yesterday, day before: 1127, 1127
Gallery Entries : 90

Post: #15 (ID: 67549)   PostPosted: Wed Jun 17, 2009 8:23 am    Karma this post: (+0 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

Yep it seems to work ok now Bouncing Grin

_________________
Be yourself...everyone else is already taken. Bouncing Grin

www.swanseasharks.org.uk
Back to top
View user's profile                         Bookmark and Share
jamieOffline
Dead Eye Jack
Avatar

Joined: 25 February 2009
Total posts: 514
Gender: Unknown
Karma: 316
Karma yesterday, day before: 316, 316

Post: #16 (ID: 67567)   PostPosted: Thu Jun 18, 2009 6:23 pm    Karma this post: (+2 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

 CAP'N PUGWASH LIZ likes this post.

CAP'N PUGWASH LIZ wrote:
Rolling Eyes Smartass! It be WURKS! Rolling Eyes


You sound disappointed!

_________________

 

>> Come visit Jamie's RANTS, and leave your comments! << - Last post: 29th Jul 2010.    Last reply: 19th Jul 2010.

>> My current main "spotify" playlist <<

"I'm from Wales. Most of the best Welsh people are." - Jamie Landeg Jones

>> Live Gower Webcams <<      148 days to Christmas Day !        Word of the day: omphalomesenteric             >> UK stats! <<

Ian "Clarkey" Clarke currently owes me £1280.00
Back to top
View user's profile                         Bookmark and Share
CAP'N PUGWASH LIZOffline
Avatar

Joined: 14 May 2004
Total posts: 22002
Karma: 1539
Karma yesterday, day before: 1539, 1539
Gallery Entries : 454
Post: #17 (ID: 67570)   PostPosted: Thu Jun 18, 2009 7:42 pm    Karma this post: (+0 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

Rolling Eyes


Laugh Out Loud Laugh Out Loud Laugh Out Loud Laugh Out Loud Laugh Out Loud

_________________
c4l3 c4m5 c4n2 c4q9 c4q5




YO HO HO HO.............A PIRATE'S LIFE FER ME!


b3x8 b3z6 a1c3 a1e0 a1b3 a1b7 a0x0 a0y1 a0x2 a0y5 b3x8 b3z6
Back to top
View user's profile Send e-mail                         Bookmark and Share
jamieOffline
Dead Eye Jack
Avatar

Joined: 25 February 2009
Total posts: 514
Gender: Unknown
Karma: 316
Karma yesterday, day before: 316, 316

Post: #18 (ID: 67573)   PostPosted: Thu Jun 18, 2009 7:51 pm    Karma this post: (+1 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

 CAP'N PUGWASH LIZ likes this post.

Anyway, everyone now knows it was YOU that wrote the code, and fixed the problem!

_________________

 

>> Come visit Jamie's RANTS, and leave your comments! << - Last post: 29th Jul 2010.    Last reply: 19th Jul 2010.

>> My current main "spotify" playlist <<

"I'm from Wales. Most of the best Welsh people are." - Jamie Landeg Jones

>> Live Gower Webcams <<      148 days to Christmas Day !        Word of the day: omphalomesenteric             >> UK stats! <<

Ian "Clarkey" Clarke currently owes me £1280.00
Back to top
View user's profile                         Bookmark and Share
CAP'N PUGWASH LIZOffline
Avatar

Joined: 14 May 2004
Total posts: 22002
Karma: 1539
Karma yesterday, day before: 1539, 1539
Gallery Entries : 454
Post: #19 (ID: 67582)   PostPosted: Fri Jun 19, 2009 12:02 am    Karma this post: (+0 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

That be TROO! Laugh Out Loud Laugh Out Loud

_________________
c4l3 c4m5 c4n2 c4q9 c4q5




YO HO HO HO.............A PIRATE'S LIFE FER ME!


b3x8 b3z6 a1c3 a1e0 a1b3 a1b7 a0x0 a0y1 a0x2 a0y5 b3x8 b3z6
Back to top
View user's profile Send e-mail                         Bookmark and Share
jamieOffline
Dead Eye Jack
Avatar

Joined: 25 February 2009
Total posts: 514
Gender: Unknown
Karma: 316
Karma yesterday, day before: 316, 316

Post: #20 (ID: 67607)   PostPosted: Sat Jun 20, 2009 3:44 pm    Karma this post: (+0 -0)  
Post subject:  
 Posted from: United Kingdom Reply with quote

Ok, Notification code update: I still haven't added the 'delete notifications' code, but the Notifications link now only highlights NEW notifications. So if you click http://themolehill.bishsite.com/catflap_notifications.php then your notification count will be reset.

Also, on that page, 'old' notifications are shown with a grey background

_________________

 

>> Come visit Jamie's RANTS, and leave your comments! << - Last post: 29th Jul 2010.    Last reply: 19th Jul 2010.

>> My current main "spotify" playlist <<

"I'm from Wales. Most of the best Welsh people are." - Jamie Landeg Jones

>> Live Gower Webcams <<      148 days to Christmas Day !        Word of the day: omphalomesenteric             >> UK stats! <<

Ian "Clarkey" Clarke currently owes me £1280.00
Back to top
View user's profile                         Bookmark and Share
Display posts from previous:   
Post new topic   Reply to topic       Moles Molehill Forum Index -> THA CROW'S NEST-> "Notifications" All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by phpBB 2 © 2001 - 2005 phpBB Group
* System Network Status *
* Catflap phpBB Changes *
Served by catflap.bishopston.net
Powered By FreeBSD

Page generation @ 11:43:21 - time: 1.0752s (PHP: 89% - SQL: 11%) - SQL queries: 90