|
Joined: Feb 2001
Posts: 2,268
Junior Member
|
Junior Member
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?
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
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)
|
|
|
|
Joined: Feb 2001
Posts: 2,268
Junior Member
|
Junior Member
Joined: Feb 2001
Posts: 2,268 |
In the email! Thanks!!!
|
|
|
|
Joined: Jun 2001
Posts: 176
Member
|
Member
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
|
|
|
|
Joined: Feb 2001
Posts: 2,268
Junior Member
|
Junior Member
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.
|
|
|
|
Joined: Jun 2001
Posts: 176
Member
|
Member
Joined: Jun 2001
Posts: 176 |
oh I'm not up to version 6 yet so I have no templates
|
|
|
|
Joined: Feb 2001
Posts: 2,268
Junior Member
|
Junior Member
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
|
|
|
|
Joined: Jun 2001
Posts: 176
Member
|
Member
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.
|
|
|
|
Joined: Feb 2001
Posts: 2,268
Junior Member
|
Junior Member
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
|
|
|
|
Joined: Apr 2002
Posts: 474
Enthusiast
|
Enthusiast
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...
|
|
|
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.
|
|
Posts: 808
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|