Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: Pic by forum
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

puzo
Junior Member

Israel
417 Posts

Posted - 25 September 2003 :  08:18:04  Show Profile  Visit puzo's Homepage
http://download.server3.come2store.com/puzo/pictures.zip


Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 25 September 2003 :  08:48:04  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
Cool! Will check this! Thanks!

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 26 September 2003 :  01:55:32  Show Profile
I now have this working at Classic Motorcycling Australia and have modded it a little to suit new messages, locked forums & locked forums with new messages.

If puzo is OK with me posting the code, then I shall. Thanks for the work in getting the original running there puzo, great work.

Cheers,

David Greening
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 26 September 2003 :  03:47:57  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
Nice, that's what I'm looking for =)

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

puzo
Junior Member

Israel
417 Posts

Posted - 26 September 2003 :  06:39:10  Show Profile  Visit puzo's Homepage
sure, go ahead.


Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 26 September 2003 :  06:43:22  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
quote:
Originally posted by Classicmotorcycling

I now have this working at Classic Motorcycling Australia and have modded it a little to suit new messages, locked forums & locked forums with new messages.

Nicely done, David. Looks sweet

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 26 September 2003 :  17:54:33  Show Profile

OK, this is just an update to Puzo's great mod. All credit goes to Puzo. I am also using .gif as I seem to get them smaller than the .jpg and they look just as good. If you prefer to use .jpg, just change the code to suit.

1. Create a directory called "show" (with-out the quotes) in your fourm directory
2. Create 4 images for each of the FORUM_ID's (normal = <FORUM_ID>.gif), (new post = <FORUM_ID>_np.gif), (locked forum = <FORUM_ID>_fl.gif) and (locked forum new post = <FORUM_ID>_fnl.gif) and place them in to the newley created show directory. See the original post from Puzo.

3. In inc_header.asp just below:


<!--#INCLUDE FILE="inc_func_common.asp" -->
Insert the following after changing the colors to suit your needs:

<style type="text/css">
.brdr { border: solid #DDDDDD; border-width: 1px; 
	}
.brdrlock { border: solid #006CB3; border-width: 1px; 
	}
.brdrnew { border: solid #E00DFF; border-width: 1px; 
	}
.brdrnewlock { border: solid #FE010D; border-width: 1px; 
	}
</style>
The in default.asp find and replace the following sub (no line given as each users forum is different):

sub ChkIsNew(dt)
	Response.Write	"<a href=""forum.asp?FORUM_ID=" & ForumID & """>"
	if CatStatus <> 0 and ForumStatus <> 0 then
		if dt > Session(strCookieURL & "last_here_date") and (ForumCount > 0 or ForumTopics > 0) then
			Response.Write	getCurrentIcon(strIconFolderNew,"New Posts","hspace=""0""") & "</a>"
		else
			Response.Write	getCurrentIcon(strIconFolder,"Old Posts","hspace=""0""") & "</a>"
		end if
	elseif ForumLastPost > Session(strCookieURL & "last_here_date") then
		if CatStatus = 0 then
			strAltText = "Category Locked"
		else
			strAltText = "Forum Locked"
		end if
		Response.Write	getCurrentIcon(strIconFolderNewLocked,strAltText,"hspace=""0""") & "</a>"
	else
		if CatStatus = 0 then
			strAltText = "Category Locked"
		else
			strAltText = "Forum Locked"
		end if
		Response.Write	getCurrentIcon(strIconFolderLocked,strAltText,"hspace=""0""") & "</a>"
	end if
end sub
with the following:

