Author |
Topic  |
|
modifichicci
Average Member
  
Italy
787 Posts |
Posted - 07 November 2005 : 16:07:27
|
I have find the code for admin_SigImage.asp from oxle forum, but it seems that the function grabImage(strHTML) doesn't work. I find the members with an image in their sig, but the image isn't shown (the link is broken) and the code isn't displayed.
The db is Mysql, and the forum is an Image 3D modded, but neither the Image file (that is quite the same as oxle, with some little modification) nor oxle file are working. Is it possible that the value in db cannnot be processed by the function? That is a one file mod, so the problem could be in the code itself, I think.. or in the value stored in the db.
|
Ernia e Laparocele Forum di Ernia e Laparocele Acces - MySql Migration Tutorial Adamantine forum |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 07 November 2005 : 16:11:52
|
More the code I think, I was using that mod a long time ago and I think I had to do a few code tweaks to make it work on my forum |
 |
|
modifichicci
Average Member
  
Italy
787 Posts |
Posted - 09 November 2005 : 16:16:50
|
Solved with in the Image file, I think it could be the same in Oxle file: change If InStr(rst("M_SIG"), "[img]") > 0 Then strLink = grabImage(rst("M_SIG"))
with prova = rst("M_SIG") if InStr(LCase(prova), "[img") > 0 then strLink = grabImage(prova)
I don't know why, but now it works! It seems that functions cannot read the value coming with a rs query. They need a string value assigned before... That comes out in other issue such as active users function fUserAgent(ua)
|
Ernia e Laparocele Forum di Ernia e Laparocele Acces - MySql Migration Tutorial Adamantine forum |
Edited by - modifichicci on 09 November 2005 16:23:38 |
 |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 09 November 2005 : 21:10:51
|
Ah yes, I've seen that before. I guess it has something to do with the datatype and casting. |
 |
|
|
Topic  |
|