Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Xthreads Images and Shadowbox/Lightbox
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #11
RE: Xthreads Images and Shadowbox/Lightbox
Ok, thank you - is the code ok for the lightbox? Not too sucky?

Code:
    '#\[lightbox=([\w:;&,~%+!=@\/\.\-\#\?]+)\]([\w:;&,~%+!=@\/\.\-\#\?]+)\[\/lightbox\]#is' => '<a href="$1" rel="lightbox"><img src="$2" /></a>',



[Image: leelink.gif]
MYBB1.6 & XThreads
01-30-2011 10:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #12
RE: Xthreads Images and Shadowbox/Lightbox
(01-29-2011 09:35 AM)leefish Wrote:  What do you mean RateU?

Nothing.... I think I've misunderstood what you wanted.
I thought you want a BBCode for internal XThreads attachemnts only with lightbox, but it seems you want it for general images too.

(01-29-2011 09:35 AM)leefish Wrote:  Or do you mean on the post preview? I put the BB Lightbox code in like the BB IMG code.

Never mind. I already have my own BBCode for internal XThreads attachment only that (I think) it "works" for me.

01-31-2011 03:17 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #13
RE: Xthreads Images and Shadowbox/Lightbox
It came out great RateU thank you - but my question was answered - and now I have a BB code for the forum too. Users are happy. I am just not sure if the code is secure.


[Image: leelink.gif]
MYBB1.6 & XThreads
01-31-2011 03:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: