I have MyLinks_SQL installed the way it says but it just won't show up in the links. Has anyone had this problem?
Jan 5, 2002, 3:10 AM
Veteran / Moderator (6956 posts)
Jan 5, 2002, 3:10 AM
Post #5 of 15
Views: 4428
You can only do that in DYNAMIC mode (or with dynamic headers).
If a user is logged in, they will see the various menu options available to Users (just like editors). Taking the hint from the include-menu.html file:
<%if Username%>
<a class="menu_links" href="<%db_cgi_url%>/browser.cgi">EDITORS</a> •
<a class="menu_links" href="<%db_cgi_url%>/user.cgi?logout=1">LOGOUT</a> •
<%endif%>
<%ifnot Username%>
<a class="menu_links" href="<%db_cgi_url%>/user.cgi">LOGIN</a> •
<%endif%>
You wrap the options in the <%if Username%> tag. If a user is logged on, Username will be non-null.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.
If a user is logged in, they will see the various menu options available to Users (just like editors). Taking the hint from the include-menu.html file:
Code:
<%if Username%>
<a class="menu_links" href="<%db_cgi_url%>/browser.cgi">EDITORS</a> •
<a class="menu_links" href="<%db_cgi_url%>/user.cgi?logout=1">LOGOUT</a> •
<%endif%>
<%ifnot Username%>
<a class="menu_links" href="<%db_cgi_url%>/user.cgi">LOGIN</a> •
<%endif%>
You wrap the options in the <%if Username%> tag. If a user is logged on, Username will be non-null.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.
Jan 5, 2002, 3:48 PM
Enthusiast (582 posts)
Jan 5, 2002, 3:48 PM
Post #14 of 15
Views: 4366
Problem solved.
The instructions say to put:
<%if USER%>
<a href="http://www.fanficweb.net/cgi-bin/fanficdir/fave.cgi?do=add&id=<%ID%>">Save It</a>
<%endif%>
But appearently what you need is
<%if Username%>
<a href="http://www.fanficweb.net/cgi-bin/fanficdir/fave.cgi?do=add&id=<%ID%>">Save It</a>
<%endif%>
The instructions say to put:
<%if USER%>
<a href="http://www.fanficweb.net/cgi-bin/fanficdir/fave.cgi?do=add&id=<%ID%>">Save It</a>
<%endif%>
But appearently what you need is
<%if Username%>
<a href="http://www.fanficweb.net/cgi-bin/fanficdir/fave.cgi?do=add&id=<%ID%>">Save It</a>
<%endif%>