Author |
Topic  |
blackinwhite
Average Member
  
Turkey
657 Posts |
Posted - 22 May 2002 : 12:52:08
|
in config.asp
you will find this: '---------------------------------------------------------------------------------------- ' Do Not Edit Below This Line - It could destroy your forums and lose data '----------------------------------------------------------------------------------------
dim strVersion, strForumTitle, strCopyright, strTitleImage, strHomeURL, strForumURL, strCookieURL
just after that, add this. dim strImageURL
so it will look like, '---------------------------------------------------------------------------------------- ' Do Not Edit Below This Line - It could destroy your forums and lose data '----------------------------------------------------------------------------------------
dim strVersion, strForumTitle, strCopyright, strTitleImage, strHomeURL, strForumURL, strCookieURL '--strimageurl modification dim strImageURL '--/strimageurl modification dim strAuthType, strSetCookieToForum
and after
' ## Read the config-info from the application variables... strCurrentTemplate = Application(strCookieURL & "strCurrentTemplate") strPortalBGColor = Application(strCookieURL & "strPortalBGColor") strVersion = Application(strCookieURL & "strVersion")
add this, strImageURL = Application(strCookieURL & "STRIMAGEURL")
so it will look like this,
' ## Read the config-info from the application variables... strCurrentTemplate = Application(strCookieURL & "strCurrentTemplate") strPortalBGColor = Application(strCookieURL & "strPortalBGColor") strVersion = Application(strCookieURL & "strVersion") '--strimageurl modification strImageURL = Application(strCookieURL & "STRIMAGEURL") '--/strimageurl modification
|
 |
|
MaD2ko0l
Senior Member
   
United Kingdom
1053 Posts |
|
blackinwhite
Average Member
  
Turkey
657 Posts |
|
MaD2ko0l
Senior Member
   
United Kingdom
1053 Posts |
Posted - 23 May 2002 : 13:25:07
|
how do i do that????
nm i did it.
dont know wot i did but i did it
Thankx
MaD2ko0l
© 1999-2002 MaD2ko0l -=[ Life Is So Easy When You Are Evil ]=- |
 |
|
blackinwhite
Average Member
  
Turkey
657 Posts |
Posted - 23 May 2002 : 14:49:36
|
quote:
how do i do that????
nm i did it.
dont know wot i did but i did it
Thankx
MaD2ko0l
© 1999-2002 MaD2ko0l -=[ Life Is So Easy When You Are Evil ]=-
In admin page, there must be an option, Reset Forum Variables. That will mostly used variables load to memory, so they won't be called every time from the db.
if doing that doesn't solve your problem you may think of my first solution.
|
 |
|
crash
Advanced Member
    
Netherlands
2064 Posts |
Posted - 23 May 2002 : 19:28:07
|
quote:
Insert Image Dir in to DB [INSERT] CONFIG_NEW (C_VARIABLE,C_VALUE)#('strImageURL','images/') [END]
thank you for using the DBS i coded... 
 Crash's Site | Crash is from 
|
 |
|
MaD2ko0l
Senior Member
   
United Kingdom
1053 Posts |
Posted - 24 May 2002 : 06:03:15
|
ur welcome
© 1999-2002 MaD2ko0l -=[ Life Is So Easy When You Are Evil ]=- |
 |
|
blackinwhite
Average Member
  
Turkey
657 Posts |
Posted - 24 May 2002 : 07:20:34
|
quote:
ur welcome
© 1999-2002 MaD2ko0l -=[ Life Is So Easy When You Are Evil ]=-
is your problem solved?
|
 |
|
MaD2ko0l
Senior Member
   
United Kingdom
1053 Posts |
Posted - 24 May 2002 : 13:09:28
|
yes it is all solved and it works fine now.
thanxk for the help everyone
MaD2ko0l
© 1999-2002 MaD2ko0l -=[ Life Is So Easy When You Are Evil ]=- |
 |
|
Topic  |
|