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: General / Current Version (Old)
 how can i use graphics instead of text links??
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Raichelle
Junior Member

370 Posts

Posted - 26 March 2001 :  19:30:57  Show Profile
ok i had some graphics on my old forum that says... post reply, new topic and so on
but on snitz its text links while on ubb its graphics. my question is how can i change it from being text links to graphics so peoples can click on a image that says new topic instead of a text that says new topic

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 26 March 2001 :  19:50:03  Show Profile
You would have to manually edit the files to do that. I believe they only show up on the forum.asp and topic.asp pages. So thos would be the files to edit.
You would basically take out the text and image code that is there and replace it with your graphic.

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 26 March 2001 :  19:50:22  Show Profile
You would need to edit the files and replace the text link with just an image link.

for example, this is the PostNewTopic() sub in forum.asp:


sub PostNewTopic()
%>
<font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">
<% if rsCStatus("CAT_STATUS") = 0 or rsFStatus("F_STATUS") = 0 then
if (AdminAllowed = 1) then %>
<a href="post.asp?method=Topic&FORUM_ID=<% =Request.QueryString("FORUM_ID")%>&CAT_ID=<% =Request.QueryString("CAT_ID")%>&Forum_Title=<% =ChkString(Request.QueryString("FORUM_Title"),"urlpath") %>"><img src="icon_folder_locked.gif" alt="Category Locked" height=15 width=15 border=0></a> <a href="post.asp?method=Topic&FORUM_ID=<% =Request.QueryString("FORUM_ID")%>&CAT_ID=<% =Request.QueryString("CAT_ID")%>&Forum_Title=<% =ChkString(Request.QueryString("FORUM_Title"),"urlpath") %>">New Topic</a>
<% else %>
<img src="icon_folder_locked.gif" alt="Category Locked" height=15 width=15 border=0> Category Locked
<% end if
else
if rsFStatus("F_STATUS") <> 0 then %>
<a href="post.asp?method=Topic&FORUM_ID=<% =Request.QueryString("FORUM_ID")%>&CAT_ID=<% =Request.QueryString("CAT_ID")%>&Forum_Title=<% =ChkString(Request.QueryString("FORUM_Title"),"urlpath") %>"><img src="icon_folder_new_topic.gif" alt="New Topic" height=15 width=15 border=0></a> <a href="post.asp?method=Topic&FORUM_ID=<% =Request.QueryString("FORUM_ID")%>&CAT_ID=<% =Request.QueryString("CAT_ID")%>&Forum_Title=<% =ChkString(Request.QueryString("FORUM_Title"),"urlpath") %>">New Topic</a>
<% else %>
<img src="icon_folder_locked.gif" alt="FORUM Locked" height=15 width=15 border=0> Forum Locked
<% end if
end if %>
</font>
<%
end sub


You would change it to this:


sub PostNewTopic()
%>
<font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">
<% if rsCStatus("CAT_STATUS") = 0 or rsFStatus("F_STATUS") = 0 then
if (AdminAllowed = 1) then %>
<a href="post.asp?method=Topic&FORUM_ID=<% =Request.QueryString("FORUM_ID")%>&CAT_ID=<% =Request.QueryString("CAT_ID")%>&Forum_Title=<% =ChkString(Request.QueryString("FORUM_Title"),"urlpath") %>"><img src="YOUR_NEW_TOPIC_ICON.gif" alt="Category Locked" height=15 width=15 border=0></a>
<% else %>
<img src="YOUR_CATEGORY_LOCKED_ICON.gif" alt="Category Locked" height=15 width=15 border=0>
<% end if
else
if rsFStatus("F_STATUS") <> 0 then %>
<a href="post.asp?method=Topic&FORUM_ID=<% =Request.QueryString("FORUM_ID")%>&CAT_ID=<% =Request.QueryString("CAT_ID")%>&Forum_Title=<% =ChkString(Request.QueryString("FORUM_Title"),"urlpath") %>"><img src="YOUR_NEW_TOPIC_ICON.gif" alt="New Topic" height=15 width=15 border=0></a>
<% else %>
<img src="YOUR_FORUM_LOCKED_ICON.gif" alt="FORUM Locked" height=15 width=15 border=0>
<% end if
end if %>
</font>
<%
end sub



you will probably need to change the height and width as well. If you just want to use the default height and width of the icon, remove the height=15 and width=15 from the img tag.
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 26 March 2001 :  19:53:18  Show Profile
Ahh, umm, ok. You can umm, ignore my small post there at the top and uhh, go with what Rich said.

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 26 March 2001 :  20:04:39  Show Profile
Sorry Davio, didn't see your post...
Go to Top of Page

Raichelle
Junior Member

370 Posts

Posted - 26 March 2001 :  20:05:44  Show Profile
thanks richard for the help
u helped u too davio by telling me which file to edit

Go to Top of Page
  Previous Topic Topic Next Topic  
 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.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07