bbcode temporarily porked

Where we keep all the boring tidbits about the PHPDN site, the news, and what not.

Moderator: General Moderators

McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

bbcode temporarily porked

Post by McGruff »

It's nasty I know - we're working on it...
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

I wanted to turn on HTML until bbcode gets enabled.
Edit Profile (profile.php?mode=editprofile) is not working.
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

Php tags are working again but unfortunately the new system isn't formatting older posts properly.

I'm working on it...
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

McGruff wrote:I'm working on it...
tirelessly no doubt...thx for your efforts McG
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

Update: there are about 30,000 posts to fix in total and for reasons too complicated to explain, they all have to be opened for editing and resubmitted. Not by hand 8O - a script is running round the clock to do that automatically (using the SimpleTest web tester). It'll be finished around Friday. I also need to run a few database queries to fix the html entities you can see in php tagged text. If I concentrate on more recent posts first, after a couple of days things will pretty much have returned to normal.

New posts are working fine with [ php ] tags.

Once again, apologies for the inconvenience.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

McGruff wrote:Update: there are about 30,000 posts to fix in total and for reasons too complicated to explain, they all have to be opened for editing and resubmitted. Not by hand 8O - a script is running round the clock to do that automatically (using the SimpleTest web tester). It'll be finished around Friday. I also need to run a few database queries to fix the html entities you can see in php tagged text. If I concentrate on more recent posts first, after a couple of days things will pretty much have returned to normal.

New posts are working fine with [ php ] tags.

Once again, apologies for the inconvenience.
Great job, it's much appreciated.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

We thank you McGruff for your hard efforts.

I think that some of the other customizations to this forum where lost, but they should be fairly easy fixes.

I can only remember one off the top of my head, but it's easy: CSS for textbox marked it width:100%; and put in a monospace font.
theda
Forum Contributor
Posts: 332
Joined: Sat Feb 19, 2005 8:35 am
Location: USA

Post by theda »

I wish I was as smert as McGruff *tear*.
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Post by nielsene »

McGruff wrote:Update: there are about 30,000 posts to fix in total and for reasons too complicated to explain, they all have to be opened for editing and resubmitted. Not by hand 8O - a script is running round the clock to do that automatically (using the SimpleTest web tester). It'll be finished around Friday. I also need to run a few database queries to fix the html entities you can see in php tagged text. If I concentrate on more recent posts first, after a couple of days things will pretty much have returned to normal.

New posts are working fine with [ php ] tags.

Once again, apologies for the inconvenience.
Just wondering, is there any hope for getting the php-highlighting code to stop changing 'u' to 'you' in code blocks?
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

I'll have a look at that when I've finished with the other problems.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

it's sorted in the older one, but the "new" one doesn't understand how that works..
theda
Forum Contributor
Posts: 332
Joined: Sat Feb 19, 2005 8:35 am
Location: USA

Post by theda »

Couldn't you set up a second filter that filters <you> into the right tag?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

no. The "filters" are word censors.. they are processed everywhere.. I hacked the output to get the old one "fixed"
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

Progress report: it took a few days to get the db into a state where I could begin clearing up the &amp;amp; and other messed up characters So far, I've done about 18,000 - the most recent first on the grounds that these are more likely to be requested than older posts.

In phpBB there are no unit tests so I have to work blind. It'll take a few passes and possibly a couple of weeks to get every last post which has been affected, but the forums should on the whole be returned to a usable state much earlier than that. In the latter stages I'll just be hunting down the odd special case. I hope.
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

Let me know if you have any problems with the scroll bars on php tagged text.

Scrollbars should pop up automatically if the code block is too wide or too tall. The maximum height is set at 40 lines of code which works well on a 1000x700 screen - is anyone using 800x600? It's awkward to scroll horizontally unless the full block fits in the window. I could do some screen res detection and set the max height dynamically if anyone complains.
Post Reply