So Bad It's Good
It is currently Thu Mar 28, 2024 6:14 pm




Post new topic Reply to topic  [ 135 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
 Moving to PHPBB3 
Author Message
Anal Muffin
Anal Muffin
User avatar

Joined: Tue Sep 26, 2006 1:27 am
Posts: 6147
Reply with quote
Post Re: Moving to PHPBB3
Vae Victis wrote:
Another bug is the ed2k. they've been reparsed during the conversion.
And are borked now.

I should've a fix script for that somewhere...

Not found it yet :probe:

_________________
Got milk?


Sun Feb 10, 2008 2:01 pm
Profile
buttfuckbullfrog
buttfuckbullfrog
User avatar

Joined: Tue Jul 04, 2006 10:35 am
Posts: 10201
Location: On top of a turd
Reply with quote
Post Re: Moving to PHPBB3
Lux Delux wrote:
My prime achievement was installing it :ohshit:


I'm his witness... he was screaming for cock, because he was nervous... But I wouldn't let him.

_________________
Your offer pleases the TechnoViking :oral:
Image


Sun Feb 10, 2008 2:15 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Moving to PHPBB3
Vae Victis wrote:
Not found it yet :probe:


This? http://www.phpbb.com/community/viewtopi ... 3#p3180263

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Sun Feb 10, 2008 2:18 pm
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Reply with quote
Post Re: Moving to PHPBB3
Just noticed we need to add the topic descriptions again :teeth:


Sun Feb 10, 2008 2:32 pm
Profile
Anal Muffin
Anal Muffin
User avatar

Joined: Tue Sep 26, 2006 1:27 am
Posts: 6147
Reply with quote
Post Re: Moving to PHPBB3
elguaxo wrote:
Vae Victis wrote:
Not found it yet :probe:


This? http://www.phpbb.com/community/viewtopi ... 3#p3180263

No, it's already working.

Problem is the conversion, phpbb3 converts the old posts and fucks the ed2k links up.
I had a script somewhere I used to fix the links on my forum. But forgot where I put it.

_________________
Got milk?


Sun Feb 10, 2008 2:34 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Moving to PHPBB3
My post links to the 11th post of that thread:

DonGato wrote:
As I already did this code if someone can try it when he/she has the same problem as Tmac.
Just take in account the conversion is commented out, it outputs some data for visual confirmation and it's limited to two results.

Code:
    <?php

       // Connects to DB
       $db_connect_id = mysql_connect('localhost', 'username', 'password') or die('Connection Failure to Database');
       mysql_select_db('arforum', $db_connect_id) or die ('Database not found.');

       // Sets Character Encoding
       mysql_query('SET NAMES utf8') or die('Failed setting connection character enconding (utf8)');

       // Gets data [remove "LIMIT 0,2" for conversion]
       $result = mysql_query("SELECT post_id, post_text FROM phpbb_posts WHERE post_text LIKE '%ed2k:/%' LIMIT 0,2") or die('Failed obtaining post');

       // Loop
       while ($row = mysql_fetch_row($result))
       {
          // Check - Bad Post [comment out these 3 lines for conversion]
          echo '<B>OLD POST</B><BR><BR>';
          echo $row[1];
          echo '<BR>-----------------------------------------------------------------------<BR><BR>';

          // Replaces data
          $text = eregi_replace('<!-- m --><a class="postlink" href="ed2k.*">', '', $row[1]);
          $text = str_replace('|/</a><!-- m -->', '|/', $text);
          $text = str_replace("'", "''", $text);

          // Check - Fixed Post [comment out these 3 lines for conversion]
          echo '<B>NEW POST</B><BR><BR>';
          echo $text;
          echo '<BR>-----------------------------------------------------------------------<BR><BR>';

          // Updates DB [uncomment line for conversion]
    //      mysql_query("UPDATE phpbb_posts SET post_text = '" . $text . "' WHERE post_id = '" . $row[0] . "'") or die('Failed updating post');
       }

       // Closes connection to DB
       mysql_close($db_connect_id);

       // Done
       echo '<br><br>Conversion done!<br><br>';

    ?>

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Sun Feb 10, 2008 2:38 pm
Profile
Anal Muffin
Anal Muffin
User avatar

Joined: Tue Sep 26, 2006 1:27 am
Posts: 6147
Reply with quote
Post Re: Moving to PHPBB3
Oh that, didn't read the topic :lol:

Basic is the same:
Code:
include ( "class_database.php" ) ;

$db = new Database ;

$sql = 'SELECT post_id, post_text FROM `phpbb3_posts` WHERE post_text LIKE \'%[^<]*<\/a>/', '$1', $msg);
$sql = "UPDATE phpbb3_posts SET post_text = '". addslashes ( $msg ) ."' WHERE post_id=".$value['post_id'];
$db -> QueryPut ( $sql ) ;
}
?>

