Ajeh Posted December 16, 2002 Share Posted December 16, 2002 The version is set in keeping with the code I am working on for other Add-Ons. This Login Box is both a Login Box and a My Account Box. It does not show on Login or Create pages. When Logged in ... it is a My Account Box. When Logged off ... it is a Login Box. http://www.oscommerce.com/downloads.php/co...ions,816/type,3 You can test this at: http://www.thewebmakerscorner.com/freecall Quote Link to comment Share on other sites More sharing options...
psychedelik Posted December 16, 2002 Share Posted December 16, 2002 uh...wasn't that my origianl idea which lacked interest?? http://www.oscommerce.com/forums/viewtopic.php...6219&highlight= Quote Link to comment Share on other sites More sharing options...
Guest Posted December 16, 2002 Share Posted December 16, 2002 Linda, Thanks for the new login box. I went to add it and ran into a little snag....I'm using an older Loaded Snapshot (August? September?)...anyway, when attempting to install it I get this error: Fatal error: Call to undefined function: tep_get_validate_show_link() in /home2/www/bird-e-toys/osc/catalog/includes/boxes/loginbox.php on line 25 I haven't got the foggiest idea how to fix that one.......Help! Quote Link to comment Share on other sites More sharing options...
dreamscape Posted December 16, 2002 Share Posted December 16, 2002 hey linda, small bug when testing it on your site... if you log in and then log out a little later, and then goto the login.php page or the create_account.php page, the "My Account Info" box shows up, even though no one is logged in... Quote The only thing necessary for evil to flourish is for good men to do nothing - Edmund Burke Link to comment Share on other sites More sharing options...
Ajeh Posted December 16, 2002 Author Share Posted December 16, 2002 uh...wasn't that my origianl idea which lacked interest??http://www.oscommerce.com/forums/viewtopic.php...&highlight= It was a great idea ... Quote Link to comment Share on other sites More sharing options...
Ajeh Posted December 16, 2002 Author Share Posted December 16, 2002 Fatal error: Call to undefined function: tep_get_validate_show_link() in /home2/www/bird-e-toys/osc/catalog/includes/boxes/loginbox.php on line 25 Change: // WebMakers.com Added: Do not show if on login or create account if ( (!strstr($_SERVER['PHP_SELF'],'login.php')) and (!strstr($_SERVER['PHP_SELF'],'create_account.php')) and tep_get_validate_show_link(FILENAME_LOGIN) ) { To: // WebMakers.com Added: Do not show if on login or create account if ( (!strstr($_SERVER['PHP_SELF'],'login.php')) and (!strstr($_SERVER['PHP_SELF'],'create_account.php'))) { I use that function for another feature ... :shock: Quote Link to comment Share on other sites More sharing options...
Guest Posted December 16, 2002 Share Posted December 16, 2002 Thanks!! On my way to get it installed. Quote Link to comment Share on other sites More sharing options...
Guest Posted December 16, 2002 Share Posted December 16, 2002 Well...........that got the login box working but the "my account" box doesn't show when logged in.....:-( Quote Link to comment Share on other sites More sharing options...
Guest Posted December 16, 2002 Share Posted December 16, 2002 Futher update.........If you're logged in the "my account" box is not showing. If you log out and hit the "my accountlink in the header navigation bar (links to login.php) the "my account" box appears. The links are not active however. You can see at: http://www.bird-e-toys.com/osc/catalog/default.php Quote Link to comment Share on other sites More sharing options...
Ajeh Posted December 16, 2002 Author Share Posted December 16, 2002 See if this doesn't fix everything on the function and the appearance of the My Account on login/create pages due to function issue ... :shock: That includes the mysterious vanishing box trick ... 8) That was related to the function you guys don't have. http://www.oscommerce.com/downloads.php/co...ions,817/type,3 Quote Link to comment Share on other sites More sharing options...
Ajeh Posted December 16, 2002 Author Share Posted December 16, 2002 Change all the NONSSL in the links to SSL where appropriate as I fix the last fix ... geesh ... :roll: Quote Link to comment Share on other sites More sharing options...
Ajeh Posted December 16, 2002 Author Share Posted December 16, 2002 Okay ... rumor has it this v5.2 has all the fixes, ssl, etc. etc. etc. Nothing like modifying a modified version of a modified version that was modified ... let's just say it was changed a lot for my stuff ... Anyway ... this should work now: http://www.oscommerce.com/downloads.php/co...ions,818/type,3 Quote Link to comment Share on other sites More sharing options...
Guest Posted December 16, 2002 Share Posted December 16, 2002 ShaZam!!! We now have boxes disappearing and reappearing in the places they are supposed to....Really kewl!!! Thanks again!! Quote Link to comment Share on other sites More sharing options...
Ajeh Posted December 16, 2002 Author Share Posted December 16, 2002 :onfire: Finally ... dang site I took it from has all the bells and whistles and variable settings for all kinds of other things and wasn't really made to have that yanked out of it. Fix one side ... break the other ... that was a fun one! :roll: At least it's a happy add-on now. :wink: Quote Link to comment Share on other sites More sharing options...
Ajeh Posted December 16, 2002 Author Share Posted December 16, 2002 Kim ... Now you need all my Security Alert fixes ... 8) Quote Link to comment Share on other sites More sharing options...
Guest Posted December 16, 2002 Share Posted December 16, 2002 &*%$%!!!!!!! Geez...it never ends....where are your security fixes??? Quote Link to comment Share on other sites More sharing options...
Ajeh Posted December 16, 2002 Author Share Posted December 16, 2002 Well ... if you do a search on Security ... there should be several of them. The newest stuff was posted yesterday on all the areas. For things like the checkout files ... look at what I posted and what your code is. This will differ from version to version slightly but the same idea is there. Quote Link to comment Share on other sites More sharing options...
Ajeh Posted December 16, 2002 Author Share Posted December 16, 2002 Might peek in here if you have trouble finding it ... 8) http://www.oscommerce.com/forums/viewtopic.php...=29588&start=10 Quote Link to comment Share on other sites More sharing options...
dreamscape Posted December 16, 2002 Share Posted December 16, 2002 Linda, do you have a list of all your security fixes somewhere?? this would aid in the search for them... or a list with links to the topics would be even better... or them bundled into a contribution even better yet... I only ask because from my experience at least, the search engine on this forum is the worst search function I have ever seen... really terrible and really hard to find something unless you know the very EXACT phrase that will give you what you need. Quote The only thing necessary for evil to flourish is for good men to do nothing - Edmund Burke Link to comment Share on other sites More sharing options...
Ajeh Posted December 16, 2002 Author Share Posted December 16, 2002 Well ... two msgs up is the link to them all ... you might peek there ... :shock: Quote Link to comment Share on other sites More sharing options...
dreamscape Posted December 16, 2002 Share Posted December 16, 2002 Well ... two msgs up is the link to them all ... you might peek there ... :shock: oh thats the only one... I was thinking for some reason that there were like about 5 posts each with different security fixes... dunno where my mind is at. Quote The only thing necessary for evil to flourish is for good men to do nothing - Edmund Burke Link to comment Share on other sites More sharing options...
CC Posted December 17, 2002 Share Posted December 17, 2002 Any of youguys noticed than when you login in via the loginbox, it doesnt show the name in the welcome message on the mainpage?? However if you login thru the login.php page, it shows the name just fine. Anyone know why this might be? CC. Quote Link to comment Share on other sites More sharing options...
CC Posted December 17, 2002 Share Posted December 17, 2002 Ok, I take the bit about it working thru login.php back. It doesnt anymore. After installing the 5.2 version, my Welcome message does not show a name no matter which way I login. Pretty much making the Welcome statement a waste of space. Any fixes for this Linda? ta. CC. Quote Link to comment Share on other sites More sharing options...
Ajeh Posted December 17, 2002 Author Share Posted December 17, 2002 What snapshot are you on? Mine has my name after I login either via the box or the login link. Quote Link to comment Share on other sites More sharing options...
CC Posted December 17, 2002 Share Posted December 17, 2002 I am on a version from April time. Strange why this doesnt work now then. CC. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.