Why not register?


Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 54 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC [ DST ]

Author Message
PostPosted: Mon Feb 25, 2008 5:41 pm  Post subject:
User avatar
Offline

The Devil, Probably
Joined: Fri Oct 26, 2007 3:40 pm
Posts: 2250
Location: Inside my body.
How can we center the contents of our posts in phpBB3?
I used the HTML
Code:
....
syntax so far. Will there be a way to do this without HTML?

_________________
Keep downloaded files shared as long as possible! You wouldn't be able to download without people sharing the stuff.

Image Image Image Image Image Image
Image

Next release will be: La Cité Des Entfants Perdu (1995) + Making Of (Status: working on the subtitles)
Last release was: Svengali (1931)


Top
 Profile  
PostPosted: Mon Feb 25, 2008 5:47 pm  Post subject:
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
I would prefer
Code:
[center][/center]
since it avoids having to have html on in every forum.

You can define bbcode tags from the console you see, which makes it rather simple to add stuff like nfo, s, spoiler, etc. custom bb.

I might have a look at searching a post for
Code:
and
Code:
and then if they find matches converting to [ center] on the fly, but that would be require a mod.

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Mon Feb 25, 2008 5:50 pm  Post subject:
User avatar
Offline

The Ancient One
Joined: Fri Jan 19, 2007 2:49 am
Posts: 2624
Location: Chernobyl
With this all being new to most of us, maybe add a small sticky guide with the new code changes to the FAQs on the new board?

_________________
Image


Top
 Profile  
PostPosted: Mon Feb 25, 2008 5:51 pm  Post subject:
User avatar
Offline

The Ancient One
Joined: Sat Oct 20, 2007 10:31 am
Posts: 3600
Hmm... Sometimes I used:

Code:
<div align="center"></div>


:mrgreen: Sorry.


Top
 Profile  
PostPosted: Mon Feb 25, 2008 5:54 pm  Post subject:
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
elchupacabra wrote:
Hmm... Sometimes I used:

Code:
<div align="center"></div>


:mrgreen: Sorry.


I have a mod that picks you up and drops you in a pit of lava.

well i don't, but I have a pit of lava. Well I don't actually have lava but there's a button on phpbb3 that deletes a user AND all of his posts and i need someone to test it on.... :wacky:

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Mon Feb 25, 2008 6:03 pm  Post subject:
User avatar
Offline

The Ancient One
Joined: Sat Oct 20, 2007 10:31 am
Posts: 3600
:o *quickly hides under the table*


Top
 Profile  
PostPosted: Mon Feb 25, 2008 11:17 pm  Post subject:
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
Image
Image
Image

Applied a few bug fixes and tweaks, this is fast approaching a level of funcitonality above our current forum (provided by mods).

Need to mod in:
  • Topic url format restriction [Title (YEAR)]
  • Link Censorship (aka. The "fuck you retaggers" mod) :lol:
  • The 'biggy' -> porting forward the frontpage renderer. I'm considering just using a topic parser for the shares, and keeping the frontpage entries in phpbb2 style :)
  • Implementing a blogging solution - This maybe bespoke (as was the original plan), a phpbb mod, or drupal (the blogging/content management system i use on several of my sites)


First one is simple, second one should be straightforward, third one could be a ballache, and the last one needs a decision on our part (however this will not stop any migration plans).

Way its performing, might be able to start migrating to a new host this friday :)

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Tue Feb 26, 2008 1:09 am  Post subject:
User avatar
Offline

The Devil, Probably
Joined: Wed Jul 18, 2007 8:37 am
Posts: 1861
Location: Rottencuntville
here's the HTML for 3. download the zip and inside you'll find install notes. if you really wanna do html :)
:beerchug:

_________________
Image
Life|over | Stockholm | Nackskott | MS Salmonella | I Like BDSM


Top
 Profile  
PostPosted: Tue Feb 26, 2008 4:39 am  Post subject:
User avatar
Offline

The Ancient One
Joined: Fri Jan 19, 2007 2:49 am
Posts: 2624
Location: Chernobyl
Just a thought....
Thers gonna be a shitload of posts that are already using various HTML code that are gonna end up screwed up unless you have something already setup to search all old posts & fix them to the new code.
I'm sure you already thought of that but just in case..... :D

_________________
Image


Top
 Profile  
PostPosted: Tue Feb 26, 2008 3:13 pm  Post subject:
User avatar
Offline

The Devil, Probably
Joined: Fri Oct 26, 2007 3:40 pm
Posts: 2250
Location: Inside my body.
Looks like everybody wants this and nobody volunteers for creating it.
See here: http://www.phpbb.com/community/viewtopi ... 2&t=545391

_________________
Keep downloaded files shared as long as possible! You wouldn't be able to download without people sharing the stuff.

Image Image Image Image Image Image
Image

Next release will be: La Cité Des Entfants Perdu (1995) + Making Of (Status: working on the subtitles)
Last release was: Svengali (1931)


Top
 Profile  
PostPosted: Fri Feb 29, 2008 1:25 pm  Post subject:
User avatar
Offline

The Ancient One
Joined: Sat Oct 20, 2007 10:31 am
Posts: 3600
spudthedestroyer wrote:
I would prefer
Code:
[center][/center]
since it avoids having to have html on in every forum.


That BB code doesn't work for me. :?


Top
 Profile  
PostPosted: Fri Feb 29, 2008 4:00 pm  Post subject:
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
we are still on phpbb2, it won't be turned on until we migrate to phpbb3 as it supports dynamically added bbcode. In 2 you have to modify the source code to add in a new code... as we did with nfo, s and spoiler.

So it will work as soon as we port up to the new version.

Code:

on the other hand will not outside of the collections forums.


Anyway, updates for people regarding phpbb3
  • I have now 'completed' the port forward of the shares parsing engine for the frontpage. The comment and news engine will remain bbcode2 for simplicity, whilst the forum topics displayed on the frontpage will be bbcode3... next i am going to crack on with the search portal.
  • As mentioned, i need to do the search but this will just be changing table names
  • I'm looking into some very powerful mods for phpbb3, one of which will add functionality that I've always wanted to support and was considering making it bespoke like the frontpage. That will likely be added after we migrate over and things have settled.
  • I modded a "show topics in parent" feature, but it has a bug that's very annoying since i'm trying to avoid modifying the database and the phpbb guys haven't made the smartest of db designs (in favour of speed of queries)... currently if you go into a child and mark all forums read, they won't be shown as read in the parent unless you click them, so you have to mark the parent as read to mark those as read (doh)... phpbb tracks marktimes based on 2 tables. if you click individual topics, they mark as read just fine :)



In terms of hosting, I've talked to one and they are giving us a week's free hosting. Hopefully they'll get back to me with details shortly.

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Fri Feb 29, 2008 4:01 pm  Post subject:
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
I could now pretend i was l33t and claim i rewrote the search, but it turns out the tables and columns it needs are unchanged between 2 and 3 so that is done too now :)


And on another positive note i got lost for a second and couldn't figure out if i was on the local phpbb3 board or the live one, until i spotted a news post in the top banner that said "testicals" :lol:

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Fri Feb 29, 2008 6:05 pm  Post subject:
User avatar
Offline

The Devil, Probably
Joined: Fri Oct 26, 2007 3:40 pm
Posts: 2250
Location: Inside my body.
Hehe, nice one! :beerchug:

_________________
Keep downloaded files shared as long as possible! You wouldn't be able to download without people sharing the stuff.

Image Image Image Image Image Image
Image

Next release will be: La Cité Des Entfants Perdu (1995) + Making Of (Status: working on the subtitles)
Last release was: Svengali (1931)


Top
 Profile  
PostPosted: Fri Feb 29, 2008 6:05 pm  Post subject:
User avatar
Offline

The Ancient One
Joined: Sat Oct 20, 2007 10:31 am
Posts: 3600
Oh ok sorry. I thought that [center] thing should already work with PHPBB2. :oops:


Top
 Profile  
PostPosted: Fri Feb 29, 2008 9:42 pm  Post subject:
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
I've modded in a services feature to the frontpage which will allow you submit (with images) a news or share entry to your facebook/google/del.icio.us/stumbleupon account).

Currently need to:
  • replace html links with url links prior to conversion to prevent very early ed2k posts from being messed up
  • Sort out some potential corruption of unicode data

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Sat Mar 01, 2008 8:12 pm  Post subject:
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
Found a HUGE bug in the migration convertor provided by phpbb, glad I didn't try this on a live database or we'd be f*cked and have to lose posts and migrate back :lol: I wrote up a list of regression tests and luckily checking formatting of data was one of them.

Seems it fucks up your character set, so for example the nfos come out looking crap since effectively you've botched your database and its permanently corrupted.

The problem is that they f*cked up phpbb2, so it would (as a client) encode characters in utf8, and then store the encoded utf8 characters in the database which it had created in utf8 with a collation of utf8_swedish_ci.

What the botched convertor does is try and read out utf8, and not the utf8 stored in utf8, so you get loads of smurf hats and penis shapes instead of actual unicode.

This is a flaw in the conversion process as far as I can see. Trying to fix it but its a tad difficult.

I've tried utf8 -> BLOB fields -> utf8, then converting but it doesn't seem to have fixed it.

Anyone an encoding expert or has converted to phpbb3?

_________________
Mouse nipple for the win! Trackpoint or death!


Last edited by spudthedestroyer on Sat Mar 01, 2008 9:27 pm, edited 1 time in total.

Top
 Profile  
PostPosted: Sat Mar 01, 2008 8:48 pm  Post subject:
User avatar
Offline

The Ancient One
Joined: Fri Jan 19, 2007 2:49 am
Posts: 2624
Location: Chernobyl
Wheres Mr Victus when you need him? :googley:

_________________
Image


Top
 Profile  
PostPosted: Sat Mar 01, 2008 9:26 pm  Post subject:
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
do you mean good-bad? I just had a wander over there since someone (you i think) mentioned they are on phpbb3. Their database is corrupted in the way i described above.
:(

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Sat Mar 01, 2008 9:36 pm  Post subject:
User avatar
Offline

The Ancient One
Joined: Fri Jan 19, 2007 2:49 am
Posts: 2624
Location: Chernobyl
Ahhh, yes it was me. I hadnt noticed any corruptions but saying that.... I didn't understand a word you said :lol:

_________________
Image


Top
 Profile  
Display posts from previous:  Sort by  

All times are UTC [ DST ]

Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 54 posts ]  Go to page Previous  1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Frontpage / Forums / Scifi


What's blood for, if not for shedding?