View Single Post
  #76  
Old 08-02-2004, 02:27 AM
Gamingforce's Avatar
Gamingforce Gamingforce is offline
 
Join Date: Oct 2001
Location: New York City
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a direct paste from my board:

Closely following the tracks of the ChocoJournal 2.70 released a couple of days ago, ChocoJournal's been updated to version 2.75 with a major feature update! I've realized that other than the 10 Latest Entries listing on the main page, it's hard for less known members to get journal recognition. I was browsing through old entries and noticed that there are a lot of great journals that get little traffic. So I thought, what can I do to allow people to discover new journals? I came up with a bunch of ideas and put it under a new feature called ChocoJournal Discovery!

Changes From Version 2.70 (2.70 -> 2.75)

[ New Feature ]
ChocoJournal Discovery is a collection of (currently) 3 tools that allow you to discover new journals. It can be accessed by the graphic on the main Journal page.



Discover By Keywords is a natural language search engine that searches through tens of thousands of journal entries and then ranks the results in real time by relevancy scores. Because it is natural language and not exact phrase matching, you can type stuff like "I love going to to the beach in the summer." and it will bring journals that most match that sentence. Explaining how it works exactly is pretty complex, but the algorithm that matches your query works pretty well. How do I know? I did a search for "masturbate" and Jessykin's journal appears as the first result with her relevancy score of 32(much higher than second place which has 6) . Use this to find new journals by typing in stuff of similar interest. Maybe you'll find a few new journals and make a few new buddies!



The similar music interests feature is much simpler in that it looks only in the stuff entered into the "Now Playing" section to find people who like the bands / type of music you do. It's not going to solve world peace, but having one thing in common is better than having nothing in common. The search engine automatically strips out "the" out of any band name and does exact phrase partial matching. Type use into the engine will match stuff like Muse and Fuse. Journals that have the highest number of entries that match your query will be listed on top.



The Active Journals feature lists the 20 most active journals. Active being, the amount of comments a journal has received in the past 24 hours. It's amazing from a technical look because it gets the entire list with just one query to the database server. If you know any SQL, here's the query that I'm using to get this information:

Code:
SELECT journal.userid,user.username,COUNT(journaldiscussion.commentid) AS count FROM journal LEFT JOIN journaldiscussion USING (entryid) LEFT JOIN user ON (journal.userid=user.userid) WHERE journaldiscussion.dateline > (UNIX_TIMESTAMP() - (86400 * $dayrange)) GROUP BY journal.userid ORDER BY count DESC LIMIT 20
It's amazing how flexible database servers are, but most of you are probably falling asleep by all this technical garbage. The entire goal of this new feature is to help people find new journals and ultimately, new buddies. I think the keyword feature is more real than something like Match.com because it looks through content that you've written about yourself, not some static profile that you decide to come up with on any given day. Let me know if there are any other discovery methods I can add to the discover page or if there is any way I can optimise these results.

[ Feature Update ]
The comment and entry search engines now link directly to single posts rather than the entire page.

[ Bug Fix ]
Fixed a bug in the comment search engine that resulted in occasional duplicate search results.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01267 seconds
  • Memory Usage 1,779KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete