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/O Code)
 i want to add button just for the admins
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

asafdr
New Member

Israel
90 Posts

Posted - 02 December 2002 :  20:07:37  Show Profile  Send asafdr an ICQ Message
how do i do it?


Edited by - asafdr on 02 December 2002 20:07:54

dayve
Forum Moderator

USA
5820 Posts

Posted - 02 December 2002 :  20:08:58  Show Profile  Visit dayve's Homepage
what do you want the button to do?

Go to Top of Page

asafdr
New Member

Israel
90 Posts

Posted - 02 December 2002 :  21:37:53  Show Profile  Send asafdr an ICQ Message
ok,something like this:
image: admin.jpg link:admin_home.asp
Go to Top of Page

seven
Senior Member

USA
1037 Posts

Posted - 02 December 2002 :  21:50:02  Show Profile  Visit seven's Homepage
Open "inc_header.asp" and search for "Admin Options", replace the text link with your image link (look in the same page for examples on how to link from images).

quote:
Originally posted by asafdr

ok,something like this:
image: admin.jpg link:admin_home.asp



Go to Top of Page

asafdr
New Member

Israel
90 Posts

Posted - 02 December 2002 :  22:31:23  Show Profile  Send asafdr an ICQ Message
no no :) i want the button be in Different page.

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 03 December 2002 :  00:37:31  Show Profile  Visit dayve's Homepage
I'm lost

Go to Top of Page

asafdr
New Member

Israel
90 Posts

Posted - 03 December 2002 :  08:17:00  Show Profile  Send asafdr an ICQ Message
look
i have some buttons in forum.asp file.
like new topic, Search, FAQ ...

and i want to add a one more button, and just the admin's can see it
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 03 December 2002 :  10:57:29  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
All you need to do is add a memberlevel check:

if mlev = 4 then
' Do your image code here....
end if

You could even put the code in the postnewtopic sub in forum.asp if you want it with the post new topic button...

Dave Maxwell
Barbershop Harmony Freak
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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07