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
 Image Map
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

hsng
New Member

84 Posts

Posted - 09 January 2004 :  23:32:44  Show Profile
I'm making an image map and know how to make the links to the pages work [just put in the address to the page]. The one thing I can't figure out is how to get the PM count to show up next to the PM link.

The same thing for the "you are logged in as" name and the logout. Are there pages for these or whats the trick.

laser
Advanced Member

Australia
3859 Posts

Posted - 10 January 2004 :  00:53:46  Show Profile
There are pages. If your forum already has the PM MOD installed, you just need to track down the code. Both snippets you are after are in inc_header.asp I think.

For PMs, look for the pmcount variable

For the login, search for "You are logged on as" and you'll be in the right place.

Go to Top of Page

hsng
New Member

84 Posts

Posted - 10 January 2004 :  13:41:28  Show Profile
I know where the code is but i thought you had to enter a url and not the code for it to work.
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 10 January 2004 :  15:36:10  Show Profile
You will need the URL, but it is there in the same place. Do you understand the ASP code ?
Go to Top of Page

hsng
New Member

84 Posts

Posted - 10 January 2004 :  16:03:44  Show Profile
No I don't understand most of the code. Sometimes I can figure out whats what but not always. I would just go to address bar for the url and that is why I don't understand using code.

Do you know of a site that you can paste in the code and it will tell you what it means. It would be a most useful site. Any code you don't know what it is, just copy and paste and bingo you know what it is.
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 10 January 2004 :  16:29:50  Show Profile
no probs, if you can see a logout button, then you can use this code :


Response.Write "You are logged in as " & ChkString(strDBNTUserName, "display")


and for the PMs :


		if pmcount > 0 then Response.Write " (<font color=""" & strActiveLinkColor & """><b>" & pmcount & " New</b></font>)"



Does that help ? Seeing thru the code to see the HTML is sometimes the thing that takes time to learn, but you can do it

Edited by - laser on 10 January 2004 16:30:25
Go to Top of Page

hsng
New Member

84 Posts

Posted - 10 January 2004 :  17:25:06  Show Profile
Thanks I will try it.
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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07