Found it again, in the trash dir of server.

And also ran it just now. Afaik the ed2k links should be fixed now.

_________________
Got milk?


Sun Feb 10, 2008 2:59 pm
Profile
Sabrina the Witch
Sabrina the Witch

Joined: Fri Mar 09, 2007 5:41 pm
Posts: 4949
Location: ????
Reply with quote
Post Re: Moving to PHPBB3
:D ouch
work in progress?
as the site looks 800x600 or something with grey borders left and right (1280x1024 on my 19" monitor)


Sun Feb 10, 2008 4:09 pm
Profile
buttfuckbullfrog
buttfuckbullfrog
User avatar

Joined: Tue Jul 04, 2006 10:35 am
Posts: 10201
Location: On top of a turd
Reply with quote
Post Re: Moving to PHPBB3
elguaxo wrote:
:Don:


Image

If Lux adds it to the smiley section you can use it all you want
I might just make it bigger though

_________________
Your offer pleases the TechnoViking :oral:
Image


Sun Feb 10, 2008 4:18 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Moving to PHPBB3
:cracked: :cracked: :cracked:

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Sun Feb 10, 2008 4:19 pm
Profile
Goat in a Gorilla Suit
Goat in a Gorilla Suit
User avatar

Joined: Wed Jul 05, 2006 8:28 pm
Posts: 2544
Location: Serbia, Land of Pirates
Reply with quote
Post Re: Moving to PHPBB3
El Mariachi wrote:
elguaxo wrote:
:Don:


Image

If Lux adds it to the smiley section you can use it all you want
I might just make it bigger though


:cracked:

_________________
APO PANTOZ KAKODAIMONOZ!

Tohu Tehom Theli Than Leviathan Tanin'iver Taninsam!
Tohu Tehom Theli Than Leviathan Tanin'iver Taninsam!

You?re a horror fan when someone sees your DVD collection and accuses you of worshiping Satan.


Sun Feb 10, 2008 4:22 pm
Profile
buttfuckbullfrog
buttfuckbullfrog
User avatar

Joined: Tue Jul 04, 2006 10:35 am
Posts: 10201
Location: On top of a turd
Reply with quote
Post Re: Moving to PHPBB3
Here's a better don. I demand it to be a great fucking smiley

Image

_________________
Your offer pleases the TechnoViking :oral:
Image


Sun Feb 10, 2008 4:30 pm
Profile
Anal Muffin
Anal Muffin
User avatar

Joined: Tue Sep 26, 2006 1:27 am
Posts: 6147
Reply with quote
Post Re: Moving to PHPBB3
Code:
:don:

:don:

_________________
Got milk?


Sun Feb 10, 2008 4:40 pm
Profile
buttfuckbullfrog
buttfuckbullfrog
User avatar

Joined: Tue Jul 04, 2006 10:35 am
Posts: 10201
Location: On top of a turd
Reply with quote
Post Re: Moving to PHPBB3
:don: :don: :don:

x) :cracked: :cracked: :cracked:

_________________
Your offer pleases the TechnoViking :oral:
Image


Sun Feb 10, 2008 4:51 pm
Profile
Anal Muffin
Anal Muffin
User avatar

Joined: Tue Sep 26, 2006 1:27 am
Posts: 6147
Reply with quote
Post Re: Moving to PHPBB3
:piss1: :don: :piss2:

_________________
Got milk?


Sun Feb 10, 2008 4:51 pm
Profile
Goat in a Gorilla Suit
Goat in a Gorilla Suit
User avatar

Joined: Mon Aug 07, 2006 5:20 pm
Posts: 2511
Location: Under my woolly hat
Reply with quote
Post Re: Moving to PHPBB3
:don: :cracked:

_________________
Now if you'll excuse me, I'm going to go on an overnight drunk, and in 10 days I'm going to set out to find the shark that ate my friend and destroy it. Anyone who wants to tag along is more than welcome.


Sun Feb 10, 2008 4:53 pm
Profile
buttfuckbullfrog
buttfuckbullfrog
User avatar

Joined: Tue Jul 04, 2006 10:35 am
Posts: 10201
Location: On top of a turd
Reply with quote
Post Re: Moving to PHPBB3
Vae Victis wrote:
:piss1: :don: :piss2:


:cracked: :cracked: :lol:

_________________
Your offer pleases the TechnoViking :oral:
Image


Sun Feb 10, 2008 5:00 pm
Profile
Forbidden Entrance
Forbidden Entrance
User avatar

