Print Page | Close Window

Sidebar Navigation

Printed From: S2H.co.uk
Category: Web Wiz Forums
Forum Name: Modifications Support
Forum Description: Support for modifications and add-ons for Web Wiz Forums from S2H.
URL: http://www.s2h.co.uk/forum/forum_posts.asp?TID=190
Printed Date: 26 Mar 2026 at 11:57pm


Topic: Sidebar Navigation
Posted By: ricardorjcampos
Subject: Sidebar Navigation
Date Posted: 14 Nov 2010 at 4:36pm
How do I put the Navigation Sidebar on the right forum?



Replies:
Posted By: Matt
Date Posted: 16 Nov 2010 at 8:12pm

If you are referring to my ../wwf/mods/sidebar-navigation/" rel="nofollow - 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 -->




Posted By: Jo
Date 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.


Posted By: Matt
Date 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.



Posted By: Jo
Date 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.


Posted By: Jo
Date 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" href= http://mylink.com/" rel="nofollow - http://mylink.com >PVP Videos</a></td>
  </tr><%
   ElseIf lngLoggedInUserID = 9 then
  %><tr>
   <td class="tableRow"><a class="Link" href= http://mylink.com" rel="nofollow - 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/" rel="nofollow - 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/" rel="nofollow - http://mylink.com >PVP  Videos</a></td>
  </tr><%
   end if
  %>
 
neither work.... plz help


Posted By: Matt
Date 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.



Posted By: Jo
Date Posted: 20 Dec 2010 at 11:23am
thanks so much for the quick help I will see if it works



Print Page | Close Window