ed2k mod with Board3 Portal

Forum rules
This forum is not for support requests.

Only post Modifications for Board3 Portal 1.0.x in this forum.

Topic author
Divvy
Active Member
Active Member
Posts: 2
Joined: 11. February 2009 06:55
phpBB.com User: DivErTido

ed2k mod with Board3 Portal

Post by Divvy » 11. February 2009 07:01

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]
Last edited by Kevin on 11. February 2009 07:57, edited 1 time in total.
Reason: edited topic title

User avatar

Christian_N
Former Team Member
Former Team Member
Posts: 2266
Joined: 19. January 2008 02:17
phpBB.de User: Christian_N
phpBB.com User: Christian_N
Location: Frankfurt

Re: Help me integrate this mod please...

Post by Christian_N » 11. February 2009 07:23

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:
Meine Projekte: Chantals - Fanpage .::. phpBB Projekt
No support via PM, email or messenger!


Topic author
Divvy
Active Member
Active Member
Posts: 2
Joined: 11. February 2009 06:55
phpBB.com User: DivErTido

Re: Help me integrate this mod please...

Post by Divvy » 11. February 2009 07:46

AMAZING!
Thank you so much Christian_N :D

Working 100% :)

User avatar

Christian_N
Former Team Member
Former Team Member
Posts: 2266
Joined: 19. January 2008 02:17
phpBB.de User: Christian_N
phpBB.com User: Christian_N
Location: Frankfurt

Re: Help me integrate this mod please...

Post by Christian_N » 11. February 2009 07:49

Thank you for freedback. :)
Meine Projekte: Chantals - Fanpage .::. phpBB Projekt
No support via PM, email or messenger!

User avatar

Kevin
Site Admin
Site Admin
Posts: 2888
Joined: 7. January 2006 21:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg

Re: ed2k mod with Board3 Portal

Post by Kevin » 11. February 2009 07:57

Moved to "Modifications - In Development"
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!


Knot
Active Member
Active Member
Posts: 3
Joined: 11. February 2010 13:03
phpBB.com User: jorgefms

Re: ed2k mod with Board3 Portal

Post by Knot » 11. February 2010 13:06

Hi

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


Knot
Active Member
Active Member
Posts: 3
Joined: 11. February 2010 13:03
phpBB.com User: jorgefms

Re: ed2k mod with Board3 Portal

Post by Knot » 29. March 2010 20:47

Bump!

User avatar

Marc
Dev
Dev
Posts: 2487
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München

Re: ed2k mod with Board3 Portal

Post by Marc » 29. March 2010 22:40

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); 


Knot
Active Member
Active Member
Posts: 3
Joined: 11. February 2010 13:03
phpBB.com User: jorgefms

Re: ed2k mod with Board3 Portal

Post by Knot » 22. April 2010 15:21

Works fine!!!

Thanks

Return to “board3 Portal v1.0.x - Modifications in Dev”