Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 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.8.x Rating:
Released: 06-01-2009 Last Update: 06-02-2009 Installs: 320
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

Download Now

File Type: zip vBFavorites_2.1.1_by.Psionic.Vision.zip (12.2 KB, 1508 views)

Screenshots

File Type: jpg screenshot01.jpg (80.1 KB, 0 views)
File Type: jpg screenshot02.jpg (33.1 KB, 0 views)
File Type: png screenshot03.png (33.3 KB, 0 views)
File Type: jpg screenshot04.jpg (100.5 KB, 0 views)
File Type: png screenshot05.png (35.5 KB, 0 views)
File Type: jpg screenshot06.jpg (51.6 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
Kaelon, Ov3rrun

Comments
  #52  
Old 06-27-2009, 03:22 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try installing it again.
Reply With Quote
  #53  
Old 06-27-2009, 03:53 PM
ShackMaster ShackMaster is offline
 
Join Date: Apr 2006
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have reinstalled and at least there are no database errors thus far.

I am seeing Add To Favorite Threads in Thread Tools and Add To Favorite Posts at the top right of each posted message, but there is no drop down menu in the navbar. I do have a very customized navbar, so that may be the issue. Can you give me the code for the navbar?

I think that is all I am missing.
Reply With Quote
  #54  
Old 06-27-2009, 03:57 PM
deadlySniper deadlySniper is offline
 
Join Date: Dec 2008
Location: New York
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome!! Thanks!
Reply With Quote
  #55  
Old 06-29-2009, 04:14 AM
guvner guvner is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this mod - very cool! :up:

Quote:
Originally Posted by ShackMaster View Post
Add To Favorite Posts at the top right of each posted message
Add thread and add user are there and so is the drop down box in the navbar.

The "add post to favorites" is all that's missing for me, due to modded postbit template.

Any chance of seeing the code to add this manually please?

Mike
Reply With Quote
  #56  
Old 06-29-2009, 12:59 PM
ShackMaster ShackMaster is offline
 
Join Date: Apr 2006
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah... I would still like to see the manual coding for the navbar dropdown menu as well.
Reply With Quote
  #57  
Old 06-29-2009, 02:08 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The manual instructions are:

TEMPLATE: navbar

FIND:
Code:
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
ADD UNDERNEATH:
Code:
<td class="vbmenu_control" id="vbfavorites"><a href="usercp.php$session[sessionurl_q]">$vbphrase[vbfavorites_favorites]</a> <script type="text/javascript"> vbmenu_register("vbfavorites"); </script> </td>
Reply With Quote
  #58  
Old 06-29-2009, 06:24 PM
guvner guvner is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psionic Vision View Post
The manual instructions are:

TEMPLATE: navbar <snip>
Thanks, but as mentioned just above, I'm also looking for the postbit edits if possible?

It shows up in my stock postbit, but not in my postbit_legacy - I've looked through the plugin code but I'm no coder and can't figure it out.

Perhaps I'm missing a hook in my legacy template - could you tell me which one is used please? - or let me know which string/link I could use for " - Add Post To Favorites " to appear next to the checkbox for inline mod as it does in my legacy template?

Also - once I've figured this out, I need to make the text stand out a little more as it's little too faint and not easily seen - which CSS tag does "- Add Post To Favorites' use (smallfont maybe?) and in which template would I change that?

Many thanks,
Mike
Reply With Quote
  #59  
Old 06-29-2009, 07:27 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by guvner View Post
Thanks, but as mentioned just above, I'm also looking for the postbit edits if possible?

It shows up in my stock postbit, but not in my postbit_legacy - I've looked through the plugin code but I'm no coder and can't figure it out.

Perhaps I'm missing a hook in my legacy template - could you tell me which one is used please? - or let me know which string/link I could use for "- Add Post To Favorites " to appear next to the checkbox for inline mod as it does in my legacy template?

Thanks,
Mike
The stuff that's in vbfavorites_postbit template.
Reply With Quote
  #60  
Old 06-29-2009, 08:50 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made some changes to the postbit, using images instead of text. The original text is now used in the image ALT tag and I have images that are slightly different depending on if it's an add or a remove of the favorite.

The original images were free on the web and I modified them to suit my own website, so change them as you require.

Edit Template: vbfavorites_postbit

Delete everything in it, replace it with:

Code:
<if condition="$show['member']"> - 
    <if condition="$show['vbfavorites_post_in_favorites']">
        <a href="vbfavorites.php?$session[sessionurl]do=delete&amp;entry_type=post&amp;entry_id=$post[postid]"><phrase 1="$vbphrase[post]"><img class="inlineimg" src="$stylevar[imgdir_misc]/favorite_post_remove.png" alt="$vbphrase[vbfavorites_remove_x_from_favorites]" /></phrase></a>
    <else />
        <a href="vbfavorites.php?$session[sessionurl]do=add&amp;entry_type=post&amp;entry_id=$post[postid]"><phrase 1="$vbphrase[post]"><img class="inlineimg" src="$stylevar[imgdir_misc]/favorite_post_add.png" alt="$vbphrase[vbfavorites_add_x_to_favorites]" /></phrase></a>
    </if>
</if>
Place the attached images in your images\misc folder.
Reply With Quote
  #61  
Old 06-30-2009, 01:23 AM
JointRolla420 JointRolla420 is offline
 
Join Date: Jun 2009
Location: Canada
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool... but no point to it
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 04:37 PM.


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.05079 seconds
  • Memory Usage 2,358KB
  • Queries Executed 27 (?)
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
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete