![]() |
Help with new mod preg_replace
I have created custom bbcode that uses a [MP3] [/MP3] tag for this mod https://vborg.vbsupport.ru/showthread.php?t=72162 , what I want to do is secure it so only registered users can view it and unregistered users see a "Must Register" notice. I am having trouble with the preg_replace function. Here is my idea of what to add to functions_bbcodeparse.php
Code:
// Media hack begin |
Quote:
|
Quote:
Code:
// Media hack begin I also wonder if I shouldn't be applying this to showthread.php instead of functions_bbcodeparse.php? So you guys know exactly what I am after here I created a new bbcode [MP3]www.site.com/song.mp3[/MP3] and I don't want that bbcode to show up for a specific (unregistered) group. Thanks again for any help :) |
I thought I would bump this, I have spent hours trying to come up with a solution with no luck.
|
All times are GMT. The time now is 09:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|