Een taalvariabele aan mod toevoegen

Hulp nodig bij een modificaties of op zoek naar een MOD?
Forumregels

LEES: Richtlijnen voor Support. Vul de support template in!
phpBB3.0.x
Verschaf iemand geen servertoegang tenzij het niet anders kan. Maak altijd eerst een volledige backup en verander de inloggevens na afloop. Eigen risico.
Plaats reactie
saaiber
Berichten: 24
Lid geworden op: 29 jun 2007, 16:10
Locatie: Gent/België
Contacteer:

Een taalvariabele aan mod toevoegen

Bericht door saaiber » 31 jul 2007, 09:37

  • Modificatie & Versie: Simple image upload
    Directe link naar de modificatie:http://www.postimage.org/mod.php
    Adres van je forum: http://www.zonderdank.be/forum/
    phpBB versie:3.0 RC4
    Heb je onlangs een andere modificatie of stijl geïnstalleerd? Clean install RC4

    Wat is het probleem? Ik zou graag deze mod taalvariabel maken maar weet niet waar de variabelen toe te voegen

Code: Selecteer alles

############################################################## 
## MOD Title: Simple Image Upload
## MOD Author: Sium < admin@postimage.org > (N/A) http://www.postimage.org
## MOD Description:
##		This mod integrates image hosting with phpBB3
##		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.0.5
## 
## Installation Level:  Easy
## Installation Time:   ~1 Minutes
## Files To Edit:       "posting_editor.html" or "posting_body.html"
## Included Files:      addform.html
## 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 
############################################################## 

# 
#-----[ COPY ]------------------------------------------ 
# 

copy addform.html to ./addform.html

# 
#-----[ EDIT TEMPLATES (Administration Control Panel->Templates->Edit) ]--------------------------------------------- 
# 

"posting_editor.html" or "posting_body.html"

# 
#-----[ FIND ]--------------------------------------------- 
# 

}</textarea>

# 
#-----[ AFTER, ADD ]--------------------------------------------- 
# 

<br />&nbsp;&bull;&nbsp;<a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=phpbb&lang=dutch&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">Add image to post</a>

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM
Bovenstaande mod bevat:

Code: Selecteer alles

<br />&nbsp;&bull;&nbsp;<a href="javascript:void(0);" onclick="window.open('http://www.postimage.org/index.php?mode=phpbb&lang=dutch&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;">Add image to post</a>
Nu zou ik graag "Add image to post" taalvariabel maken en eventueel (maar niet zo belangrijk) ook de "&lang=dutch" indien dit mogelijk zou zijn. Bij een vorige versie voor phpBB2 was het mogelijk om de "add image to post" taalafhankelijk te maken met een {ADD_IMAGE} veld.

Is er iemand hier die mij kan uitleggen hoe ik dat best aanpak?

Grtjs,

Nic
Afbeelding

P4P800S ASUSTeK Computer Inc., GeForce 6600 LE, Windows XP, Prof, SP2, NL, Intel(R) Pentium(R) 4 CPU 2.80GHz, 1024 MB RAM, HDD:245 + 195 + 39 GB, NTFS, AVG Anti-Virus, Firefox 2.0

Gebruikersavatar
Stef
Berichten: 9080
Lid geworden op: 04 jun 2003, 20:47

Re: Een taalvariabele aan mod toevoegen

Bericht door Stef » 31 jul 2007, 10:56

Je plaatst {L_ADD_IMAGE} in het template en daarna voeg je in het taalbestand de taalvariabele toe.

saaiber
Berichten: 24
Lid geworden op: 29 jun 2007, 16:10
Locatie: Gent/België
Contacteer:

Re: Een taalvariabele aan mod toevoegen

Bericht door saaiber » 31 jul 2007, 11:12

Fantastisch :) Ik dacht dat ik die variabele eerst in posting.php moest gaan definieren, blijkbaar niet dus ;)

Enorm bedankt Stef!

Grtz,

Nic
Afbeelding

P4P800S ASUSTeK Computer Inc., GeForce 6600 LE, Windows XP, Prof, SP2, NL, Intel(R) Pentium(R) 4 CPU 2.80GHz, 1024 MB RAM, HDD:245 + 195 + 39 GB, NTFS, AVG Anti-Virus, Firefox 2.0

Gebruikersavatar
brandsrus
Berichten: 1966
Lid geworden op: 01 jul 2005, 19:38
Locatie: r. Лeувapдeн
Contacteer:

Re: Een taalvariabele aan mod toevoegen

Bericht door brandsrus » 02 aug 2007, 16:52

saaiber schreef:Fantastisch :) Ik dacht dat ik die variabele eerst in posting.php moest gaan definieren, blijkbaar niet dus ;)

Enorm bedankt Stef!

Grtz,

Nic
Dat was in phpBB 2.0.x zo maar tegenwoordig met phpBB 3.0 niet meer nodig 8-)

Plaats reactie