First PR1 Mod :p
#1
He he! I claim the first PR1 mod :p

He he, open inc/functions_post.php and find (Approx Line 50):
"#\[align=(left|center|right|justify)\](.*?)\[/align\]#si");
Add replace it with:
"#\[align=(left|center|right|justify)\](.*?)\[/align\]#si",

					 // Dales Custom BB Codes :p
					 "#\[glow=(.*?)\](.*?)\[/glow\]#si",
					 "#\[shadow=(.*?)\](.*?)\[/shadow\]#si",
					 "#\[fliph\](.*?)\[/fliph\]#si",
					 "#\[flipv\](.*?)\[/flipv\]#si",
					 "#\[invert\](.*?)\[/invert\]#si",
					 "#\[xray\](.*?)\[/xray\]#si",
					 "#\[icq\](.*?)\[/icq\]#si",
					 "#\[window\](.*?)\[/window\]#si",
					 "#\[blur=(.*?)\](.*?)\[/blur\]#si",
					 "#\[swf\](.*?)\[/swf\]#si");
Now go down a few lines and find:
"<p align="$1">$2</p>");
And replace it with:
"<p align="$1">$2</p>",

					// Dales Custom BB Codes :p
					"<table style="filter:glow(color=$1, strength=4)">$2</table>",
					"<table style="filter:shadow(color=$1, direction=225)">$2</table>",
					"<table style="filter:flipH">$1</table>",
					"<table style="filter:flipV">$1</table>",
					"<table style="filter:invert">$1</table>",
					"<table style="filter:xray">$1</table>",
					"<a href="http://wwp.icq.com/scripts/search.dll?to=$1">$1<img src="http://wwp.icq.com/scripts/online.dll?icq=$1&img=5" border=0></a>",
					"<iframe name="window" style="border:0" width=600 height=400 src="$1"></iframe>",
					"<table style="filter:blur(Add=0, direction=45, strength=$1)">$2</table>",
					"<embed src=$1 width=400 height=300 type=application/x-shockwave-flash></embed>");

Save and upload!

Enjoy!

Demo
Reply
#2
That's great Dale, it's just a shame that a lot of people here wont have access to PR1 yet. Toungue
Reply
#3
musicalmidget Wrote:That's great Dale, it's just a shame that a lot of people here wont have access to PR1 yet. Toungue


True, oh well its a mod for BETA testers then :p
Reply
#4
and its not different from RC4 version Smile
[Image: schwicktuut.png]
Feel free to join a game if i\'m playing or add me to xfire if you want to join a game.
Reply
#5
Da Dude Wrote:and its not different from RC4 version Smile

pwned? :d
Most mods that use their own files will not be effected much by gold I think. Only thing like making admin nav bar and permissions will change.
Reply
#6
decswxaqz Wrote:Most mods that use their own files will not be effected much by gold I think.

That's correct. The expansion module system I'd been working on for RC4 works perfectly with Gold without any modifications, making my life a lot easier. :p
Reply
#7
How can we rate that MOD if we can't test it??
Reply
#8
I think it will work on RC4 Smile

just try it on RC4 Smile
Reply
#9
No, the system has changed. In this new one for Gold the tags are above the replacement:
Dale Wrote:Now go down a few lines and find:

In RC4 (and earlier), the tags are next to the replacement, like
$message = preg_replace("#\[gallery=(.*?)\]#ei", "gallery("$1")", $message);
Reply
#10
I wonder if this will work in firefox?

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)