vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   End-User Options - vBFavorites (https://vborg.vbsupport.ru/showthread.php?t=132401)

akanevsky 11-24-2006 10:00 PM

vBFavorites
 
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

akanevsky 11-25-2006 12:06 AM

#######################

Translations

German (By W!cKeD)

#######################

TheBlackPoet 11-25-2006 12:32 AM

I'm installing RIGHT NOW!! i loved this when i had the old version.. but it didnt migrate with me... now.... i got it again!!... thanks..

efil 11-25-2006 03:02 AM

Hi,
Thank you , i use this mod and it is very useful.

What shell i do for upgrade ?

Do i need to erase all the Template Changes from the old version?

Thanks.

Shazz 11-25-2006 03:19 AM

Screen shots look nice
Im not using it but looks very cool :)

yahoooh 11-25-2006 03:41 AM

it will add at least 2 query through whole site and another more query in cp

and it is not new feature , because user can add thread by subscribe and by subscribe area can ake folder for favorite

only thing is new is add the reply as favorite and this is should be a feature in subscribe ervice that already in vbulletin

yoyoyoyo 11-25-2006 04:00 AM

this works great in 3.5.5

Veer 11-25-2006 06:00 AM

Very Nice Hack, Installed.

But my User CP In Not Working...
When Open: http://www.site.com/usercp.php

Getting Database Error:

Quote:

Database error in vBulletin 3.6.0:

Invalid SQL:

SELECT *
FROM community_favorites
WHERE userid = '1'
AND entry_type = 'user'
ORDER BY favorites.entry_title;

MySQL Error : Unknown column 'favorites.entry_title' in 'order clause'
Error Number : 1054
Date : Saturday, November 25th 2006 @ 02:55:51 AM
Script : http://www.site.com/usercp.php
Referrer : http://www.site.com/
IP Address :
Username :
Classname : vb_database
What to do now? :surprised:


=====================

2nd thing..

I have added a thread to favorite, after that i check it in Navbar Favorites Menu.. look this screenshot:
Attachment 56548
Fav Link also not working.....

=====================

When i disabled the hack, Database error is Stop and User CP Working Fine.

gbhedges 11-25-2006 08:03 AM

Installed! Excellent Hack

bang 11-25-2006 08:12 AM

very very nice indeed!

is there a way to bypass this page on addition of a new favorite?


All times are GMT. The time now is 10:00 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.01144 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)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