Why not register?


Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]

Author Message
PostPosted: Sun Sep 04, 2005 4:40 pm  Post subject: Forum with ed2k Links
Reply with quote
User avatar
Offline

Mummified In Barbed Wire
Joined: Tue Nov 09, 2004 2:17 pm
Posts: 134
Some can send me the following files of a forum with ed2k links:

viewtopic.php
bbcode.php

I already try to install a MOD but doesn?t work..

_________________
Image
Portuguese Horror Forum - https://www.horror-cemetery.com/


Top
 Profile  
PostPosted: Sun Sep 04, 2005 11:44 pm  Post subject:
Reply with quote
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
can't send you the viewtopic since its got a few mods in, can't send bbcode since that's also got some mods to recycle the code for the frontpage.

There's a thread with a complete newbie step by step modding:
http://www.phpbb.com/phpBB/viewtopic.ph ... light=ed2k

And if you go onto the later pages, there's large segments / complete bbcode.php posted. Viewtopic.php only needs one line adding, and that's for the last pass that adds the "add all links to ed2k" if you don't want that, it doesn't need changing.

The second to last post is what you need to do to bbcode.php
http://www.phpbb.com/phpBB/viewtopic.ph ... k&start=30

Then for viewtopic.php, there is a single change, find:
Code:
$message = make_clickable($message);

and after it add:
Code:
$message = make_addalled2k_link($message,$postrow[$i]['post_id']); // ed2k link and add all

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
PostPosted: Fri Mar 17, 2006 6:01 pm  Post subject:
Reply with quote
User avatar
Offline

Demon Of The Abyss
Joined: Fri Dec 30, 2005 3:12 pm
Posts: 1645
Location: Crapper!
Just wanted to say thanks a lot Spud I've been having a hard time trying to do this and you made it a lot easier

:beerchug:

_________________
https://bad-good.org/phpBB2/index.php
Bad movie forum, filling you with turds


Top
 Profile  
PostPosted: Sun Jun 10, 2007 9:40 pm  Post subject:
Reply with quote
User avatar
Offline

Site Admin
Joined: Sat Nov 02, 2002 1:35 am
Posts: 19753
Location: En España
just a note for those battling with phpbb 3.x, the make_clickable seems to perform differently, and seems to modify data being submitted, not when it is read back ;)

_________________
Mouse nipple for the win! Trackpoint or death!


Top
 Profile  
Display posts from previous:  Sort by  

All times are UTC [ DST ]

Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 15 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?