Pagina 1 van 1

Dag Admin , mods

Geplaatst: 01 nov 2006, 07:51
door daimen
Dit is Wat ik al MAANDEN Zocht.
Waar hier Niemand Kon op replayen.

U ken toch de Spacebar van uw keybord ?
wel inplaats van de [] en dergelijk tegebruiken is dit hier Stukken Handiger. Toch bedankt dat ik me zelf moest replayen dan ook.
of is dit hier een Slowmotion.........forum.
Kijk ik post Hier de Code, en Ik hoop dat iedereen erwat aan heeft.
U kan een demo zien deze week op mijn forum Bij Alleen Testen Hier.
dit staat onderaan mijn forum
http://www.daimen.be/forum/index.php

Succes ermee, en Hopelijk zet je het dan ook op Dit Forum,

je typ gewoon Avatars ermee en dergelijk zonder Enige [blabla] te moeten ingeven, druk op de SPACEBAR Van uw keybord. :D
wie weet Verlies ik deze Mod nog eens :p
:thumb:

Code: Selecteer alles

############################################################## 
## MOD Title: Allow multiple spaces in posts 
## MOD Author: chris_blessing < webguy@330i.net > (Chris Blessing) http://forums.330i.net 
## MOD Description: As the title states, it simply allows users to use multiple spaces 
##				    in their posts by inserting the &nbsp; entity as necessary. 
## MOD Version: 1.0.0 
## 
## Installation Level: Easy
## Installation Time: 1 Minute
## Files To Edit: includes/functions_post.php
## 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: 
## This is a global add-on, no ACP control provided (yet).
############################################################## 
## MOD History: 
## 
##   2004-04-17 - Version 1.0.0
##      - first edition, no ACP yet 
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

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

includes/functions_post.php

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

		$message = bbencode_first_pass($message, $bbcode_uid);
	}

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

	// MOD allow multiple spaces BEGIN
	$message = replace_double_spaces($message);
	// MOD allow multiple spaces END
	
# 
#-----[ FIND ]------------------------------------------ 
# 

?>

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
# 

	// MOD allow multiple spaces BEGIN
	function replace_double_spaces($message)
	{
		// setup find/replace vars
		$nbsp_match = '/  /';
		$nbsp_replace = ' &nbsp;';
		
		// replace all instances of double-spaces with a single space + &nbsp;
		$message = preg_replace($nbsp_match, $nbsp_replace, $message);
	
		return $message;
	}
	// MOD allow multiple spaces END

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

Re: Dag Admin , mods

Geplaatst: 01 nov 2006, 22:09
door Xanland
daimen schreef:---of is dit hier een Slowmotion.........forum.----
Houdt er altijd nog rekening mee dat dit op vrijwillige basis wordt gedaan ;) :)! Maar dit is zeker iig (in ieder geval) een handige mod.

Geplaatst: 01 nov 2006, 22:49
door daimen
iig ? <------

Geplaatst: 01 nov 2006, 22:52
door Raimon
daimen schreef:iig ? <------
Dat betekend:

In Ieder Geval :)

Geplaatst: 01 nov 2006, 22:52
door daimen
:D :D