Joined: Sat Feb 17, 2007 6:56 pm
Posts: 1936
Location: Montana, Bulgaria
Reply with quote
Post Re: Moving to PHPBB3
:don: ahahahahahahhaha
hahahhaha
OMGGG :bang: :bang: :bang: :bang: :bang:
:bow: :bow: :bow: :bow: :cracked: :cracked: :cracked: :cracked: :cracked: :lol: :lol: :lol: :lol:


Sun Feb 10, 2008 5:05 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Moving to PHPBB3
:don: :scored:

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Sun Feb 10, 2008 5:11 pm
Profile
Chuck Norris
Chuck Norris
User avatar

Joined: Mon Mar 13, 2006 3:42 pm
Posts: 16726
Location: Shitopia
Reply with quote
Post Re: Moving to PHPBB3
:cracked: :cracked: :cracked: :cracked: OMG


Sun Feb 10, 2008 5:14 pm
Profile
Flying pink camel
Flying pink camel
User avatar

Joined: Mon Feb 12, 2007 6:10 pm
Posts: 75
Location: Baldrick's trousers
Reply with quote
Post Re: Moving to PHPBB3
Congrats on the new layout, guys. May a big brown star always shine upon you.
I hope my nude pianist didn't get :wild: up...


Sun Feb 10, 2008 6:53 pm
Profile
Flying pink camel
Flying pink camel
User avatar

Joined: Mon Feb 12, 2007 6:10 pm
Posts: 75
Location: Baldrick's trousers
Reply with quote
Post Re: Moving to PHPBB3
Aarghh.... :pork: :censored: :censored:


Sun Feb 10, 2008 6:53 pm
Profile
Talented Buttwaxer
Talented Buttwaxer
User avatar

Joined: Mon Aug 14, 2006 1:51 pm
Posts: 8434
Reply with quote
Post Re: Moving to PHPBB3
Friend of mine's telling me the ed2k links don't work when you're not logged in. Can this be fixed?


Sun Feb 10, 2008 7:31 pm
Profile
Veggie Fridge
Veggie Fridge
User avatar

Joined: Fri Mar 24, 2006 2:59 pm
Posts: 21656
Location: Fuck You! GoodBye!
Reply with quote
Post Re: Moving to PHPBB3
Should it be fixed? Maybe more new registrations this way... :ele:


Sun Feb 10, 2008 7:34 pm
Profile
Anal Muffin
Anal Muffin
User avatar

Joined: Tue Sep 26, 2006 1:27 am
Posts: 6147
Reply with quote
Post Re: Moving to PHPBB3
oh thats cause of me, doing a :don: on you all.


fixed

_________________
Got milk?


Sun Feb 10, 2008 7:37 pm
Profile
Talented Buttwaxer
Talented Buttwaxer
User avatar

Joined: Mon Aug 14, 2006 1:51 pm
Posts: 8434
Reply with quote
Post Re: Moving to PHPBB3
Thanks Vae, you can milk me now. :bow: :dicky:

Pure wrote:
Should it be fixed? Maybe more new registrations this way... :ele:


:spank:


Sun Feb 10, 2008 7:41 pm
Profile
Talented Buttwaxer
Talented Buttwaxer
User avatar

Joined: Mon Aug 14, 2006 1:51 pm
Posts: 8434
Reply with quote
Post Re: Moving to PHPBB3
Great smiley btw :don:
:cum: :cum: :cum:


Sun Feb 10, 2008 7:41 pm
Profile
End of Level Boss
End of Level Boss
User avatar

Joined: Fri Mar 16, 2007 5:10 pm
Posts: 7535
Reply with quote
Post Re: Moving to PHPBB3
:don:

_________________
Old2New SBiG URL Replacement Script | SBiG searchplugin
my AviSynth Plugins folder | Show Just Image 2 | Doom10


Sun Feb 10, 2008 7:45 pm
Profile
Anal Muffin
Anal Muffin
User avatar

Joined: Tue Sep 26, 2006 1:27 am
Posts: 6147
Reply with quote
Post Re: Moving to PHPBB3
Html is allowed for global moderators only now.

Seems to work. Except that in collection threads the ed2k link is still borked..
Who ever thought of making that an html link? :lol:

_________________
Got milk?


Sun Feb 10, 2008 11:20 pm
Profile
Anal Muffin
Anal Muffin
User avatar

Joined: Tue Sep 26, 2006 1:27 am
Posts: 6147
Reply with quote
Post Re: Moving to PHPBB3
Well my James Bond collection survived and thats the most important thing :lol:

_________________
Got milk?


Sun Feb 10, 2008 11:21 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 135 posts ]  Go to page Previous  1, 2, 3, 4, 5  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