Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Dec 2012, 19:53
richardevans123 richardevans123 is offline
 
Join Date: Sep 2012
Custom BCCODE Image Resize

Hi All,

I'm trying to add my own Custom BBCODE so that I can make my website more Retina Display Friendly. I've done a lot of editing of the style already, but my signatures don't have the retina graphics. What I'd like to have is something like;


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Currently, I've got it set up, but it doesn't actually show the image. The HTML replacement is as following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any ideas?

Thanks
Reply With Quote
  #2  
Old 26 Dec 2012, 20:01
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
How did you come up with that replacement html? As far as I know, the only variables you can use in the replacement are {param} and {option}.
Reply With Quote
  #3  
Old 26 Dec 2012, 20:07
richardevans123 richardevans123 is offline
 
Join Date: Sep 2012
I just did some research in HTML, and found that
Reply With Quote
  #4  
Old 26 Dec 2012, 20:48
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
OK, well, I wanted to make sure you weren't using a mod or something. But I guess while other software might inplement bbcode differently, in vbulletin you can only use option and parameter (the part inside the opening tag and the part between the tags), so I don't think there's any way to do what you're trying to do without some php code. (While you *can* do something like <img style="{option}" to allow any CSS to be entered, that's not a good idea because a user could include CSS that could mess up the page layout).
Reply With Quote
  #5  
Old 26 Dec 2012, 21:04
richardevans123 richardevans123 is offline
 
Join Date: Sep 2012
Okay. No worries, thank you anyway
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 16:17.

Layout Options | Width: Wide Color: