Author |
Topic |
lyllo
Junior Member
Italy
154 Posts |
Posted - 22 July 2002 : 06:56:52
|
hi there, cold you tell me how or should i insert some code in order to load a background texture insted of a simply color?
~~~~~~~~~~~~ .:: LSD ::. |
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
|
lyllo
Junior Member
Italy
154 Posts |
Posted - 23 July 2002 : 16:38:39
|
ok, thank u man
~~~~~~~~~~~~ .:: LSD ::. |
|
|
lyllo
Junior Member
Italy
154 Posts |
Posted - 24 July 2002 : 05:47:13
|
hey, i've downloaded that MOD, but evenf if it seems to be everything right installed & configured, and even if i can see the texture in the sample (in admin_config_color.asp) it is not loaded in the forum!
~~~~~~~~~~~~ .:: LSD ::. |
|
|
Tronics
Starting Member
10 Posts |
Posted - 02 August 2002 : 13:27:58
|
Hello, I just downloaded the same MOD and installed it, and yes had the same problem, I checked through the code which needs adding and it missed out a line, this may depend on which version of snitz you have not sure, you have to add this to the config.asp but from where he starts the code he missed out the line before the code coloured red, once thats added it works.
strPageBgImage = Application(strCookieURL & "strPageBgImage")'<-- ####### BEGIN ADVANCED COLOR CONTROL PANEL CODE: 18 LINE ADDITION strHeadCellImage = Application(strCookieURL & "strHeadCellImage") strCategoryCellImage = Application(strCookieURL & "strCategoryCellImage") strPageBGColor2 = Application(strCookieURL & "STRPAGEBGCOLOR") strHeadCellColor2 = Application(strCookieURL & "STRHEADCELLCOLOR") strCategoryCellColor2 = Application(strCookieURL & "STRCATEGORYCELLCOLOR")
if strPageBgImage <> "" then strPageBGColor = strPageBGColor & """ background=""" & strPageBgImage end if
if strHeadCellImage <> "" then strHeadCellColor = strHeadCellColor & """ background=""" & strHeadCellImage end if
if strCategoryCellImage <> "" then strCategoryCellColor = strCategoryCellColor & """ background=""" & strCategoryCellImage end if '<-- ####### END ACC CODE
Hope that helps!
Tron! |
|
|
lyllo
Junior Member
Italy
154 Posts |
Posted - 31 August 2002 : 17:35:23
|
nothing, i've tried your modify but i could see the background image only once, while disconnecting as admin.. once reconnected as normal user, could see anything.. |
~~~~~~~~~~~~ .:: LSD ::. |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 31 August 2002 : 17:58:48
|
simply open inc_top.asp and go to the line where the body tag is shown (in a clean version it's line 174). Add background="yourimage" to that line and reaplce yourimage with the path to the image you want to use as the background image.
Doing it like this means that you've added the ACC MOD and won't be using it though... |
Edited by - Roland on 31 August 2002 18:00:56 |
|
|
lyllo
Junior Member
Italy
154 Posts |
Posted - 04 September 2002 : 06:20:56
|
but doing so i'll loose the capility to set backfground images to tables and other stuff.. |
~~~~~~~~~~~~ .:: LSD ::. |
|
|
lyllo
Junior Member
Italy
154 Posts |
Posted - 04 September 2002 : 06:30:32
|
i've tryied to add that line to inc_top.asp
but if i login, or add a topic, once page is refreshed, the background disappears. and there is more: the MOD seems to work, since in the html code of the loaded page there are 2 lines describeing the backgrund image to use: the one setted by the MOD and the one manually setted by me...
but the texture doesn't remain loaded in the page is refreshed for some reason...
WHY!?!?!?!?! |
~~~~~~~~~~~~ .:: LSD ::. |
|
|
lyllo
Junior Member
Italy
154 Posts |
Posted - 05 September 2002 : 04:46:30
|
ehi is there someone? |
~~~~~~~~~~~~ .:: LSD ::. |
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
|
lyllo
Junior Member
Italy
154 Posts |
Posted - 05 September 2002 : 07:18:10
|
done sir. would you please excuse me.
hope now i'll be able to recieve an answer. that modify has been done months ago, when i had not any idea to put online the forum, and tryed to modify something, just to orient myself in the world of asp. then i've forgotten to re-set everything in the right way. |
~~~~~~~~~~~~ .:: LSD ::. |
|
|
lyllo
Junior Member
Italy
154 Posts |
Posted - 05 September 2002 : 07:19:43
|
no stop! there's some error! i've lost old forum version and used the copyright code of 3.4 one, but i'm still under previous one!
could you send me the code? |
~~~~~~~~~~~~ .:: LSD ::. |
|
|
lyllo
Junior Member
Italy
154 Posts |
Posted - 05 September 2002 : 07:30:17
|
STOP AGAIN!
restored old code, now i should be ok.
hope to eligible for a reply.
bye, and sorry! |
~~~~~~~~~~~~ .:: LSD ::. |
|
|
Kat
Advanced Member
United Kingdom
3065 Posts |
|
lyllo
Junior Member
Italy
154 Posts |
Posted - 05 September 2002 : 13:21:28
|
tahnx man.
solved the background window trouble.
just would like to know where is the code wich sets default.asp table in order to set a backgropund image for table-categopry headers... |
~~~~~~~~~~~~ .:: LSD ::. |
|
|
Topic |
|