X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Allowing admin to see customers password (https://forum.x-cart.com/showthread.php?t=3268)

jaymon 06-19-2003 12:41 PM

Allowing admin to see customers password
 
Thought I'd post this in case anyone else wanted something similar. Not sure if this is the best way to achieve it, but it definitely works.

Edit your main/register.tpl and look for the parts where the user enters and confirms their password. Below is the change I made.

Quote:

<tr valign=middle>
<td align=right>Password</td>
<td><font class=Star>*</font></td>
<td nowrap>
{if $smarty.get.mode eq "update" and $smarty.get.usertype eq "C"}
<input name=passwd1 size=32 maxlength=32 value="{$userinfo.passwd1}">
{else}
<input type=password name=passwd1 size=32 maxlength=32 value="{$userinfo.passwd1}">
{/if}
{if $reg_error ne "" and $userinfo.passwd1 eq ""}<font class=Star>&lt;&lt;</font>{/if}
</td>
</tr>

<tr valign=middle>
<td align=right>Confirm Password</td>
<td><font class=Star>*</font></td>
<td nowrap>
{if $smarty.get.mode eq "update" and $smarty.get.usertype eq "C"}
<input name=passwd2 size=32 maxlength=32 value="{$userinfo.passwd2}">
{else}
<input type=password name=passwd2 size=32 maxlength=32 value="{$userinfo.passwd2}">
{/if}
{if $reg_error ne "" and $userinfo.passwd2 eq ""}<font class=Star>&lt;&lt;</font>{/if}
</td>
</tr>

Now when the admin looks at a user's detail in the admin screen the passwords are shown in the password fields instead of the usual bullets. When users sign up, they'll see the obfuscated password fields.

If someone's got a cleaner way to do this, I'm all ears. If not, then this works well enough for me.

HTH

shan 06-19-2003 01:43 PM

moved to custom templates :wink:

DataViking 08-09-2003 08:38 PM

Thank you
 
nice 8)
thank you

wild boar 09-24-2003 08:17 PM

thanks! it worked..

Is there a website that has all of the hacks, fixes and mods for x-cart?

If not someone should start up a website called x-cart hacks..

I'd help out on a site like this if several people helped out.. I don't have time to do another website..

something like phpbbhacks.com (which I use when in need of mods)

If anyone wants to go in like a site like this, pm me or something.. It would most likely be non-profit.. Just a site to help out all of the webmasters that use x-cart

If there's already a site like this, what's the url.. I'd be interested in going there

shan 09-25-2003 01:40 AM

Thats pretty much what the custom templates forum here is for

wild boar 09-25-2003 01:43 AM

I understand that.. but something more organized..

It would be nice to go to a site and see all the mods listed and such and just go to it

In the forums you don't know what mods there are without looking at each post

it was just an idea

shan 09-25-2003 02:03 AM

yeh, its just that there are so many versions / mods etc it gets hard.

We tried to only allow cutom mods to go in the custom templates folder and ask for people to always add the version numbers it will work for and write a useful, descriptive title.

DataViking 09-26-2003 01:39 AM

Quote:

Originally Posted by wild boar
thanks! it worked..

Is there a website that has all of the hacks, fixes and mods for x-cart?

If not someone should start up a website called x-cart hacks..

I'd help out on a site like this if several people helped out.. I don't have time to do another website..

something like phpbbhacks.com (which I use when in need of mods)

If anyone wants to go in like a site like this, pm me or something.. It would most likely be non-profit.. Just a site to help out all of the webmasters that use x-cart

If there's already a site like this, what's the url.. I'd be interested in going there


I think is a good idea, I got the name.
But I need your opinion.
WHat would be the best type of site for this;
a portal like nuke, xoops, etc...
or like a forum

V/R
bmaworld

wild boar 09-26-2003 02:06 AM

php nuke sucks.. every site looks the same that uses it.. the 3 colum stage..

I think you should go with a file download database with sql

and sort by author / date / version and categorize it by mod.

I saw you bought the name! Awsome! If you need my help with anything (design related, and ideas) I will help a little bit on my free time.. but only if it's non-profit.. I dont' believe it profiting from other people's mod's..

Also your going to have to get permission to put other people's mods on the site, and probably have a file upload on the page where other's can upload..

ask me if you need anything..

Gibberish 09-26-2003 02:52 PM

Quote:

Originally Posted by wild boar
php nuke sucks.. every site looks the same that uses it.. the 3 colum stage..


X cart is the exact same layout. Header, column on left, mid space, column on right, footer.

wild boar 09-26-2003 02:57 PM

yea, but I used a diff layout..

www.illinoiswinecellar.com/shop/customer (still working on it)

dealsondeals 09-26-2003 04:25 PM

:D Nice Mod, keep up the good work!

DataViking 09-28-2003 04:20 PM

I just implemented the MOD. Very nice Thanks :!:

Redfoxie1 09-28-2003 11:00 PM

Quote:

Originally Posted by wild boar
I understand that.. but something more organized..

It would be nice to go to a site and see all the mods listed and such and just go to it

In the forums you don't know what mods there are without looking at each post

it was just an idea




It seems to be a nice idea,..
(Just like to know: how is the progress)

DataViking 09-29-2003 04:08 AM

Still looking for ideas :idea:

Redfoxie1 09-29-2003 08:46 AM

---------------------------------------------------------
*I guess this should be placed somewhere else
(cause it isn't about the mod)
-----------------


Alright :)
Well i guess there are a lot out here who have ideas, and are willing to help but well.

--
It's nice some people did create sites where mod's are placed,
but one disadvantage, you've to buy them.
-------------

And thereby, i'm not buying products abroad.

BHMedia 10-20-2003 10:19 AM

I have started the ultimate X-CART MOD site. I am pulling together all the "UPGRADES" & "MOD'S" Designed by fellow X-CART Members & Myself. A site that will have all custom scripts ready to go at your disposal! If anyone wants to join me in our venture then please contact me at tom@netacdesigns.com . If we all pitch in, we can have the ultimate x-cart addon site up and running in no time!

B00MER 10-20-2003 12:32 PM

BHMedia, If possible I would love a link to www.cartlab.net, granted most of my MODs and work cost $, I do offer "some" freebies \:D/ let me know. As I'm sure funkydunk would like his to be linked as well, maybe a "professional mods" area? Anyhow, love the idea! 8)

BHMedia 10-20-2003 06:39 PM

Hey was talking it over, and was trying to figure out a setup here for this XCART Mod site. I know everyone likes everything free but if I charge like 10.00 per month OR alot less just to maintain and add a shit load of mods per month do you think people would actually do it? I mean... Free is good but if I am going to put my all into it then I will at least charge to maintain it... FEED BACK PLEASE... GOOD OR BAD... Send to tom@netacdesigns.com


All times are GMT -8. The time now is 01:49 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.