Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Admin sig image
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

modifichicci
Average Member

Italy
787 Posts

Posted - 07 November 2005 :  16:07:27  Show Profile  Visit modifichicci's Homepage
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  Show Profile
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
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 09 November 2005 :  16:16:50  Show Profile  Visit modifichicci's Homepage
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
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 09 November 2005 :  21:10:51  Show Profile
Ah yes, I've seen that before. I guess it has something to do with the datatype and casting.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07