Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 04-04-2014, 04:14 PM
DreadsUK's Avatar
DreadsUK DreadsUK is offline
 
Join Date: Jan 2014
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Trending threads

Does anyone know of a treading threads mod where users that have been away for a while can see the most popular threads they've missed?
Reply With Quote
  #2  
Old 04-05-2014, 10:53 AM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

None that I know of. You could go about it by using custom search parameters already built into vB.

The url below will give you a list of all threads with posts since the users last visit sorted by the number of replies to those threads.

Code:
http://www.YOURSITENAME.com/forum/search.php?do=process&searchdate=lastvisit&beforeafter=after&sortby=replycount&order=descending&showposts=0&childforums=1

Use the search parameters below to customize it how you'd like. You may find something that'll give you exactly what you want.


The base URL will always be:
Code:
http://www.YOURSITENAME.com/forum/search.php?do=process
When you add a search parameter to the base URL it will be formatted like this:
Code:
&variable_name=value

Search field: Search by Key Word

Variable name: titleonly
Values:
0 = Search Entire Posts
1 = Search Titles Only

Search field: Search by User Name

Variable name: searchuser
Values:
Enter a username

Variable name: starteronly
Values:
0 = Find Posts by User
1 = Find Threads Started by User

Variable name: exactname
Values:
0 = Partial name
1 = Exact name

Search field: Find Threads with

Variable name: replyless
Values:
0 = At Least
1 = At Most

Variable name: replylimit
Values:
Any integer values

Search field: Find Posts from

Variable name: searchdate
Values:
0 = Any Date
lastvisit = Your Last Visit
1 = Yesterday
7 = A Week Ago
14 = 2 Weeks Ago
30 = A Month Ago
90 = 3 Months Ago
180 = 6 Months Ago
365 = A Year Ago

Variable name: beforeafter
Values:
after = and Newer
before = and Older

Search field: Sort Results by

Variable name: sortby
Values:
rank = Relevancy
title = Title
replycount = Number of Replies
views = Number of Views
threadstart = Thread Start Date
lastpost = Last Posting Date
postusername = User Name
forum = Forum

Variable name: order
Values:
descending = in Descending Order
ascending = in Ascending Order

Search field: Show Results as

Variable name: showposts
Values:
0 = Show Results as Threads
1 = Show Results as Posts

Search field: Search in Forum(s)

Variable name: forumchoice[]
Values:
Do not include this variable in the URL to search all forums. If you want to search specific forums then you need to add an instance for each forumid. For example:
Code:
&forumchoice[]=X&forumchoice[]=Y&forumchoice[]=Z
Where X, Y, and Z are the forumids of the forums in which you want to search.

Variable name: childforums
Values:
0 = Do not search in child forums
1 = Also search in child forums
Reply With Quote
Благодарность от:
ozzy47
  #3  
Old 04-05-2014, 03:44 PM
DreadsUK's Avatar
DreadsUK DreadsUK is offline
 
Join Date: Jan 2014
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i already have the 'unread thread since last visit' enabled

specifically requesting 'trending' which is very different. I did try looking through the search options but nothing stuck out.

Thanks tho mate

Anyone know of any 'trending' mods?
Reply With Quote
  #4  
Old 04-05-2014, 10:56 PM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Like I said I'm pretty sure there aren't currently any "trending" mods for vB at this time.

The algorithms needed to create one specifically for forum threads would need to be pretty intricate to be worth anything. You'd have to consider many factors, like threads with tons of posts that are from just a couple individuals should not be weighted as high as a thread with less posts but more individuals interacting. Someone would have to arbitrarily make all these weighting decisions and I'm not sure it would be worth much.

Most of what is referred to as "trending" on the internet currently is in respect to popularity/sharing on social networks, which stock vB4 is severely lacking in, but can be added without to much work.

I personally do this by using AddThis on vB forums. This can be done this way:

1) Install AddThis social sharing buttons in each thread. Do this by editing the "facebook_likebutton" template.

2) Then using the AddThis trending script (https://www.addthis.com/get/trending) I create a custom "Trending" page and "Trending" widget on vB.

The limitation with something like this is it only works if your users actually click the social sharing buttons. It works well for me because I use lots of custom information pages on my sites which get shared a lot, but users don't share threads nearly as often.

...but at least it's another idea.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:47 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03726 seconds
  • Memory Usage 2,195KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (1)post_thanks_box_bit
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete