Previous Thread
Next Thread
Print Thread
Rating: 5
Page 2 of 2 1 2
jacksonm99 #214317 07/17/2002 2:25 PM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
It's definately a cookie problem, cause I can run the files that I'm using from the ubbthreads directory and it works just fine.

I have the path to cookies set to / so what gives?

Sponsored Links
jacksonm99 #214318 07/17/2002 7:59 PM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
If you can email me the script as you have made it I'll look to see what I can figure out.

(when I get a chance that is, am extremely over worked with a deadline looming in the distance)

sjsaunders #214319 07/18/2002 12:42 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
In the email!

Thanks!!!

jacksonm99 #214320 07/21/2002 12:05 AM
Joined: Jun 2001
Posts: 176
Member
Member
Offline
Joined: Jun 2001
Posts: 176
how can I hide a link from guest group ?
I want to show it to logged in members but not to anon

interforos #214321 07/21/2002 6:03 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
ubbt_registerednav.tmpl is the menu template that is used to generate the menu for registered users, so if you want a "registered users only link" just add it to that template.

Sponsored Links
jacksonm99 #214322 07/21/2002 12:04 PM
Joined: Jun 2001
Posts: 176
Member
Member
Offline
Joined: Jun 2001
Posts: 176
oh I'm not up to version 6 yet so I have no templates

interforos #214323 07/21/2002 1:15 PM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
posted by Dslam:
oh I'm not up to version 6 yet so I have no templates


Sorry I didn't convert from Classic to Threads until version 6.1

jacksonm99 #214324 07/22/2002 9:15 PM
Joined: Jun 2001
Posts: 176
Member
Member
Offline
Joined: Jun 2001
Posts: 176
well after being off meds for a day it hit me how to do it LOL
code:

if ($user['U_Username']) {

echo "<a href=/add-image.php>add-images</a>";

}

else {

echo "Login to add images";

}


simple as that

Last edited by Dslam; 07/22/2002 9:30 PM.
jacksonm99 #214325 07/26/2002 2:38 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
I went back to the scripts I was using to generate the index page and authentication worked!? No idea why I was having problems before, maybe the server was caching some of the variables. Oh well, it works

jacksonm99 #214326 09/12/2002 1:36 PM
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
I love this feature but how do I get it to work on a seperate domain, hosted on the same server?

I have serveral domains and I would like them to have the same look. but a little different body content. and the ability to access the threads...

Sponsored Links
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
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
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 20240430)