Pagina 1 van 1

Aanpassing forum (semi-mod installatie)

Geplaatst: 29 apr 2014, 16:38
door XP-Rene
  • Modificatie & Versie:
    Directe link naar de modificatie: http://postimage.org/mod.php
    Adres van je forum: http://yaku.be
    phpBB versie:2.xx
    Heb je onlangs een andere modificatie of stijl geïnstalleerd?Nee

    Wat is het probleem?
Welke manier is de beste manier om boven vernoemde mod, welke eigenlijk geen mod is, te integreren?
Oftewel, welk bestand moet ik hiervoor aanpassen om het werkend te krijgen?

Alvast bedankt voor de reacties.

PS
Upgraden naar de laatste versie van phpbb is geen optie.

Re: Aanpassing forum (semi-mod installatie)

Geplaatst: 29 apr 2014, 22:43
door Theriddler

Code: Selecteer alles

############################################################## 
## MOD Title: Simple Image Upload
## MOD Author: Sium < admin@postimage.org > (N/A) http://postimage.org
## MOD Description:
##		This mod integrates image hosting with phpBB2
##		It makes image upload very simple. All images are
##		hosted on remote image hosting service, not on
##		your forum. When user uploads image, script
##		creates a thumbnail for image and appends bbcode
##		to post user is typing. User doesn't need to
##		know anything about bbcode. And this mod is very
##		simple to install.
## MOD Version: 1.4.0
## 
## Installation Level:  Easy
## Installation Time:   ~1 Minutes
## Files To Edit:       ./includes/template.php
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2 
############################################################## 
## Author Notes:
## If you run into any problems or have any questions feel free to email me at admin@postimage.org.
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

# 
#-----[ OPEN ]--------------------------------------------- 
# 

./includes/template.php

# 
#-----[ FIND ]--------------------------------------------- 
# around line 265

		$str = implode("", @file($filename));
		
# 
#-----[ AFTER, ADD ]--------------------------------------------- 
# 

		$str=str_replace("</head>","<script type='text/javascript' src='http://mod.postimage.org/phpbb2-dutch.js' charset='utf-8'></script>\n</head>",$str);

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM

Re: Aanpassing forum (semi-mod installatie)

Geplaatst: 30 apr 2014, 10:02
door PhilipvD
Sinds 1 januari 2009 is de support voor phpBB2 gestopt. Ik sluit daarom ook je onderwerp. Voor eventuele vragen kan je nog gebruik maken van het phpBB2 archief.

Verder geef je aan dat updaten naar de laatste versie van phpBB geen optie is, ik zou daar toch nog eens een tweede keer over nadenken. Hoe je dat kunt upgraden staat hier.
Het gebruiken van phpBB2 brengt o.a. beveiligingsrisico's met zich mee.