Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MyCode Help
#1
Been Trying To Get Support Everywhere Maybe You Guys Could Help
this code works well with 4share but i need it to work for zshare
how should i configure it?
Code:
My Code:

\[4shared\](.*?)\[/4shared\]

<embed src="$1" width="470" height="320" allowfullscreen="true" allowscriptaccess="always"></embed>

example:
[4shared]http://www.4shared.com/embed/218980104/14867248[/4shared]
#2
Don't do that, pretty dangerous if people can just embed anything, but
Code:
\[4shared\](.*?)\[\/4shared\]

<embed src="$1" width="470" height="320" allowfullscreen="true" allowscriptaccess="always"></embed>

Edit: I've only used MyBB once, can't remember very well, but it uses the preg_replace() function I think; I'm pretty sure it adds this automatically, but you may have to do add / and /, like this

Code:
/\[4shared\](.*?)\[\/4shared\]/
#3
its just for me im not enabling it for other members
#4
Lock requested by OP.


Forum Jump:


Users browsing this thread: 1 Guest(s)