Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBFavorites Details »»
vBFavorites
Version: 2.1.1, by akanevsky akanevsky is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Category: End-User Options - Version: 3.6.x Rating:
Released: 11-24-2006 Last Update: 06-02-2009 Installs: 178
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*================================================= =====================*\
|| vBFavorites
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 3.5.x - 3.8.x
|| Released : Jun 03, 2009
||
|| Time required to install: ~30 seconds
|| Difficulty: easy
\*================================================ ======================*/

DESCRIPTION

This modification gives your users an opportunity to create their own personalized menus of favorite threads, posts and users within your bulletin board.

STATISTICS

File Uploads: 1
Products to Install: 1


FEATURES
  • Zero file or template edits.
  • Favorite Threads, Posts & Users.
  • Complete list of favorites is listed in the user cp.
  • Last {x} favorites are listed in a navbar dropdown that is available from every page, where {x} is a number configurable via admin cp.
  • Users can create their own titles for their favorite items.

VERSION HISTORY

2.1.1
[+] Made it so that the redirect screens no longer show up, for faster redirection.
[F] Fixed a bug which made favorites entries non-editable.
[F] Fixed a bug which made prevented anything from showing in favorites dropdown on standard error screens.
[F] Fixed a text wrapping bug in postbit_legacy.

2.1.0
[+] Eliminated all file and template edits.
[+] The hack is now compatible with vBulletin 3.5.x - 3.8.x.

2.0.2
[F] Fixed a bug which made it impossible for multiple users to add the same favorites item.

2.0.1
[F] Corrected a minor template bug, which caused invalid links in navbar dropdown.

2.0.0
[+] The modification has been rewritten from scratch: the code has been optimized, and is now compatible with both vBulletin 3.5 and 3.6.
[+] Implemented "Smart Links": When an item is in one's favorites, the link "Add Item to Favorites" is replaced with "Remove Item from Favorites". This is achieved without any extra queries.
[+] Templates have been redesigned; they are now more stylish and fully compatible with vBulletin CSS Layout.
[+] Some templates have been removed, others have been added.
[+] Implemented the "Who's Online" information bit for users located at vbfavorites.php.
[+] User CP listings are now collapsible.

1.0.3
[+] It is now possible to enable or disable either of the three parts of the hack via vbulletin options.

1.0.2
[F] Corrected a minor sql problem.
[F] Corrected a minor template bug.

1.0.1
[+] Less file edits; more plugins.
[F] Corrected a couple of minor sql problems and a minor readme mistake.

1.0.0
Initial Release

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 12-20-2006, 08:49 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by flanker View Post
This looks very nice. Got a question. If the user has a long list of favorites, will it break it into multiple pages (say 20 links per page)? If not, is it possible to add that functionality? Thanks
It won't break; feature is possible; but one should not have that many favorites, since those would not fit under the definition of favorites anymore.
Reply With Quote
  #33  
Old 01-06-2007, 06:52 PM
soulface's Avatar
soulface soulface is offline
 
Join Date: Sep 2005
Location: Dhaka, BD
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

another gr8 hack of Anthony. I want to install it but i just don't like to edit vb files. for test installed on my test forum. i just ignored those 3 new codes. i know its not the correct way. :S but so far its working fine without any problem. so im just curious to know that, what those 3 new codes actually do ? and is it possible to add them in a hook ?
Reply With Quote
  #34  
Old 01-06-2007, 09:43 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Even on vBulletin 3.6, file edits, if any, are just as important for the correct functioning of a hack as file uploads and template edits. That is true for any hack. This particular hack (vB Favorites) will function almost correctly without its file edits, but: over time, your database will become noticeable larger (and slower) than it could have become if you had done these file edits. This is because these particular file edits ensure that any junk associated with this hack is removed from the database as soon as possible.

If there was a way to make those file edits into plugins, I would certainly do so and not specify any file edits. Unfortunately, however, it is not possible to create a plugin for everything.

Whether or not to do the file edits - up to you. But if you have a large forum, or you think it may become a large forum, then I strongly suggest that you make those edits.

EDIT:

93 posts per day is definitely a large forum. File edits strongly suggested.
Reply With Quote
  #35  
Old 01-07-2007, 05:44 AM
soulface's Avatar
soulface soulface is offline
 
Join Date: Sep 2005
Location: Dhaka, BD
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psionic Vision View Post
Even on vBulletin 3.6, file edits, if any, are just as important for the correct functioning of a hack as file uploads and template edits. That is true for any hack. This particular hack (vB Favorites) will function almost correctly without its file edits, but: over time, your database will become noticeable larger (and slower) than it could have become if you had done these file edits. This is because these particular file edits ensure that any junk associated with this hack is removed from the database as soon as possible.

If there was a way to make those file edits into plugins, I would certainly do so and not specify any file edits. Unfortunately, however, it is not possible to create a plugin for everything.

Whether or not to do the file edits - up to you. But if you have a large forum, or you think it may become a large forum, then I strongly suggest that you make those edits.

EDIT:

93 posts per day is definitely a large forum. File edits strongly suggested.
Thx Anthony for the explanation. i'll install it on my live forum. btw 93 posts/day is on my forum ur talking about ?
Reply With Quote
  #36  
Old 01-07-2007, 03:18 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by soulface View Post
Thx Anthony for the explanation. i'll install it on my live forum. btw 93 posts/day is on my forum ur taling about ?
The one you have a link to in your profile.
Reply With Quote
  #37  
Old 02-01-2007, 04:46 PM
rrr rrr is offline
 
Join Date: Oct 2004
Location: California
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod...thanks for this!

I'd like to add a way to encourage members to add threads to their favorites in the USERCP.

So I've moved the "Favorites" boxes to the top and what I'd like to do is add a conditional that shows up if a user doesn't have any favorites yet.

If a user doesn't have any favorites, I'd like to put some text like "I see you haven't marked any threads as your favorites yet! Click here to read more about how to save your favorite threads for later reading" (with a link to a page on my site that I've created explaining how to use the favorites.

Can you help me with the conditional I'd use to show that text if a user doesn't have any favorites created yet?
Reply With Quote
  #38  
Old 02-01-2007, 05:00 PM
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow really nice gona install it now

and double wow at the torn edge screen shots! How did u do that its awesome?
Reply With Quote
  #39  
Old 02-01-2007, 06:32 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rrr View Post
Great mod...thanks for this!

I'd like to add a way to encourage members to add threads to their favorites in the USERCP.

So I've moved the "Favorites" boxes to the top and what I'd like to do is add a conditional that shows up if a user doesn't have any favorites yet.

If a user doesn't have any favorites, I'd like to put some text like "I see you haven't marked any threads as your favorites yet! Click here to read more about how to save your favorite threads for later reading" (with a link to a page on my site that I've created explaining how to use the favorites.

Can you help me with the conditional I'd use to show that text if a user doesn't have any favorites created yet?
That would be the same conditional as the one around the navbar link, just reverse that.

Quote:
Originally Posted by akulion View Post
wow really nice gona install it now

and double wow at the torn edge screen shots! How did u do that its awesome?
Certain screenshot making software.
Reply With Quote
  #40  
Old 02-02-2007, 12:01 AM
akulion's Avatar
akulion akulion is offline
 
Join Date: Nov 2005
Location: Canada
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any names for it?
or do u wana keep it a secret?
Reply With Quote
  #41  
Old 02-02-2007, 01:00 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by akulion View Post
any names for it?
or do u wana keep it a secret?
www.moodysoft.com
Reply With Quote
Reply


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 02:45 PM.


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.04650 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
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
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete