FIXED newly added demo function not working properly
Moderator: Core Staff
-
- Past/Inactive Team Member
- Posts: 1141
- Joined: January 9th, 2005, 7:10 pm
- Location: The Netherlands
- Contact:
FIXED newly added demo function not working properly
I noticed on the main-site
the latest 3 demos, isn't working properly
under the CoD section you can see the Peaks demo, which is also under UO
(hope that makes sense)
the latest 3 demos, isn't working properly
under the CoD section you can see the Peaks demo, which is also under UO
(hope that makes sense)
-
- Too cool for CoDJumper
- Posts: 3535
- Joined: April 21st, 2005, 8:54 pm
- Location: England, Redditch
-
- Site Admin
- Posts: 15914
- Joined: October 15th, 2004, 7:18 pm
- Location: UK
Ah.... I know why.
With the php functions, for the CoD demos bit I just asked the database to take the latest row from the 'demos' table, which stores data for both CoD and UO demos.
With the UO demo bit, I asked the database to take the latest row from the 'demos' table where the game was UO - so I just have to ask it to take the latest CoD demo
Didn't notice when I first did it because the latest demo was CoD lol.
With the php functions, for the CoD demos bit I just asked the database to take the latest row from the 'demos' table, which stores data for both CoD and UO demos.
With the UO demo bit, I asked the database to take the latest row from the 'demos' table where the game was UO - so I just have to ask it to take the latest CoD demo

Didn't notice when I first did it because the latest demo was CoD lol.


-
- Past/Inactive Team Member
- Posts: 1141
- Joined: January 9th, 2005, 7:10 pm
- Location: The Netherlands
- Contact:
-
- Too cool for CoDJumper
- Posts: 3535
- Joined: April 21st, 2005, 8:54 pm
- Location: England, Redditch
-
- Too cool for CoDJumper
- Posts: 3535
- Joined: April 21st, 2005, 8:54 pm
- Location: England, Redditch
-
- Too cool for CoDJumper
- Posts: 3535
- Joined: April 21st, 2005, 8:54 pm
- Location: England, Redditch
-
- Core Staff
- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
I totally agree.Pedsdude wrote:Nah but it's just an excuse for spam, which we don't want.
I would prefer to see 100 posts about "how to watch demos" then a 100 more of pointlessly quoted comments
(/me expects this to be quoted and used as a single post


Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
- Core Staff
- Posts: 2155
- Joined: December 7th, 2004, 2:07 am
- Location: Netherlands
- Contact:
Totally agree with the both of you, that quoting-only thing starts to get annoying.Drofder2004 wrote:I totally agree.Pedsdude wrote:Nah but it's just an excuse for spam, which we don't want.
I would prefer to see 100 posts about "how to watch demos" then a 100 more of pointlessly quoted comments
(/me expects this to be quoted and used as a single post)