sub ChkIsNew(dt)
	Response.Write	"<a href=""forum.asp?FORUM_ID=" & ForumID & """>"
	if CatStatus <> 0 and ForumStatus <> 0 then
		if dt > Session(strCookieURL & "last_here_date") and (ForumCount > 0 or ForumTopics > 0) then
			Response.Write  "<img src=""show/" & ForumID & "_np.gif"" class=""brdrnew"" border=""0"" alt=""" & chkString(ForumSubject,"display") & """></a>"
		else
			Response.Write  "<img src=""show/" & ForumID & ".gif"" class=""brdr"" border=""0"" alt=""" & chkString(ForumSubject,"display") & """></a>"
		end if
	elseif ForumLastPost > Session(strCookieURL & "last_here_date") then
		if CatStatus = 0 then
			strAltText = "Category Locked"
		else
			strAltText = "Forum Locked"
		end if
		Response.Write "<acronym title=""" & chkString(ForumSubject,"display") & " (Locked)""><img src=""show/" & ForumID & "_fnl.gif"" class=""brdrnewlock"" border=""0"" alt=""" & chkString(ForumSubject,"display") & """></a>"
	else
		if CatStatus = 0 then
			strAltText = "Category Locked"
		else
			strAltText = "Forum Locked"
		end if
		Response.Write "<acronym title=""" & chkString(ForumSubject,"display") & " (Locked)""><img src=""show/" & ForumID & "_fl.gif"" class=""brdrlock"" border=""0"" alt=""" & chkString(ForumSubject,"display") & """></a>"
	end if
end sub
You are now done.

I rank ease of install 2 out of 10 with 1 being the easiest. This would of got a 1, but the need to create the images..

Cheers,

David Greening
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 26 September 2003 :  17:56:33  Show Profile
Thanks OWM..
quote:
Originally posted by OneWayMule

Nicely done, David. Looks sweet
Coming from you is quite pleasing after seeing the fantastic work you do. Thanks...

Cheers,

David Greening
Go to Top of Page

Helterskelter
Junior Member

United Kingdom
331 Posts

Posted - 06 October 2003 :  16:30:16  Show Profile  Visit Helterskelter's Homepage  Send Helterskelter an ICQ Message
Thanks

Got this working with the image changer's as well
Must say it took 2 hours to find all the images I wanted and to figer out the name setting but all is working fine now

you can view it at the link below
http://www.livingfish.co.uk/forum/default.asp

Go to Top of Page

puzo
Junior Member

Israel
417 Posts

Posted - 08 October 2003 :  10:55:31  Show Profile  Visit puzo's Homepage
@Helterskelter
It looks very nice on your forum, for me too it was hard finding those images but it was worth it, a nice cosmetic addition.


Go to Top of Page

Helterskelter
Junior Member

United Kingdom
331 Posts

Posted - 08 October 2003 :  15:10:56  Show Profile  Visit Helterskelter's Homepage  Send Helterskelter an ICQ Message
Puzo, Thanks for this mod
Classicmotorcycling Thanks for your input as well.

This rearly dose chage the looks of the forum, anf i have to say it far better then the standed folder's

Just need to find a good lock image to copy over the images for locked forums, but have not had the time to do so yet.

I've also added this link to SHN's forum at
http://www.shnforum.com/forum/topic.asp?TOPIC_ID=2753

for SHN moders like my self.

Thanks both of u again

Helter

Go to Top of Page

CrueDawg
Starting Member

Canada
11 Posts

Posted - 09 October 2003 :  00:17:20  Show Profile  Visit CrueDawg's Homepage
Puzo and Classicmotorcycling,

Thanks, very Awesome!! Set it up, works like a charm!
Wanna see?
http://www.cruedawg.com/forum
There ya go

Thanks again!

Edited by - CrueDawg on 09 October 2003 00:17:44
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 09 October 2003 :  05:05:51  Show Profile
Like I said, this is Puzo's mod, so all the congrats goes to him..

What I did, was just make you increase your use of a graphics editor to make another 3 images for your forums on top of the one you would of anyway...

Cheers,

David Greening
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 18 October 2003 :  22:19:21  Show Profile  Visit Etymon's Homepage
Thanks all, great ideas for a very useful MOD!

Thank you Puzo ... Classic.

Etymon
Go to Top of Page

xx ENIGMA xx
Junior Member

166 Posts

Posted - 14 November 2003 :  10:25:57  Show Profile  Send xx ENIGMA xx an AOL message
this is just what my forum needs, great mod
puzo and I'll try installing it today

have you thought of possibly setting a pic into
the category as well and have settings to where
admin's can choose to have just pics in the
catagory or both catagory and topics?

just a thought

again, good job!

btw, is it possible to have a flashing border color
if new posts are in a topic using <style> instead
of making an animated gif?




my little forum playground


Edited by - xx ENIGMA xx on 14 November 2003 14:03:23
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | 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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07