Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN SearchDNN Search
Previous
 
Next
New Post
1/16/2009 10:22 AM
 

Hi,

Is there any easy way to see what people have searched for on a website using the DNN search tool built into the framework? Is there a module you can buy which does this?

 

Cheers

 

MARK.

 
New Post
1/16/2009 11:38 AM
 

I'm not aware of a means to review a history/report of what users have searched for using the DNN Search (yet, though I'm sure that will be coming at some point).

You can switch DNN Search for other DNN-based search modules that will enable history/reports.

Open-SearchEngine
Here is one advanced search module (a really nice one) and the required add-on component to enable reporting of user searches:

  Module:  http://www.snowcovered.com/Snowcovered2/Default.aspx?tabid=242&PackageID=5800
 
  Reporting add-on:  http://www.snowcovered.com/snowcovered2/Default.aspx?tabid=242&PackageID=6044
 
 
The Open-SearchEngine (OSE) module and its reporting add-on represent a very serious upgrade to the stock DNN search.  Besides page content, the OSE module can index the content of linked documents such as Word docs and PDF files.  You can set the module to cover more than one site and the site(s) do NOT have to be DNN-based.  This can be a real boost for admins of multiple, related websites.  Further, each site can be configured to be indexed using a separate set of security credentials (so your DNN site could be configured to index secure pages on a separate SharePoint intranet site, for instance).  In short, the module rocks.

You can easily add the OSE search as a skin object (simply swap it your skin code with the existing DNN Search skin object).  Results are reported within DNN and are configurable.  The module itself makes no changes to the core so you can easily swap back to DNN Search or some other search if desired.  There are more notable features -- see the links above for details.


Free DNN Search Options
So, as usual, the obvious free option is Google site search.  Use it in combination with a free "Google Webmaster Tools" account in order to get user search reports for your custom site search (note: this is different than Google Analytics reports that tell you what terms users used to GET to your site but not what terms they search USING your local site search). 

There are pros and cons to using an external search engine for a DNN site.  If you want to play with it, though, I recommend trying the free Google AJAX custom site search with in-page results (i.e., the results show up within your DNN page instead of in a new page).  Creating your own custom site search allows you a good bit of flexibility in what site(s) to search, what types of content to include/exclude and allows you to influence search results by tweaking things on the backend.  I like it and use it so I blogged about it:  you can see a working demo, get example code for adding to your DNN skin and read brief explanations of the search options here:  http://googleAJAXsearch.com

Good luck!
-mamlin

 


esmamlin atxgeek.me
 
New Post
1/16/2009 11:07 PM
 

Login as Host or Superuser and go to Host/SQL.  Copy the following SQL code from SQL Code Section 1 into the SQL screen and then click Execute (leave Run as Script unchecked).  There should be no error message from this step.  Copy and execute SQL Code Section 2.  There should be no error message from this operation.


SQL Code Section 1:

if exists (select * from {databaseOwner}sysobjects where id = object_id(N'{databaseOwner}{objectQualifier}GetSiteLog88') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure {databaseOwner}{objectQualifier}GetSiteLog88


SQL Code Section 2:

create procedure {databaseOwner}{objectQualifier}GetSiteLog88

@PortalId int,
@PortalAlias nvarchar(50),
@StartDate datetime,
@EndDate datetime

as

SELECT     sl.DateTime, --Portals.PortalName,
                u.Username, sl.UserHostAddress,
                sl.Referrer, SUBSTRING(sl.Url, PATINDEX('%Search=%', sl.Url),
                      LEN(RTRIM(sl.Url)) - PATINDEX('%Search=%', sl.Url)+1) AS SearchString
FROM         {objectQualifier}SiteLog sl INNER JOIN
                     {objectQualifier}Portals p ON sl.PortalId = p.PortalID LEFT JOIN
                     {objectQualifier}Users u ON sl.UserId = u.UserID
WHERE    
sl.PortalId = @PortalId
and sl.DateTime between @StartDate and @EndDate
and (sl.Url LIKE '%search=%')
ORDER BY sl.DateTime DESC

 

 

The following procedure will register the newly created stored procedure from step 1 as a new DNN Site Log Report.

    * Go to Host/Lists
    * Select Site Log Reports
    * Click Add Entry
    * Enter Entry Text as "Search History"
    * Enter Entry Value as "88"
    * Click Save

At this point the DNN Search Report has been installed and is ready to use.  To view the search history for a given portal:

    * Login as admin or host
    * Go to Admin/Site Log

On the Site Log page, if you see the following message:
    Your Hosting Provider Has Disabled the Site Log History Feature For Your Portal.

You must first enable the Site Log History for this portal.

    * Login as host
    * Go to Admin/Site Settings
    * Expand Advanced Settings section
    * Expand Host Settings section
    * In Site Log History (Days), enter a number (60 for example)
    * Click Update

Go back to Admin/Site Log and you should see the following message:
    Your Hosting Provider Has Limited Your Portal To 60 Days Of Site Log History.

    * In the Report Type dropdown box, select Search Report
    * Select the Start and End dates
    * Click Display

You should now be viewing the history of searches during the selected period.  If you've just enabled Site Log History, you can expect the history to be blank.

 

 
New Post
1/17/2009 1:20 AM
 

eck two-
Great use of SiteLog all the way around (it's already there and you get a useful report without changes to core code/reports).  DNN Search still needs its own search history log IMO but this is a good stop-gap measure for short-term reporting.  Thanks for sharing!

-mamlin


esmamlin atxgeek.me
 
New Post
1/20/2009 3:52 AM
 

Hi Eck Two, Thanks for the input. This looks good.

 

I have carried out all steps and activited my site log and set to 7 days but when I go into site log under Admin, I get :

 

Your Hosting Provider Has Disabled the Site Log Viewer Feature For Your Portal. The Logs can be viewed offline and are available in the \Logs\ subfolder of your Portal's Home Directory.

Is there another step I need or could this just be the website is still caching an old value before I entered the 7 for days history?

 

Thanks in advance

 

Regards

 

MARK.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN SearchDNN Search


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out