Previous Thread
Next Thread
Print Thread
Rate Thread
#181920 08/24/2003 10:32 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
ok, in public_common.pl

Code
find:
---------
if($vars_display{EnableDirectory} ne "no") {
# Member Directory - ONLY IF LOGGED IN
$dirlink = qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory"><acronym title="$vars_wordlets{directory_link}"><img src="$vars_config{NonCGIURL}/$vars_style{directorylink}" border="0" alt="$vars_wordlets{directory_link}" /></acronym></a>);
If you have that in there, then go into your cp, and make sure the directory is enabled. If you don't have that in there...
Code
find:
-----------
sub MainButtonOptions {
# Sorry folks, it just got complicated again.
my($prolink, $reglink, $dirlink, $lilink, @items);
if ($vars_registration{DisplayRegistration} ne 'NO') {
# My Profile - ONLY IF LOGGED IN
$prolink = qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=my_profile"><acronym title="$vars_wordlets{profile_acronym}"><img src="$vars_config{NonCGIURL}/$vars_style{profilelink}" border="0" alt="$vars_wordlets{profile_link}" /></acronym></a>);
# Log in - ONLY IF NOT LOGGED IN
$lilink = qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=login"><acronym title="$vars_wordlets{login_acronym}"><img src="$vars_config{NonCGIURL}/$vars_style{loginlink}" border="0" alt="$vars_wordlets{login_link}" /></acronym></a>);

if($vars_registration{SuspendRegister} ne "true") {
# Register - ONLY IF NOT LOGGED IN
$reglink = qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=agree"><acronym title="$vars_wordlets{register_acronym}"><img src="$vars_config{NonCGIURL}/$vars_style{registerlink}" border="0" alt="$vars_wordlets{register_link}" /></acronym></a>);
} # end if
and add after it

Code
		if($vars_display{EnableDirectory} ne "no") {
# Member Directory - ONLY IF LOGGED IN
$dirlink = qq(<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=directory"><acronym title="$vars_wordlets{directory_link}"><img src="$vars_config{NonCGIURL}/$vars_style{directorylink}" border="0" alt="$vars_wordlets{directory_link}" /></acronym></a>);
Now I couldn't test this cause I would need to be logged in, and have a clue how to read your board shocked . Try that, it should be able to fix it

Sponsored Links
Entire Thread
Subject Posted By Posted
Qs Qs Qs Mrs.B 08/17/2003 6:34 PM
Re: Qs Qs Qs AllenAyres 08/17/2003 10:06 PM
Re: Qs Qs Qs Mrs.B 08/18/2003 1:02 AM
Re: Qs Qs Qs Charles Capps 08/18/2003 2:32 AM
Re: Qs Qs Qs AllenAyres 08/18/2003 2:46 AM
Re: Qs Qs Qs Mrs.B 08/18/2003 3:14 AM
Re: Qs Qs Qs AllenAyres 08/18/2003 3:19 AM
Re: Qs Qs Qs Mrs.B 08/18/2003 3:32 AM
Re: Qs Qs Qs AllenAyres 08/18/2003 3:52 AM
Re: Qs Qs Qs Mr. B 08/24/2003 5:10 PM
Re: Qs Qs Qs Ian Spence 08/24/2003 5:32 PM
Re: Qs Qs Qs Mr. B 08/24/2003 6:27 PM
Re: Qs Qs Qs Mr. B 08/24/2003 9:24 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,574
Posts293,926
Members13,850
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)