I want to add a most visited articles please Help!!!

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/7/2011 12:22:14 PM
Gravatar
Total Posts 47
Share our knowledge,Take world in our hands.

I want to add a most visited articles module. Please Help!!!

Hi Joe;

I want to create a module that displays most visited items of blogs in our site.(That is effective for news sites)

Is that possible to create it without change in default blog source code and database tables?

Please help me to start a best way to do this.

Thanks!

9/7/2011 1:41:46 PM
Gravatar
Total Posts 18439

Re: I want to add a most visited articles please Help!!!

We don't capture a count of blog post views in the database so this is not currently possible. The only thing we currently have for tracking site traffic is google analytics.

Best,

Joe

9/7/2011 1:58:12 PM
Gravatar
Total Posts 47
Share our knowledge,Take world in our hands.

Re: I want to add a most visited articles please Help!!!

Hi Joe, Thank a lot for quickly answer.

How can i use Google analytics? Is that possible?

I can not find any document for this.

Best

9/7/2011 2:49:14 PM
Gravatar
Total Posts 1196
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: I want to add a most visited articles please Help!!!

Documentation here.

9/8/2011 1:34:13 AM
Gravatar
Total Posts 47
Share our knowledge,Take world in our hands.

Re: I want to add a most visited articles please Help!!!

Hi Jamie!

Thanks for help.

I want a document that I can use it to capture page tracking.

Best

9/13/2011 7:12:22 AM
Gravatar
Total Posts 47
Share our knowledge,Take world in our hands.

Re: I want to add a most visited articles please Help!!!

Hi Joe!!
I told  you about most visited blog item list. That you said now not visit capture for blog items. But now I want to add feature to view list of most commented items in blog.
For this intention I check the database tables and I see that you define a field called CommentCount. Now we can use  FeedManager module to show list of most commented blog items. for this we could add a new RSS Link(icon) in blognav. I changed below line in your  mp_Blog_Select  SP in database. And this work nice that most commented items come in top in RSS page.

ORDER BY
               b.StartDate DESC
to
ORDER BY
               b.CommentCount DESC

By this easy solution we must only add 3 methods in UI, Business and Data layer  and add another Stored Procedure in database.
Now we can show latest news list; and, by adding this changes we can add most commented news; and, if add a field to count blog visits we can have most visited list feature that show in feedManager module.
Is this possible to add this in your code?
Thanks a lot!
best

9/13/2011 7:28:11 AM
Gravatar
Total Posts 18439

Re: I want to add a most visited articles please Help!!!

Sorry but no I'm not going to make that change at this time. We have it on the road map to make a new and better comment system, once that is done I will consider adding some other sort options.

 

9/13/2011 8:25:17 AM
Gravatar
Total Posts 550

Re: I want to add a most visited articles please Help!!!

Hi Joe,

I think Sadegh say about adding an extra RSS link to Blog module to export commented items for consume in Feed Manager module. Is it this improvement on the road map of Blog module?

Best,

Asad

9/13/2011 8:28:56 AM
Gravatar
Total Posts 18439

Re: I want to add a most visited articles please Help!!!

yes, features like this will be coming later after the new comment system.

9/13/2011 10:37:28 AM
Gravatar
Total Posts 47
Share our knowledge,Take world in our hands.

Re: I want to add a most visited articles please Help!!!

Thanks very much Joe and Asad!!

I hope these changes done as soon.

best

You must sign in to post in the forums. This thread is closed to new posts.