Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved How do i hack the image Mycode to have a 3rd option?
#1
Not Solved
How do i hack the image Mycode to have a 3rd option? 

its has width and height and i need a caption option
Reply
#2
Not Solved
Edit inc/class_parser.php: https://github.com/mybb/mybb/blob/featur...r.php#L478
Reply
#3
Not Solved
cool so how do i add the x"caption" preg-reg?

"#\[img=([0-9]{1,3})x([0-9]{1,3}) caption=("("?(.*?)"?)") align=([a-z]+)\](\r\n?|\n?)(https?://([^<>\"']+?))\[/img\]#is"

is that right?

EDIT: Hmm interesting, it's got a float in the "align=" option?

yeah how do i add in the

caption=""

so align would be the fourth variable in the current setup?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)