Page 1 of 1

ed2k mod with Board3 Portal

Posted: 11. February 2009 06:01
by Divvy
Your Portal Version: 1.0.2
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://www.mula-da-cooperativa.com

What have you done before the problem was there?
I dont have any problem... only need some help to integrate one mod with this great portal :)

What have you already tryed to solve the problem?
Instructions below....

Description and Message
Hi friends,

Can someone help me? I need to integrate this ed2k mod with Board3 Portal.

I think that I only need to edit root/portal/includes/functions.php but I dont know how, because my php knowledge is very poor... please, help a poor guy :cry:

Is there another portal called phpbb3portal and the solution is that:
1- Open root/portal/includes/functions.php

2- Find:

Code: Select all

$posts[$i]['post_text'] = smiley_text($posts[$i]['post_text']);
3- After ADD:

Code: Select all

// parssing ed2k links to show on portal.
$posts[$i]['post_text'] = process_ed2k($posts[$i]['post_text']);
4- Save root/portal/includes/functions.php.


But this don't work with Board3 Portal because the functions.php file is different.
Can someone help me please? :)[/i]

Re: Help me integrate this mod please...

Posted: 11. February 2009 06:23
by Christian_N
Divvy wrote: 1- Open root/portal/includes/functions.php

2- Find:

Code: Select all

$message = smiley_text($message); // Always process smilies after parsing bbcodes
3- After ADD:

Code: Select all

// parssing ed2k links to show on portal.
$message = process_ed2k($message);
4- Save root/portal/includes/functions.php.
Not tested but should work. :roll:

Re: Help me integrate this mod please...

Posted: 11. February 2009 06:46
by Divvy
AMAZING!
Thank you so much Christian_N :D

Working 100% :)

Re: Help me integrate this mod please...

Posted: 11. February 2009 06:49
by Christian_N
Thank you for freedback. :)

Re: ed2k mod with Board3 Portal

Posted: 11. February 2009 06:57
by Kevin
Moved to "Modifications - In Development"

Re: ed2k mod with Board3 Portal

Posted: 11. February 2010 12:06
by Knot
Hi

This doesn't work with new version 1.0.5... :(

Re: ed2k mod with Board3 Portal

Posted: 29. March 2010 20:47
by Knot
Bump!

Re: ed2k mod with Board3 Portal

Posted: 29. March 2010 22:40
by Marc
Try this:
Open portal/includes/functions.php
Find:

Code: Select all

        if($global_f < 1)
        {
            $global_f = $row['forum_id'];
        } 
Add before:

Code: Select all

        // parssing ed2k links to show on portal.
        $message = process_ed2k($message); 

Re: ed2k mod with Board3 Portal

Posted: 22. April 2010 15:21
by Knot
Works fine!!!

Thanks