Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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

Posted

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!

Posted

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...

The only thing necessary for evil to flourish is for good men to do nothing

- Edmund Burke

Posted
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:

Posted

Well...........that got the login box working but the "my account" box doesn't show when logged in.....:-(

Posted

Change all the NONSSL in the links to SSL where appropriate as I fix the last fix ... geesh ... :roll:

Posted

ShaZam!!!

 

We now have boxes disappearing and reappearing in the places they are supposed to....Really kewl!!! Thanks again!!

Posted

: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:

Posted

&*%$%!!!!!!!

 

Geez...it never ends....where are your security fixes???

Posted

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.

Posted

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.

The only thing necessary for evil to flourish is for good men to do nothing

- Edmund Burke

Posted
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.

The only thing necessary for evil to flourish is for good men to do nothing

- Edmund Burke

Posted

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.

Posted

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.

Posted

What snapshot are you on?

 

Mine has my name after I login either via the box or the login link.

Posted

I am on a version from April time.

 

Strange why this doesnt work now then.

 

CC.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...