that was built for a short french revolution or something and everything about it was small. The castle was small. The 'war' was short. They fired minature cannon balls. I can't remember where it was though.
Its used for both of us to pass the time/have a break from work for 5 mins so its not a big deal. He sometimes talks about trolling some MP on twitter but then he'll start going into a big politics story and history and I'm just like stfu
<?php
/**
* @version $Id: router.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
function ContentBuildRoute(&$query)
{
$segments = array();
// get a menu item based on Itemid or currently active
$menu = &JSite::getMenu();
if (empty($query['Itemid'])) {
$menuItem = &$menu->getActive();
} else {
$menuItem = &$menu->getItem($query['Itemid']);
}
$mView = (empty($menuItem->query['view'])) ? null : $menuItem->query['view'];
$mCatid = (empty($menuItem->query['catid'])) ? null : $menuItem->query['catid'];
$mId = (empty($menuItem->query['id'])) ? null : $menuItem->query['id'];
// are we dealing with an article that is attached to a menu item?
if (($mView == 'article') and (isset($query['id'])) and ($mId == intval($query['id']))) {
unset($query['view']);
unset($query['catid']);
unset($query['id']);
}
if (isset($view) and ($view == 'section' && !empty($query['Itemid']))) {
if (($mView != 'section') or ($mView == 'section' and $mId != intval($query['id']))) {
$segments[] = 'section';
unset($query['Itemid']);
}
}
if (isset($view) and $view == 'category') {
if ($mId != intval($query['id']) || $mView != $view) {
$segments[] = $query['id'];
}
unset($query['id']);
}
if (isset($query['catid'])) {
// if we are routing an article or category where the category id matches the menu catid, don't include the category segment
if ((($view == 'article') and ($mView != 'category') and ($mView != 'article') and ($mCatid != intval($query['catid'])))) {
$segments[] = $query['catid'];
}
unset($query['catid']);
};
<?php
/**
* @version $Id: router.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
if (($mView == 'article') and (isset($query['id'])) and ($mId == intval($query['id']))) {
unset($query['view']);
unset($query['catid']);
unset($query['id']);
}
if (isset($view) and ($view == 'section' && !empty($query['Itemid']))) {
if (($mView != 'section') or ($mView == 'section' and $mId != intval($query['id']))) {
$segments[] = 'section';
unset($query['Itemid']);
}
}
if (isset($view) and $view == 'category') {
if ($mId != intval($query['id']) || $mView != $view) {
$temp = explode(':',$query['id']);
if(count($temp) > 1)
{
$query['id'] = $temp[1];
}
if($vars['view'] == 'article')
{
$query = 'SELECT id FROM #__content WHERE alias = '.$db->Quote($vars['id']);
} elseif($vars['view'] == 'category') {
$query = 'SELECT id FROM #__categories WHERE section > 0 && alias = '.$db->Quote($vars['id']);
}
$db->setQuery($query);
$vars['id'] = $db->loadResult();
}
return $vars;
}
and it half works - and half totally breaks the site?
Whose anus (and please feel free to include your own) have you spent the most time with your fingers up it?
?
Your mum's.
Apologise!
Apologise right now.
She don't do mum jokes often but when she does....
:D
agreed..... this is perfect
really, truthfully, and without feeling like you'll get into trouble with either of us
so you actually prefer CG or me?
Well CG would let me see his film if he made one
but you won't. So I prefer him at the moment.
i would let you see it if we were together
Have you ever looked at cg and thought for a second that you were looking in a mirror
Or looked in a mirror and thought it was cg? Just for second
Or a puddle. Or sheet of metal
He doesn't really look like me that much
I'm much better looking
If the sheet of metal was all twisted and contorted so the reflection was messed up
no offence but
http://tommellors.files.wordpress.com/2010/12/localshoppic.jpg?w=300&h=177
no offence
Thanks
How does thundersnow work?
I don't want to know what it is, I want to know why it happens. I know I can count on you, meowington, please don't let me down xoxo
bbz, i don't know what that means
xoxo
It's when you get thunder and snow at the same time
It's like no-one knows. I thought you might know
What's your favourite thing in Paris that I haven't seen?
The favourite thing I saw was this tiny castle
that was built for a short french revolution or something and everything about it was small. The castle was small. The 'war' was short. They fired minature cannon balls. I can't remember where it was though.
I know not of this. I will look it up
Lyle
I miss Lyle
hantarasharash or kayne west?
I have no clue what the first thing is
Whos the person off here who youve met with the fattest head
Im still waiting for an answer from 2+ years ago...
You.
You have the fattest head. I was too afraid to tell you before. Soz.
:'(
Something something..... not that kind of head
WIsh I'd abanodned reply (SORRY, too much wine at lunch).
My word
unlucky fathead
which disser would you most like to meet who you have not met?
sexybum probs
:(
I THOUGHT HE MEANT ONE
I'd like to meet:
chris-budget
ccb
thewarn
plasticniki
balonz
jacques
kik
bit needy
i did mean just one
i feel pretty special now tho
WINZ
harrumph
we should invite meowington to fenino 4
is that me?
Does CG troll in front of you
or only do it in private?
Yeah but its majorly shit
He'll go 'ooh your dog is in the garden' and i'll glance over at the garden and he's like HAHAHAHAHHA NO SHES NOT
great trick!
34,000 posts? bloody hell
what do you think about CG's trolling?
are you all :|
or :D
maybe even :(
I don't really read it
I rarely go into the threads he posts and he rarely goes into the threads I post in so our paths don't cross all that much on here.
I'd only disapprove of it if he was being nasty to individual people rather than winding people up over some shit story.
I don't think I have ever seen him being actually nasty to anyone
does he come home and start regaling you with tale some his top level trolling whilst munching on his pea dinner? or does it now really come up?
We never speak about drownedinsound at home
Its used for both of us to pass the time/have a break from work for 5 mins so its not a big deal. He sometimes talks about trolling some MP on twitter but then he'll start going into a big politics story and history and I'm just like stfu
thanks for your detailed response!
how's your dad?
He's ok.
I'm seeing him on Sunday so I'm sure I'll get a full update. He keeps pressuring me to get a home phone. I don't know why.
Knowing your dad he probably wants to ring up and pretend to be random people to annoy you both.
rank these programmes
come dine with me
dinner date
4 in a bed
singdate
I'd rank them in that order
Come dine with me being the best
really want some chocolate.
just had a wispa gold
unlucky.
incorrect
I love wispa golds
I've to a biscotti though
CG got me a box of 32 guylian chocolate seashell things and I'm down to about 20 odd. I have 4 for breakfast.
just caved and bought a twirl.
somehow, one finger was really cold and hard and the other was all warm and squishy. not a good user experience.
How are you going to stop the troll sending everyone loads of password reset emails
and in the meantime fixing everyone's email accounts so they have a filter to stop receiving those emails?
Jesse Pinkman vs Phil Dunphy vs Ron Swanson:
SNOG MARRY AVOID
Ooh DONT!
I'd marry Phil, snog Jesse and avoid Ron.
probs the right answer
How posts/replies do you put up per day roughly?
On average
32.876
Thanks. All numerical answers should be to three decimal places.
I'm probably 3.456 .
what do you think of the new pete swanson album>?
a girl in my office just got a delivery of chicken flavoured salt
WUT
They have this all over Australia
basically ground up OXO that they put all over takeaway chips.
monsters
and yet......
Can't say I'm not a bit curious.
She is Australian
Are there buses that go to your house?
Yes
73
Favourite Kettle crisps flavour?
PG or Tetley?
Salted
PG Tips.
favourite FILM?
discounting cat_race film obvs
Raising Arizona
Who do you sound like?
Celebrity-wise I mean. Are you posh-Essex or rough-arse Cockney?
Erm
I don't know really. Someone else will have to suggest someone.
I'm not Posh Essex but not fully rough cockney. I talk like Danny Dyer when I'm angry.
feeling a bit lost at the moment
what shall i do with my life?
You should make some illustrations
and I'll make some tote bags or some pillows and we'll start a business with my bits and your bits.
and we'll call it BITS & BITS
how do i remove the article id in the urls for joomla 1.5.2
I've found a hack that replaces
<?php
/**
* @version $Id: router.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
function ContentBuildRoute(&$query)
{
$segments = array();
// get a menu item based on Itemid or currently active
$menu = &JSite::getMenu();
if (empty($query['Itemid'])) {
$menuItem = &$menu->getActive();
} else {
$menuItem = &$menu->getItem($query['Itemid']);
}
$mView = (empty($menuItem->query['view'])) ? null : $menuItem->query['view'];
$mCatid = (empty($menuItem->query['catid'])) ? null : $menuItem->query['catid'];
$mId = (empty($menuItem->query['id'])) ? null : $menuItem->query['id'];
if(isset($query['view']))
{
$view = $query['view'];
if(empty($query['Itemid'])) {
$segments[] = $query['view'];
}
unset($query['view']);
};
// are we dealing with an article that is attached to a menu item?
if (($mView == 'article') and (isset($query['id'])) and ($mId == intval($query['id']))) {
unset($query['view']);
unset($query['catid']);
unset($query['id']);
}
if (isset($view) and ($view == 'section' && !empty($query['Itemid']))) {
if (($mView != 'section') or ($mView == 'section' and $mId != intval($query['id']))) {
$segments[] = 'section';
unset($query['Itemid']);
}
}
if (isset($view) and $view == 'category') {
if ($mId != intval($query['id']) || $mView != $view) {
$segments[] = $query['id'];
}
unset($query['id']);
}
if (isset($query['catid'])) {
// if we are routing an article or category where the category id matches the menu catid, don't include the category segment
if ((($view == 'article') and ($mView != 'category') and ($mView != 'article') and ($mCatid != intval($query['catid'])))) {
$segments[] = $query['catid'];
}
unset($query['catid']);
};
if(isset($query['id'])) {
if (empty($query['Itemid'])) {
$segments[] = $query['id'];
} else {
if (isset($menuItem->query['id'])) {
if($query['id'] != $mId) {
$segments[] = $query['id'];
}
} else {
$segments[] = $query['id'];
}
}
unset($query['id']);
};
if(isset($query['year'])) {
if(!empty($query['Itemid'])) {
$segments[] = $query['year'];
unset($query['year']);
}
};
if(isset($query['month'])) {
if(!empty($query['Itemid'])) {
$segments[] = $query['month'];
unset($query['month']);
}
};
if(isset($query['layout']))
{
if(!empty($query['Itemid']) && isset($menuItem->query['layout'])) {
if ($query['layout'] == $menuItem->query['layout']) {
unset($query['layout']);
}
} else {
if($query['layout'] == 'default') {
unset($query['layout']);
}
}
};
return $segments;
}
function ContentParseRoute($segments)
{
$vars = array();
//Get the active menu item
$menu =& JSite::getMenu();
$item =& $menu->getActive();
// Count route segments
$count = count($segments);
//Standard routing for articles
if(!isset($item))
{
$vars['view'] = $segments[0];
$vars['id'] = $segments[$count - 1];
return $vars;
}
//Handle View and Identifier
switch($item->query['view'])
{
case 'section' :
{
if($count == 1) {
$vars['view'] = 'category';
if(isset($item->query['layout']) && $item->query['layout'] == 'blog') {
$vars['layout'] = 'blog';
}
}
if($count == 2) {
$vars['view'] = 'article';
$vars['catid'] = $segments[$count-2];
}
$vars['id'] = $segments[$count-1];
} break;
case 'category' :
{
$vars['id'] = $segments[$count-1];
$vars['view'] = 'article';
} break;
case 'frontpage' :
{
$vars['id'] = $segments[$count-1];
$vars['view'] = 'article';
} break;
case 'article' :
{
$vars['id'] = $segments[$count-1];
$vars['view'] = 'article';
} break;
case 'archive' :
{
if($count != 1)
{
$vars['year'] = $count >= 2 ? $segments[$count-2] : null;
$vars['month'] = $segments[$count-1];
$vars['view'] = 'archive';
} else {
$vars['id'] = $segments[$count-1];
$vars['view'] = 'article';
}
}
}
return $vars;
}
with
<?php
/**
* @version $Id: router.php 14401 2010-01-26 14:10:00Z louis $
* @package Joomla
* @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
function ContentBuildRoute(&$query)
{
$segments = array();
$menu = &JSite::getMenu();
if (empty($query['Itemid'])) {
$menuItem = &$menu->getActive();
} else {
$menuItem = &$menu->getItem($query['Itemid']);
}
$mView = (empty($menuItem->query['view']))? null : $menuItem->query['view'];
$mCatid = (empty($menuItem->query['catid']))? null : $menuItem->query['catid'];
$mId = (empty($menuItem->query['id']))? null : $menuItem->query['id'];
if(isset($query['task'])) {
return $segments;
}
if(isset($query['view']))
{
$view = $query['view'];
if(empty($query['Itemid'])) {
$segments[] = $query['view'];
}
unset($query['view']);
};
if (($mView == 'article') and (isset($query['id'])) and ($mId == intval($query['id']))) {
unset($query['view']);
unset($query['catid']);
unset($query['id']);
}
if (isset($view) and ($view == 'section' && !empty($query['Itemid']))) {
if (($mView != 'section') or ($mView == 'section' and $mId != intval($query['id']))) {
$segments[] = 'section';
unset($query['Itemid']);
}
}
if (isset($view) and $view == 'category') {
if ($mId != intval($query['id']) || $mView != $view) {
$temp = explode(':',$query['id']);
if(count($temp) > 1)
{
$query['id'] = $temp[1];
}
$segments[] = $query['id'];
}
unset($query['id']);
}
if (isset($query['catid'])) {
if ((($view == 'article') and ($mView != 'category') and ($mView != 'article') and ($mCatid != intval($query['catid'])))) {
$temp = explode(':',$query['catid']);
if(count($temp) > 1)
{
$query['catid'] = $temp[1];
}
$segments[] = $query['catid'];
}
unset($query['catid']);
};
if(isset($query['id'])) {
if (empty($query['Itemid'])) {
$temp = explode(':',$query['id']);
if(count($temp) > 1)
{
$query['id'] = $temp[1];
}
$segments[] = $query['id'];
} else {
if (isset($menuItem->query['id'])) {
if($query['id'] != $mId) {
$temp = explode(':',$query['id']);
if(count($temp) > 1)
{
$query['id'] = $temp[1];
}
$segments[] = $query['id'];
}
} else {
$temp = explode(':',$query['id']);
if(count($temp) > 1)
{
$query['id'] = $temp[1];
}
$segments[] = $query['id'];
}
}
unset($query['id']);
};
if(isset($query['year'])) {
if(!empty($query['Itemid'])) {
$segments[] = $query['year'];
unset($query['year']);
}
};
if(isset($query['month'])) {
if(!empty($query['Itemid'])) {
$segments[] = $query['month'];
unset($query['month']);
}
};
if(isset($query['layout']))
{
if(!empty($query['Itemid']) && isset($menuItem->query['layout'])) {
if ($query['layout'] == $menuItem->query['layout']) {
unset($query['layout']);
}
} else {
if($query['layout'] == 'default') {
unset($query['layout']);
}
}
};
return $segments;
}
function ContentParseRoute($segments)
{
$vars = array();
$menu =& JSite::getMenu();
$item =& $menu->getActive();
$db =& JFactory::getDBO();
$count = count($segments);
if(!isset($item))
{
$vars['view'] = $segments[0];
$vars['id'] = $segments[$count - 1];
if($vars['view'] == 'article')
{
$query = 'SELECT id FROM #__content WHERE alias = '.$db->Quote($vars['id']);
} elseif($vars['view'] == 'category') {
$query = 'SELECT id FROM #__categories WHERE section > 0 && alias = '.$db->Quote($vars['id']);
}
$db->setQuery($query);
$vars['id'] = $db->loadResult();
return $vars;
}
switch($item->query['view'])
{
case 'section' :
{
if($count == 1) {
$vars['view'] = 'category';
if(isset($item->query['layout']) && $item->query['layout'] == 'blog') {
$vars['layout'] = 'blog';
}
}
if($count == 2) {
$vars['view'] = 'article';
$vars['catid'] = $segments[$count-2];
}
$vars['id'] = $segments[$count-1];
} break;
case 'category' :
{
$vars['id'] = $segments[$count-1];
$vars['view'] = 'article';
} break;
case 'frontpage' :
{
$vars['id'] = $segments[$count-1];
$vars['view'] = 'article';
} break;
case 'article' :
{
$vars['id'] = $segments[$count-1];
$vars['view'] = 'article';
} break;
case 'archive' :
{
if($count != 1)
{
$vars['year'] = $count >= 2 ? $segments[$count-2] : null;
$vars['month'] = $segments[$count-1];
$vars['view'] = 'archive';
} else {
$vars['id'] = $segments[$count-1];
$vars['view'] = 'article';
}
}
}
$alias = explode(':', $vars['id']);
if((int) $alias[0] > 0)
{
$vars['id'] = $alias[0];
} else {
if(count($alias) > 1)
{
$vars['id'] = $alias[0].'-'.$alias[1];
}
if($vars['view'] == 'article')
{
$query = 'SELECT id FROM #__content WHERE alias = '.$db->Quote($vars['id']);
} elseif($vars['view'] == 'category') {
$query = 'SELECT id FROM #__categories WHERE section > 0 && alias = '.$db->Quote($vars['id']);
}
$db->setQuery($query);
$vars['id'] = $db->loadResult();
}
return $vars;
}
and it half works - and half totally breaks the site?
any ideas?
oops! - sorry
i didn't think it would be that long
oh noes
what are your nipples like; small 'n pink or proper beefburgers?
Did you two have fun at the convention?
http://i.imgur.com/bAyixGO.jpg
how? HOW?
How, gosh darn it?