Upgrading the forum

  • The Fighting Cock is a forum for fans of Tottenham Hotspur Football Club. Here you can discuss Spurs latest matches, our squad, tactics and any transfer news surrounding the club. Registration gives you access to all our forums (including 'Off Topic' discussion) and removes most of the adverts (you can remove them all via an account upgrade). You're here now, you might as well...

    Get involved!

Latest Spurs videos from Sky Sports

Apologies if already brought up elsewhere.
After Watching an embedded YouTube link on the app on iPad I always get sent back to the home page instead of staying in the thread I was in.

Basically, if you don't fix this I will take it as a personal insult and crush you and your entire family so that your DNA can not be left to pollute the planet any further.

Thanks sweety
 
Considering bit.ly has a pretty straightforward API, might it be possible to feed urls in posts that feature /rsenal/ in them into bit.ly before the filter clobbers them? I'm not terribly interested in clicking on links to "woolwich"-mania, but news articles, etc., might be more useful. I have something along these lines in mind:

… fuck I haven't written in PHP in forever... anyway, if it hits on /http\S+rsenal/ in the body text, it should go through the body text, find all the urls, send each to bit.ly if it has the bad word in it, and replace the url in the body with the new, bit.ly'ed one. I bet a supergenius like Ratty could write this in ten minutes. Here's even the php code for the bit.ly grab:

PHP:
function get_bitly_short_url($url,$login,$appkey,$format='txt') {
    $connectURL = 'http://api.bit.ly/v3/shorten?login='.$login.'&apiKey='.$appkey.'&uri='.urlencode($url).'&format='.$format;
    return curl_get_result($connectURL);
}
(from: http://davidwalsh.name/bitly-api-php )
 
Last edited:
@ Éperons Éperons If you can tell me the exact steps of how to get that working with xenForo then I'll take a look.

Not really gonna spend time looking into something to fix a few Woolwich links. Rather add pretty little arrows.
 
I must say, I've seen a couple of forums today for various reasons and they still look like forums did in the early 2000s. Makes me appreciate this forum all the more.

welldone.jpg
 
When you get a quoted post, would it be possible to click on the quoted post and have your browser take you to the quoted post?
Quoted post.
Quoted post.



Seriously, is it possible? It would be nice.

Regards,

tricky.
 
Back
Top Bottom