close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Username Show

Thread began 4/12/2012 3:15 pm by Magega49 | Last modified 4/24/2012 9:55 am by johna1964 | 1237 views | 11 replies |

Magega49

Username Show

Hello,

I m trying to add user name to show after user are login but I don see in my Binnding panel the user fisrtname.. Only see user ID?

Sign in to reply to this post

Jason ByrnesWebAssist

edit the Authenticate user server behavior on the login page.

on the session variables tab, click the plus button and select the User Name column, this will create a session binding that contains the user name.

Sign in to reply to this post

Magega49

Show First name

I did that and now I can see the userfirsName on the binning panel but when i Place it on the web page it don't show....

Sign in to reply to this post

Jason ByrnesWebAssist

add the following code to the page you added the binding to at line 1:

php:
<?php @session_start(); ?>
Sign in to reply to this post

Magega49

Show First name

Great... Thank you I will try that...

Sign in to reply to this post

Magega49

Welcome name

Hello,

I try to add the php code you gave me but for some reason it wont show username...

Can you please try to help me on that?

Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of the login page and a copy of the page you are trying to show the user name on

Sign in to reply to this post

Magega49

Email send to:

To what email address should I send it to?

Sign in to reply to this post

Jason ByrnesWebAssist

compress them into a zip archive and attach them to your post here.

Sign in to reply to this post

johna1964

hi,

I applied this to the template. It's working on all pages except the order history and order details pages.

I had to add the code that was added to the template

<?php require_once( "../webassist/security_assist/helper_php.php" ); ?>

to line 1 on the pages with add to cart buttons. The regular php pages were fine.

When I added it to the order history and order details pages the following errors occurred:

Warning: require_once(../webassist/security_assist/helper_php.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\testsite_1\customer_order_history.php on line 1

Fatal error: require_once() [function.require]: Failed opening required '../webassist/security_assist/helper_php.php' (include_path='.;C:\php\pear') in C:\wamp\www\testsite_1\customer_order_history.php on line 1

Also tried just the <?php @session_start(); ?> to line 1 on both pages.

The template structure is viewable, but where the show region is there is an error that I cannot read because it is in a column... but it has something to do with error and line 422.

Files are attached.

Thanks for guidance.

johna1964

Attached Files
Files.zip
Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...