FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Posts suddenly get empty ...





PGe-tips
Since I'm still a bit new here it could be related to some rule I don't know about.
Today I noticed that some threads get empty suddenly.
All of the content simply is gone.
If you Quote you sometimes can read the code ..
here 's an example thread that has gone empty:
http://www.frihost.com/forums/vt-120779.html#994669
adri
PGe-tips wrote:
PGe-tips wrote:
just learned to know this one : http://lab.arc90.com/experiments/readability/
A simple tool that makes reading on the Web more enjoyable by removing the clutter around what you're reading.

You need to drag the Javascript to your browser's bookmark toolbar.
So when you reach a page with interesseting content which is scatter or burried by add's all over, simply click the "Readability" button and get clean kinda white paper layout ...

I like it a lot


This is in deed clean reading Very Happy Very Happy Very Happy Very Happy Very Happy
Why is my original post suddenly empty ... I guess they messing up the point counting system.
that being said I would love the see the complete content of this thread !!!


I had that once too. After some changing and etc. I found out that it was caused by a space in the url-tags. So normally if it is caused by that, it should be fixed now as I quoted your topic and if it isn't fixed, well than you are reading this message because you clicked the quote button. Razz


adri
Bondings
Yes I know about this bug. It is very annoying. Whenever I see it in the forums I try to fix it, which isn't always easy. Usually it's a character in a url that causes it. I'm not sure if some of my modifications are causing it or it is simply a bug in phpbb2. In the case you linked to, the closing url part was on a different line.

It might also be due to a new php version behaving differently now than previous versions.
deanhills
I've seen that happening too. What has helped me is just to remove the URL tags. Or to select the portion of the link that is the main portion of the URL tag as it is usually the last bit that creates the problem. I've seen that happening especially with Wikipedia topic pages.
Flakky
Strange this pops up, if you want you could change it to the method PHP-Fusion uses to create urls. Here is the code PHP-Fusion uses:
Quote:
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: url_bbcode_include.php
| Author: Wooya
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

//Url BBCode with auto triming long links
$text = preg_replace('#\[url\]([\r\n]*)(http://|ftp://|https://|ftps://)([^\s\'\"]*?)([\r\n]*)\[/url\]#sie', "'<a href=\'\\2\\3\' target=\'_blank\' title=\'\\2\\3\'>'.trimlink('\\2\\3', 20).(strlen('\\2\\3')>30?substr('\\2\\3', strlen('\\2\\3')-10, strlen('\\2\\3')):'').'</a>'", $text);
$text = preg_replace('#\[url\]([\r\n]*)([^\s\'\"]*?)([\r\n]*)\[/url\]#sie', "'<a href=\'http://\\2\' target=\'_blank\' title=\'\\2\'>'.trimlink('\\2', 20).(strlen('\\2')>30?substr('\\2', strlen('\\2')-10, strlen('\\2')):'').'</a>'", $text);
$text = preg_replace('#\[url=([\r\n]*)(http://|ftp://|https://|ftps://)([^\s\'\"]*?)\](.*?)([\r\n]*)\[/url\]#si', '<a href=\'\2\3\' target=\'_blank\' title=\'\2\3\'>\4</a>', $text);
$text = preg_replace('#\[url=([\r\n]*)([^\s\'\"]*?)\](.*?)([\r\n]*)\[/url\]#si', '<a href=\'http://\2\' target=\'_blank\' title=\'\2\'>\3</a>', $text);
?>
Related topics
Guest posts
Exceeded the alloted amount of posts ???
question abt posts/mth
Worker's Compensation
5 posts only..?
Posting Guidelines / Guidelines to Make Quality Posts
PHP Image suddenly doesn't work?
Want to know if LOVE is real?
OR for empty posts?
Software Forums - based on phpBB
WooHoo! My forum just made it over 1000 non-spam posts!
Deleting Blog Posts
Add number of posts on the forums index page
clean reading with Readability
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Frihost Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.