The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBFavorites Details »» | |||||||||||||||||||||||||||||||||||||||
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
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
Screenshots
Supporters / CoAuthors Show Your Support
|
Comments |
#52
|
|||
|
|||
Try installing it again.
|
#53
|
|||
|
|||
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. |
#54
|
|||
|
|||
Awesome!! Thanks!
|
#55
|
|||
|
|||
Thanks for this mod - very cool! :up:
Quote:
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 |
#56
|
|||
|
|||
Yeah... I would still like to see the manual coding for the navbar dropdown menu as well.
|
#57
|
|||
|
|||
The manual instructions are:
TEMPLATE: navbar FIND: Code:
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> 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> |
#58
|
|||
|
|||
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 |
#59
|
|||
|
|||
Quote:
|
#60
|
|||
|
|||
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&entry_type=post&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&entry_type=post&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> |
#61
|
|||
|
|||
cool... but no point to it
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|