The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How do I get a full path to the smilies?
When my 3.0.6 system send out individual emails for responses to a thread, any smilies are coming accross as broken links. This appears to be because the <img> tag only has a relative path to the smilie image.
Is there a function I can call (or other global or leveraged change I can make) that will take a string that contains the posting with the relative smilie tags and convert all the <img> tags to full path? Or perhaps a change so that when smilies are inserted they are inserted with the full path in the first place? Thanks! Barry After snooping around a bit it seems that the bit of javascript that inserts the smilie is: smilieHTML = '<img src="' + elm.getElementsByTagName("img")[0].src + '" border="0" alt="" smilieid="' + smilieid + '" /> '; I know zip about javascript and nearly zip about PHP, though I am a FoxPro programmer (no laughing!). Can anybody point me to where this code (the "elm.getElementsByTagName" function) resolves to so I can change it so it adds the full path? And for bonus points, could you help me with the change to add the full path?? I'll even kick down a few bucks if you like! Thanks! Barry |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|