The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom [ IMG ] BBCODE
Good morning all,
I would like deep-linked images to stand-out more, so moderators can spot them and ask the user to upload it. I assume a deep-linked image is always "inserted" by using the [ IMG ] [ /IMG ] bbcode Would it be possible to change that bbcode so the image would have, for instance, a red border ? |
#2
|
||||
|
||||
New Plugin
Name: Add border to external image in posts Hook Location: postbit_display_complete PHP Code:
Code:
.external-img { outline: 2px solid #FF0000; border: 2px solid #FFF; margin: 6px; } Code:
<img src="images/smilies/smile.png" /> --------------- Added [DATE]1360413856[/DATE] at [TIME]1360413856[/TIME] --------------- I forgot to change Code:
if (is_member_of($vbulletin->userinfo, 6)) { Code:
if (is_member_of($vbulletin->userinfo, 5,6,7)) { |
Благодарность от: | ||
DF031 |
#3
|
||||
|
||||
yes, i didnt feel like researching how to change relative url's to full forum urls. but its possible. I would just edit the editor files to make the image paths absolute instead of relative. only downside would be upgrading, you would need to do the edits again. maybe someone will edit the plugin code i provided to set relative urls to full and omit them from the 'replace'.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|