New Posts New Posts RSS Feed - Sidebar Navigation
  FAQ FAQ  Forum Search   Register Register  Login Login

Sidebar Navigation

 Post Reply Post Reply
Author
ricardorjcampos View Drop Down
Newbie
Newbie


Joined: 14 Nov 2010
Status: Offline
Points: 1
Post Options Post Options   Quote ricardorjcampos Quote  Post ReplyReply Direct Link To This Post Topic: Sidebar Navigation
    Posted: 14 Nov 2010 at 4:36pm
How do I put the Navigation Sidebar on the right forum?
Back to Top
Matt View Drop Down
Admin Group
Admin Group


Joined: 07 Feb 2003
Location: Manchester, UK
Status: Offline
Points: 195
Post Options Post Options   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 16 Nov 2010 at 8:12pm

If you are referring to my SideBar Navigation mod, then you will need to move the links to the footer.asp file.

In the "includes/status_bar_header_inc.asp" file, at the bottom of the file look for the following.

    <td style="width: 200px;" valign="top"><br />

<!--#include file="s2h_SN_links.asp"-->
    </td>


Remove it and add it to the "includes/footer.asp" file like so:

<!-- S2H: SideBar Navigation Start -->
    </td>
    <td style="width: 200px;" valign="top"><br />
<!--#include file="s2h_SN_links.asp"-->
    </td>

</tr>
</table>
<!-- S2H: SideBar Navigation End -->


Back to Top
Jo View Drop Down
Newbie
Newbie


Joined: 27 Nov 2010
Status: Offline
Points: 5
Post Options Post Options   Quote Jo Quote  Post ReplyReply Direct Link To This Post Posted: 27 Nov 2010 at 5:31pm
I got this to install jsut fine, I"m just looking for the following info
 
which files need to be changed in order to either:
 
Remove parts of the navigation system I dont want
 
or
 
Add to it.
Back to Top
Matt View Drop Down
Admin Group
Admin Group


Joined: 07 Feb 2003
Location: Manchester, UK
Status: Offline
Points: 195
Post Options Post Options   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 28 Nov 2010 at 10:19am
The "includes/s2h_SN_links.asp" contains all of the links.

Some of them are dependent on your forums features. For example the Private Messages links are only displayed when the feature is enabled in the Admin Area.

If you wanted to remove these links, you would need to remove the associated ASP. If you have any problems removing specific links, feel free to post back here.

Back to Top
Jo View Drop Down
Newbie
Newbie


Joined: 27 Nov 2010
Status: Offline
Points: 5
Post Options Post Options   Quote Jo Quote  Post ReplyReply Direct Link To This Post Posted: 29 Nov 2010 at 8:18am
I tried to edit that file and got errors that didnt allow the forum to load, basically I want to get rid of:
 
-Messageboard section (all options)
-Member Control Panel (the mail related options)
-Moderator Tools (all options)
 
and leave only
-Navigation
-Member Control Panel (the control panel/logout etc options)
 
And possibly put links in if I desire that only registered users w. access can see.


Edited by Jo - 29 Nov 2010 at 8:19am
Back to Top
Jo View Drop Down
Newbie
Newbie


Joined: 27 Nov 2010
Status: Offline
Points: 5
Post Options Post Options   Quote Jo Quote  Post ReplyReply Direct Link To This Post Posted: 20 Dec 2010 at 10:14am
Looking for Help PLZ
 
I have most of what I want now I'm trying to add a part that is ONLY visible if you are in Group_ID 1,3,8,9&10
 
1 was easy enough  i just  used "if blnAdmin then"
 
but if I try to get the others they dont show....
 
I have tried the following codes
Quote <%
     if lngLoggedInUserID = 8 then
  %><tr>
   <td class="tableRow"><a class="Link" target="_blank" href=http://mylink.com>PVP Videos</a></td>
  </tr><%
   ElseIf lngLoggedInUserID = 9 then
  %><tr>
   <td class="tableRow"><a class="Link" target="_blank" href=http://mylink.com>PVP Videos</a></td>

  </tr><%
   ElseIf lngLoggedInUserID = 10 then
  %><tr>
   <td class="tableRow"><a class="Link" target="blank" href=http://mylink.com>PVP  Videos</a></td>
  </tr><%
   end if
  %>
 
(I removed my real link for the moment)
 
that didnt work and I've also tried
 
Quote <%
   If lngLoggedInUserID < 13 then
  %><tr>
   <td class="tableRow"><a class="Link" target="blank" href=http://mylink.com>PVP  Videos</a></td>
  </tr><%
   end if
  %>
 
neither work.... plz help


Edited by Jo - 20 Dec 2010 at 10:17am
Back to Top
Matt View Drop Down
Admin Group
Admin Group


Joined: 07 Feb 2003
Location: Manchester, UK
Status: Offline
Points: 195
Post Options Post Options   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 20 Dec 2010 at 10:33am

Sorry, I didnt notice the other post.

The problem you are facing is you are creating links based on individual members.

lngLoggedInUserID - as the name suggests - gives the ID number for the currently logged in member.

1 = Admin, 2 = Guest, rest follow on for registered members.

What you want to use is - intGroupID - for the currently logged in users group ID.

Again, 1 = Admin, 2 = Guest.

Back to Top
Jo View Drop Down
Newbie
Newbie


Joined: 27 Nov 2010
Status: Offline
Points: 5
Post Options Post Options   Quote Jo Quote  Post ReplyReply Direct Link To This Post Posted: 20 Dec 2010 at 11:23am
thanks so much for the quick help I will see if it works

Edited by Jo - 20 Dec 2010 at 11:30am
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.093 seconds.