Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic .opt and .dat in Manage Boards (Read 2016 times)
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
.opt and .dat in Manage Boards
Nov 5th, 2003 at 12:04pm
Print Post  
BHRA, I believe the sort mod uses .opt files instead of the .dat to store data abou each board right? The peoblem I see is the .opt files do not allow HTML to work because of the quotes. So a url cannot be placed as part of the board description. Any help? Thanks.
  

Back to top
WWW  
IP Logged
 
BHRA Webmaster
God Member
*****
Offline


Mod Author of the Year
2002

Posts: 5238
Location: BHRA Headquarters
Joined: Jan 18th, 2002
Gender: Male
Re: .opt and .dat in Manage Boards
Reply #1 - Nov 9th, 2003 at 8:30pm
Print Post  
The .opt files were supposed to be more flexible than the .dat files in terms of upgradability which is why the information is stored the way it is. The additional board information was stored to make the .dat file redundant, but this was never fully exploited, so that information can be safely removed/ignored.
  


World Domination, one smiley at a time!
Back to top
 
IP Logged
 
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: .opt and .dat in Manage Boards
Reply #2 - Nov 9th, 2003 at 9:08pm
Print Post  
I already switched to your method as was thus wondering how to make use of HTML in it?
  

Back to top
WWW  
IP Logged
 
BHRA Webmaster
God Member
*****
Offline


Mod Author of the Year
2002

Posts: 5238
Location: BHRA Headquarters
Joined: Jan 18th, 2002
Gender: Male
Re: .opt and .dat in Manage Boards
Reply #3 - Nov 9th, 2003 at 11:26pm
Print Post  
when the file is written, change the variable delimiters to qq~...~ instead of "...". That way quotation marks, and hence html code, can be included in the variables without them being prematurely truncated (which would result in the error you encountered.)
  


World Domination, one smiley at a time!
Back to top
 
IP Logged
 
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: .opt and .dat in Manage Boards
Reply #4 - Nov 9th, 2003 at 11:29pm
Print Post  
Thanks
  

Back to top
WWW  
IP Logged
 
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: .opt and .dat in Manage Boards
Reply #5 - Nov 13th, 2003 at 12:38am
Print Post  
Is there a way to ensure that the 'qq~' and '~' remain all the time? rather than having to do it manually?
  

Back to top
WWW  
IP Logged
 
BHRA Webmaster
God Member
*****
Offline


Mod Author of the Year
2002

Posts: 5238
Location: BHRA Headquarters
Joined: Jan 18th, 2002
Gender: Male
Re: .opt and .dat in Manage Boards
Reply #6 - Nov 13th, 2003 at 1:29pm
Print Post  
replied via im.
  


World Domination, one smiley at a time!
Back to top
 
IP Logged
 
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: .opt and .dat in Manage Boards
Reply #7 - Nov 13th, 2003 at 10:45pm
Print Post  
Thanks!
  

Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint