close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

User Profile Search

Thread began 7/09/2011 6:01 pm by SCVerano | Last modified 8/10/2011 12:10 pm by Jason Byrnes | 9249 views | 13 replies |

SCVerano

User Profile Search

Is the Dynamic Dropdown is the best suited extension for the User Profile Search ?

How can I do that ? What criteria should I used in this portion ? Thanks ...

Sign in to reply to this post

Jason ByrnesWebAssist

Data Assist would be best suited to creating the profile search page.


the simplest way to configure this is to run the data assist wizard and set it to create only the results and search pages.

Sign in to reply to this post

SCVerano

Hi Jason,

I already created the result page and search page. and it's working properly it filters what is type in the textbox. Thanks :)

Now I want to view the profile of the user that I have search. To post some comments with their walls. How can I do that ?

Thank You =)

Sign in to reply to this post

Jason ByrnesWebAssist

you would need to create a link to the detail page that passes the users ID through a querystring variable, you will get the user ID from the recordset on the apge:

php:
<a href="usersDetails.php?id=<?php echo $recordsetName['UserID']; ?>">user detail</a>




on the detail page, create a recordset that filters the users table on the id quesrystring variable being passed.

this is referred to a master detail page set, see the following for more details:
WScbb6b82af5544594822510a94ae8d65-78b7a.html

Sign in to reply to this post

SCVerano

Hi Jason,

So do you mean that the detail.php you are saying is the profile.php ? (I'm still confused. Can you elaborate well ?)

I already put the code you are saying.

but when I click the link, the information regarding with the profile.php doesn't change my account information is the result.

(but when I looked with the address bar the one i've search is correct: p_profile.php?id=8)

Thanks you for your support :)

Sign in to reply to this post

Jason ByrnesWebAssist

yes, the detail page would be the page that shows a the profile.


how is the recorset on the profile page configured?

It sounds like it is set to filter using the logged in users session variable instead of the id querystring variable that is being passed through the link.

Sign in to reply to this post

SCVerano

You got it Jason,

my profile.php is set to filter using the logged in users session variable. Hmm ? What should I do to fixed this issue ?

I'm so sorry for being a newbie :)

Thanks for your kindness,.

Sign in to reply to this post

Jason ByrnesWebAssist

change it to use the "id" querystyring variable instead of the session variable.

Sign in to reply to this post

SCVerano

Hi Jason,

I don't have any idea how to change it to querystring. This is the first time that I will use the

querystring. Can you teach me how ?

Thanks,

Sign in to reply to this post

Jason ByrnesWebAssist

when you double click the recordset, make sure to change it to Advanced view.

in the variables section, click the edit button for the variable that is using the session and change the run time value to:
$_GET['id']

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