The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey,
I've altered my includes/functions_bbcodeparser.php file to add an image after every hyperlink (as the mediaWiki software does for external links; see my wiki ); Code:
if ($type == 'url') { // standard URL hyperlink return "<a href=\"$rightlink\" target=\"_blank\">$text</a> <img src=\"./images/misc/ext_link.png\">"; } else { // email hyperlink (mailto:) if (is_valid_email($rightlink)) { return "<a href=\"mailto:$rightlink\">$text</a> <img src=\"./images/misc/ext_link.png\">"; } else { // not a valid email - don't link it return "<span title=\"$rightlink\">$text</span>"; } } Any ideas where it's doing this? Thanks for your time, -Ross |
#2
|
||||
|
||||
![]()
Try
PHP Code:
|
#3
|
|||
|
|||
![]()
That worked perfectly - thanks!
Out of curiosity...what on earth does 'wysiwygparse' stand for when it's at home? -Ross |
#4
|
||||
|
||||
![]()
$wysiwygparse true means parsing is being done to generate input for the WYSIWYG-Editor.
But as you don't want the image to be edited, it must not be shown then. |
#5
|
|||
|
|||
![]()
oooh so wysiwyg is the name of the editor - makes sense now
![]() Thanks again, -Ross |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|