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
 Adding a texture to background
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

lyllo
Junior Member

Italy
154 Posts

Posted - 22 July 2002 :  06:56:52  Show Profile  Visit lyllo's Homepage
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

Posted - 22 July 2002 :  07:30:27  Show Profile
Install the ACC mod from this page

http://ls3k.com/snitz/mods.asp?action=details&ID=3


No matter how fast light travels it finds the darkness has always got there first, and is waiting for it.
http://www.ian-hamlin.co.uk
Go to Top of Page

lyllo
Junior Member

Italy
154 Posts

Posted - 23 July 2002 :  16:38:39  Show Profile  Visit lyllo's Homepage
ok, thank u man

~~~~~~~~~~~~
.:: LSD ::.
Go to Top of Page

lyllo
Junior Member

Italy
154 Posts

Posted - 24 July 2002 :  05:47:13  Show Profile  Visit lyllo's Homepage
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 ::.
Go to Top of Page

Tronics
Starting Member

10 Posts

Posted - 02 August 2002 :  13:27:58  Show Profile  Visit Tronics's Homepage  Send Tronics an ICQ Message
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!
Go to Top of Page

lyllo
Junior Member

Italy
154 Posts

Posted - 31 August 2002 :  17:35:23  Show Profile  Visit lyllo's Homepage
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 ::.
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 31 August 2002 :  17:58:48  Show Profile
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
Go to Top of Page

lyllo
Junior Member

Italy
154 Posts

Posted - 04 September 2002 :  06:20:56  Show Profile  Visit lyllo's Homepage
but doing so i'll loose the capility to set backfground images to tables and other stuff..

~~~~~~~~~~~~
.:: LSD ::.
Go to Top of Page

lyllo
Junior Member

Italy
154 Posts

Posted - 04 September 2002 :  06:30:32  Show Profile  Visit lyllo's Homepage
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 ::.
Go to Top of Page

lyllo
Junior Member

Italy
154 Posts

Posted - 05 September 2002 :  04:46:30  Show Profile  Visit lyllo's Homepage
ehi is there someone?

~~~~~~~~~~~~
.:: LSD ::.
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 05 September 2002 :  05:01:03  Show Profile  Visit Kat's Homepage
not till you put your copyright code back.

KatsKorner

Installation Help | Snitz Mods | Forum Hosting
Go to Top of Page

lyllo
Junior Member

Italy
154 Posts

Posted - 05 September 2002 :  07:18:10  Show Profile  Visit lyllo's Homepage
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 ::.
Go to Top of Page

lyllo
Junior Member

Italy
154 Posts

Posted - 05 September 2002 :  07:19:43  Show Profile  Visit lyllo's Homepage
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 ::.
Go to Top of Page

lyllo
Junior Member

Italy
154 Posts

Posted - 05 September 2002 :  07:30:17  Show Profile  Visit lyllo's Homepage
STOP AGAIN!

restored old code, now i should be ok.

hope to eligible for a reply.

bye, and sorry!

~~~~~~~~~~~~
.:: LSD ::.
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 05 September 2002 :  08:30:18  Show Profile  Visit Kat's Homepage
Thanks for restoring the copyright. Someone will help soon

KatsKorner

Installation Help | Snitz Mods | Forum Hosting
Go to Top of Page

lyllo
Junior Member

Italy
154 Posts

Posted - 05 September 2002 :  13:21:28  Show Profile  Visit lyllo's Homepage
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 ::.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 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.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07