Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Joined: Sep 2002
Posts: 8
Lurker
Lurker
Offline
Joined: Sep 2002
Posts: 8
Heres a couple of screenshots of whats going on. The non logged in users see it fine. Everything works fine. The logged in users do not. I just get a bar displayed under my nav menu. When I restore my ubbt_registerednav.php to the original provided by infopop, that bar is gone. Ill email you a link.

PS Theres an error in my screenshot. The second line should say user who HAS logged in. Not user who was not logged in.
Attachments
56119-Untitled-1.jpg (0 Bytes, 43 downloads)

Last edited by stevet; 09/07/2002 7:33 PM.
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
That's very strange.

Try this (attached).
Attachments
56121-ubbt_registerednav.tmpl.zip (0 Bytes, 31 downloads)

Joined: Sep 2002
Posts: 8
Lurker
Lurker
Offline
Joined: Sep 2002
Posts: 8
Nope. Same thing.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
You're not using Netscape 4.6 are you?

Do you have a link where I can go and see.

The template I attached to my post was a working template for the registered nav bar taken right from my site.

If that doesn't work... it's got to be something other than the template.... but it works for you unrgistered nav. so all else must be in the right place.

Joined: Sep 2002
Posts: 8
Lurker
Lurker
Offline
Joined: Sep 2002
Posts: 8
No, im using IE. Check it out. Its at http://community.sexnet.com/threads/ubbthreads.php

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Check the code that you put into the ubbt.inc.php file.

It does seem to be working on the unregistered template.... but it's not working correctly. When I was on.. there was a test user + myself (anon) and it only said "1 guest".

Something isn't working correctly I think with ubbt.inc.php.

Make sure you've plugged that code in the right place....

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
[]No, im using IE. Check it out. Its at http://community.sexnet.com/threads/ubbthreads.php


I don't think this should make a difference.. but take the trailing slash off your Forum URL in your config file... as soon as you click anywhere you get an extra slash in the URL before the word threads.

http://community.sexnet.com//threads/online.php?Cat=

Joined: Sep 2002
Posts: 8
Lurker
Lurker
Offline
Joined: Sep 2002
Posts: 8
[]
Quote:


No, im using IE. Check it out. Its at http://community.sexnet.com/threads/ubbthreads.php




I don't think this should make a difference.. but take the trailing slash off your Forum URL in your config file... as soon as you click anywhere you get an extra slash in the URL before the word threads.

http://community.sexnet.com//threads/online.php?Cat=


Thanks for the headsup. I thought that looked a little funny.
Heres part of my ubbt.inc.php file. I inserted the code starting at line 335 running through 447.

Its directly below

// -------------------------------------------------
// Are we showing the user list to reged users only?
if ($config['userlist'] == '1'){
$template['members_link'] = " | <a href="$phpurl/showmembers.php?Cat=$Cat&page=1" target="_top">{$ubbt_lang['USER_LIST']}</a>";
}
// ============================== who's online start ==============================================

and directly above


// ============================== who's online end ================================================

// -------------------------------------------
// Now require the registerednav.php template
include("$thispath/templates/$tempstyle/ubbt_unregisterednav.tmpl");


Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Wow.. that's right.....

And the first online of the Who's online part of it begins with:

$LastOn = $this -> get_date() - 600;


That was the only part of that code that changed when using it on every page.

Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
does this work for 6.1 or no?

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Working like a charm in 6.1... has been since b1.

I'm using it on every page..... but that's only one "tweak" from what Dave posted.


Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
Thanks. I had a few free minutes tonight and was wondering what to add to my site. I guess I have an answer

Page 2 of 2 1 2

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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
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 20221218)