Pagina 1 van 1

hide smtp fields.

Geplaatst: 25 mar 2005, 14:52
door Paul
Een mod geschreven voor bee(Megamod)

Code: Selecteer alles

##############################################################
## MOD Title: hide SMTP mod
## MOD Author: paulus < webmaster@paulscripts.nl > (paul sohier) http://www.paulscripts.nl
## MOD Description: If you use smtp not, it wil hide this fields.
## MOD Version: 0.9.0
##
## Installation Level: Easy
## Installation Time: 5 Minutes
## Files To Edit: 2
##				templates/subsilver/admin/board_config_body.tpl
##				templates/subsilver/admin/page_header.tpl
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes: If you have more fields, you must add they into the javascript!
##
##############################################################
## MOD History:
##
##   2005-03-25 - Version 0.9
##      - first release.
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
Download: http://www.paulscripts.nl/viewtopic.php?p=331#331

Geplaatst: 25 mar 2005, 15:02
door Bee
Dankjewel, ik ga testen of het werkt :D

Geplaatst: 25 mar 2005, 15:07
door Bee
En het werkt perfect! Precies wat ik zocht :D

Geplaatst: 25 mar 2005, 15:10
door Paul

Geplaatst: 25 mar 2005, 19:59
door XP-Rene
@Paulus:
Ik wil niet zeurderig overkomen, maar het volgende zou ik even veranderen:

MOD Description: If you use smtp not, it wil hide this fields.

Verander dit in: If you do not use SMTP, it will hide these fields.

Of in: If you don't use SMPT, it will hide these fields.

Maar voor de rest :thumb:

Geplaatst: 25 mar 2005, 20:21
door Paul
Ik zal het veranderen. Het probleem is dat mijn engels zo slecht is, waardoor ik moeilijk uit mijn woorden kom ;)

Geplaatst: 25 mar 2005, 20:58
door mattle
ik ben nog 10 dus mijn engels is dus (nog) helemaal slecht!

Geplaatst: 25 mar 2005, 21:56
door mosymuis
Op de ene plek gebruik je wel het DOM model;
doc[0] = document.getElementById('smtp_a');
en op de andere weer niet;
if(form.smtp_delivery[0].checked){
waarom? ;)

Geplaatst: 26 mar 2005, 09:52
door Paul
ik denk dat ik niet goed gekeken heb in mijn javascript boek, waardoor ik de verkeerde heb gebruikt :oops: