It shouldn't. I have used this with several different cookie prefixes at the same time and it cleared them all. When the cookie names/values are displayed are the names correct? Those are the exact names that get expired. If I could get ftp access to your site I could test a couple ideas I have but honestly I can't see why it's not working at this point...
Get Linux... LoL no j/k (well not really but don't want to get into any debates) LoL
Anyhow... If your running your site from a windows machine would you mind installing this cookie script and letting me know if it works? Thanks for any input/help you can give.
Didn't I see where somebody put a link into the login screen? Can't seem to find that thread on the hack to place the link. Love this tool.. but want to make it easier for them to find.
Line: $ubbt_language = ${$config['cookieprefix']."w3t_language"}; seems to be wrong cause w3t_language is only the tables name if you did not change the preffix.
I am using cf as prefix therefore my table is called: cf_languages.
Is it possible to get this great utillity to work on a 6.1 UBBThreads forum?
When i tested i got
Code
<br />Fatal error: Call to undefined function: get_input() in /<path to my installation>/ubbthreads/mycookies.php on line 37<br /><br />
"Do not meddle in the affairs of sysadmins, for they can make your life miserable by doing nothing." <img src="/threads/php/images/graemlins/wink.gif" alt="" /> Unknown
I may be wrong but in 6.1 the globals were artificially registered by .threads so you may be able to just comment out the get_input line and have it work.
Update..tested, does not seem to work but JoshPet found one that works for me So it might come to use when we upgrade our forum
Last edited by Erik_Rana; 02/17/20038:18 PM.
"Do not meddle in the affairs of sysadmins, for they can make your life miserable by doing nothing." <img src="/threads/php/images/graemlins/wink.gif" alt="" /> Unknown
"Do not meddle in the affairs of sysadmins, for they can make your life miserable by doing nothing." <img src="/threads/php/images/graemlins/wink.gif" alt="" /> Unknown
I have an embarrassingly newbish question to ask here . . . I've installed this mod, and everything seems to function as it should. However, I'm a bit lost (I have NO doubt whatsoever that if/when this is answered, and I see it, I'll go "Oh, duh, of course, it's so obvious" and feel like a heel) as to where a good place to make this file accessible to users/linked would be, and what code in which (template?) file(s) to use for there to be a ready link to it outside of an actual post.
I placed a link to it in the footer here. (ubbt_footer.tmpl)
You could also place it in the FAQ section or as a link in a sticky post of a "help" forum. It could also be added to the navigation bar (ubbt_registerednav.tmpl, ubbt_unregisterednav.tmpl).
[] I placed a link to it in the footer here. (ubbt_footer.tmpl) [/] Ahh, that works. Very convenient and almost sneaky, I didn't even notice it down there until my attention was directed to it.
I placed this right above the footer and below the Main Configuration part in the MY HOME section. This is where I noticed my users usually get stuck when their cookies go bad.
I can attach the code with the graphics if wanted.
Warning: Unable to access /home/virtual/ubbdev.com/var/www/html/threads/php/languages/english/mycookies.lang.php in /home/virtual/site2/fst/var/www/html/threads/php/mycookies.php on line 30
but that may be because things are sort of "not right" on that machine. (not my doing, btw) lol
I have added this type of redirect to the shoutbox scripts using the {$config['phpurl']} and did not have any problems so I would recommend adding it in. I'm actually not sure if it would work otherwise on a machine that "is right"... lol
should work on all machines if their is no output before that statement. "Location" is part of the http protocol and should work with all standard browsers. Make sure you use a absolute URI as the target. Relative URI will work on most browsers but the RFC specifies that it has to be an absolute one.
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.