Автор Сообщение
pr0zaq    

Hi,
I trying to attach file from my PFS on forum but after post it in my post have just
 

[pfs]7-mods_pr0zaq_0.8.8.rar[/pfs]

in source code
 

<div id="fp2" >Mody do wersji 0.8.8 których używam:<br />
<ul type="square"><br />
1. Contour Icons<br />
2. J1mB0s Crosshair Mod<br />
3. Mini DMG Panel<br />
4. Wagon Visibility Mod<br />
5. Remove Sniper Low FPS<br />
6. Direction Trunks Opponents<br />
7. XVM<br />
</ul><br />
[pfs]7-mods_pr0zaq_0.8.8.rar[/pfs]</div>

could you someone help me to fix it?

Amro    

Open Parser Management tool and add:

Title

PFS

Order, example: 25

Mode

preg_replace()

BB1

/\[pfs\]([^\\([]*)\[\/pfs\]/i

HTML1

<a href="datas/users/$1"><img src="system/img/admin/pfs.gif" alt="" />$1</a>

This problem has already been fixed a 175 in the upcoming version

Forever unshaven, red-eyed, detached from reality, with his cockroaches in my head. And let it always will be!

pr0zaq    

After change have message :
 

Warning: preg_replace() [function.preg-replace]: Unknown modifier 'p' in /pnz/system/functions.php on line 3069

and when I try to edit I got
 

/\\[pfs\\]([^\\\\([]*)\\[\\/pfs\\]/i

<a href=\"datas/users/$1\"><img src=\"system/img/admin/pfs.gif\" alt=\"\" />$1</a>

before every [ and " adding another \


отредактировал(а) pr0zaq: 15-09-13 02:43 GMT
Amro    
Seditio 173 ?
 
Check should work!
Is similar to the URL1
 

Forever unshaven, red-eyed, detached from reality, with his cockroaches in my head. And let it always will be!

Amro    

Forever unshaven, red-eyed, detached from reality, with his cockroaches in my head. And let it always will be!

pr0zaq    

Everything is fine now but was a mistake in BB1 formula
 

/\[pfs\]([^\\([]*)\[\/pfs\]/i

should be
 

/\[pfs\]([^\\[]*)\[\/pfs\]/i

too many ( been added on
thanks for help

Amro    
And what is your version of PHP?
Are there any problems with the BBcode :
[url]http://test.com[/url] ? 
[thumb=test/test.jpg]test.jpg[/thumb] ? 
[t=test/test.jpg]test.jpg[/t] ? 

 

Forever unshaven, red-eyed, detached from reality, with his cockroaches in my head. And let it always will be!

pr0zaq    

no problems at all

php version 5.2

pr0zaq    

everything it is alright now after delete one (  from code you gave me.