vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBFavorites v1.0 (https://vborg.vbsupport.ru/showthread.php?t=47124)

Mystis 12-29-2002 10:00 PM

vBFavorites v1.0
 
Alright everyone, here's my first (hopefully of many) released hack, so have mercy :)

This hack adds a category to your index.php page containing the X (customizable) most frequented forums by that particular user. This hack does not apply to guests however, or members who have no (or less than a customizable amount of) posts.

Not much more to it, it's a very simple 2 minute install and it should (although I haven't verified it) work across 2.2.x. A live demo will be available soon at Somethingleet, but for now some screenshots will have to do. Please let me know the url of the forums you install it on, if you do, I like seeing where my work is used :)

Screenshots:
Screenshot of what it looks like to your qualifying user with a sufficient number of posts - [here]
Screenshot of how it appears to a guest - [here]
Screenshot of how it appears to a registered user without a sufficient number of posts - [here]

Minihacks & Customizations:
Exclude a forum from favorites
Make 'Your Favorites' Username's favorites

If you like the hack, make sure and install it!

Mystis 12-30-2002 05:54 AM

Screenshot of what it looks like to your qualifying user with a sufficient number of posts

Mystis 12-30-2002 05:54 AM

Screenshot of how it appears to a guest

Mystis 12-30-2002 05:54 AM

Screenshot of how it appears to a registered user without a sufficient number of posts

Auero 12-30-2002 06:29 AM

nice one Mystis :)

LangTuDaTinh 12-30-2002 08:28 AM

how do u calculate which forums to display in favorite?

Chris M 12-30-2002 08:49 AM

Looks good:)

Satan

NuclioN 12-30-2002 09:07 AM

"most frequented forums by that particular user" ??? It looks as they are displayed random, not in any relation to the postingbehavior of a member.

One-Team 12-30-2002 10:58 AM

very cool hack i like it :cheeky:

Mystis 12-30-2002 02:51 PM

Quote:

Originally posted by NuclioN
"most frequented forums by that particular user" ??? It looks as they are displayed random, not in any relation to the postingbehavior of a member.
No, they display the forums that the user posted most in. In the first screenshot the user posted 6 times in the main forum, 6 times in the secondary forum, and twice in the third-ary and fourth-ary forums. Third-ary is displayed over fouth-ary because it has a higher posting order.

Quote:

Originally posted by LangTuDaTinh
how do u calculate which forums to display in favorite?
A single SQL query, which you can find in line 33 of the installation text file :) It takes the 3 (or whatever number you specify) forums in which the user has made the most posts,


All times are GMT. The time now is 11:00 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01132 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete