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: General / Classic ASP versions(v3.4.XX)
 File Icons
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

l2k man
New Member

United Kingdom
74 Posts

Posted - 30 April 2010 :  05:04:51  Show Profile
Probably a silly question, for which the answer is stareing me in the face. Our site (laser2000.org.uk) used to be loaded at /htdocs/chat/, which was fine as we had an index.htm at /htdocs/. Since I have revised the site, I have moved the forum up to /htdocs/ and deleted the old ../chat/ directory. Unfortunately the fileicons are still being called from ../chat/fileicons, even though I have moved that directory up as well. I can't find where the path for the icons is defined. I've looked in Admin Options - Main Forum Config. Would someone please point me in the right direction.
Thanks

ps Classic, the old Forum Variables have now been deleted, at last!

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 30 April 2010 :  05:16:32  Show Profile
That's the correct place. The last variable in the main forum config is the images....
Go to Top of Page

l2k man
New Member

United Kingdom
74 Posts

Posted - 30 April 2010 :  05:53:10  Show Profile
Carefree,
Many thanks. I have Images Location as ../ which I thought it should be. But when I go to http://www.laser2000.org.uk/content_topic.asp?c=events&GET_ID=2086 the image properties for the icons is "http://www.laser2000.org.uk/chat/fileicons/PDF.gif"
Hence my confusion. Maybe I have set something in the code, but I haven't knowingly done so, so don't know where to look.
content_topic.asp is taken from topic.asp
Go to Top of Page

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 30 April 2010 :  16:06:42  Show Profile
When I visit your link, I get an unspecified error: content_topic.asp, line 22
Go to Top of Page

l2k man
New Member

United Kingdom
74 Posts

Posted - 01 May 2010 :  04:59:09  Show Profile
That's a different error to the one I sometimes get. We have been having server problems. Our host load shares across 3 servers, but one of them won't open the database. If you go back later, it should be OK.
Go to Top of Page

Carefree
Advanced Member

Philippines
4222 Posts

Posted - 01 May 2010 :  08:37:58  Show Profile
Since your other icons are displaying properly, your problem is in your "content_topic.asp" page and not in the forum configuration. Post a link to a copy in .txt format and we'll have a look.
Go to Top of Page

l2k man
New Member

United Kingdom
74 Posts

Posted - 01 May 2010 :  15:10:31  Show Profile
Carefree,
Many thanks
Posted at laser2000.org.uk/content_topic.txt
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 01 May 2010 :  17:16:07  Show Profile
Are you sure it is not in the posting in the database given that the images are in the posting?

Cheers,

David Greening
Go to Top of Page

l2k man
New Member

United Kingdom
74 Posts

Posted - 01 May 2010 :  17:28:59  Show Profile
Classic,
I did wonder, but I can't see how the icons are called.
The relevant text in the topic is;

"First visit for a Series Event to this Solent based club.
[file]LOSSC_NOR_30.03.10.pdf,7,,0[/file]<b><center>Notice of Race</center></b>"

The SharedFiles directory is a subdirectory of htdocs. The subdirectory /chat no longer exists
Go to Top of Page

l2k man
New Member

United Kingdom
74 Posts

Posted - 02 May 2010 :  15:46:41  Show Profile
I've been digging further, and I am now certain the problem lies outside content_topic or topic. Somewhere in the message string, when a file is included there is a box written with File Attachment, the number of times the file has been uploaded and downloaded etc etc. If I can find where/how that box is written, then maybe I can find a solution to my lost icons.
Go to Top of Page

l2k man
New Member

United Kingdom
74 Posts

Posted - 02 May 2010 :  16:17:48  Show Profile
FOUND IT!!! Someone had kindly hard coded /chat/ in inc_func_common (line 517 in the version I've got)
The line is in
'korayem:FILE SHARING MOD 19-8-2003
' function that converts the [file][/file] tags

Edited by - l2k man on 02 May 2010 16:29:25
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.47 seconds. Powered By: Snitz Forums 2000 Version 3.4.07