PDA

View Full Version : End-User Options - vBFavorites


akanevsky
06-01-2009, 10:00 PM
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 (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=215197)

akanevsky
06-02-2009, 08:44 PM
~~~~~~~~~~~~~~~~
~~~~~ Translations ~~~~~
~~~~~~~~~~~~~~~~

German (DE) (https://vborg.vbsupport.ru/showpost.php?p=1822484&postcount=11) (By W!cKeD)
Russian (RU) (https://vborg.vbsupport.ru/showpost.php?p=1824965&postcount=38) (By TAIFUN_T)

HMBeaty
06-02-2009, 08:45 PM
Pretty cool PV, might just use this later. Thanks :)

Daniel_HBK
06-02-2009, 09:03 PM
very good hack!

thanks!

pein87
06-02-2009, 09:11 PM
nice will test and install after I do a run to see if its all working right thanks for your hard work mate.

vithorius
06-02-2009, 09:18 PM
Looks very useful!

TimberFloorAu
06-02-2009, 10:32 PM
Excellent.

How can we solve this ?

Add Post To favourites, wraps onto 2 lines?

rob01
06-02-2009, 11:24 PM
is possible to check if both users have each other in their favorite list and

if this is true to display something?

akanevsky
06-03-2009, 12:07 AM
Excellent.

How can we solve this ?

Add Post To favourites, wraps onto 2 lines?

I will check out the problem and get back to you.

is possible to check if both users have each other in their favorite list and

if this is true to display something?

It is possible, but is not presently a feature of this hack. :)

rob01
06-03-2009, 12:33 AM
are you planning in adding it :D or i should start working on it :D


thanks

nice release

W!cKeD
06-03-2009, 02:13 AM
* Thank You *


======================
||٭Translation in German٭||
======================

Version History

v1.0
--● First Translation (Du-Version) [Works with 2.1.1]

Trip
06-03-2009, 02:17 AM
Looks like a great modification.

xug
06-03-2009, 03:01 AM
PV, outstanding job, jet simple, jet sooooooooo welcome, to me, mod of the month!

This is a mod that should become a standard option in vB ;)

Soliloquy
06-03-2009, 04:20 AM
I have a science forum (http://www.sciencechats.com/) with a ton of categories, and have always wished my members could move their favorite categories to the top or keep them together in a list. Please consider that for any future versions :)

dartho
06-03-2009, 08:10 AM
Excellent - had this some time back, but had an issue (can't rememebr what now) after an upgrade.

Thanks!

baghdad4ever
06-03-2009, 09:23 AM
thanks

Strike3ForumsMH
06-03-2009, 10:15 AM
Thanks for updating this. Literally last week I was looking at the old release and planning to run it on my test forum to see if it would work with 3.8x.

I haven't yet installed this, but I did once use your product so I did have one suggestion that I had from the last time I used it:

Allow for an option to display favorite threads/posts/users on a separate page from the user CP (like /forum/favorites.php) I feel like if a user used this hack fully, it can get pretty cluttered in the User CP main page, especially if a forum has another hack that uses that space.

Thanks again for bringing this back. I hope to have some feedback in the future when I do add this to my forum.

akanevsky
06-03-2009, 02:19 PM
Released Version 2.1.1, which fixes the bugs that have been mentioned in 2.1.0.
To upgrade, overwrite the product and the files.

Leo Brazil
06-03-2009, 02:39 PM
Looks a great idea. I'm tagging this for future use for sure.

Quick question: Threads, Posts and users can be added to favorites but how about forums ? This would be great as my board has tons of forums and subforums and my users always ask for a better way to jump to what they use most.

THX

akanevsky
06-03-2009, 03:53 PM
Looks a great idea. I'm tagging this for future use for sure.

Quick question: Threads, Posts and users can be added to favorites but how about forums ? This would be great as my board has tons of forums and subforums and my users always ask for a better way to jump to what they use most.

THX

It's not a feature at this time. Might be implemented in the future. :)

Mark.B
06-03-2009, 05:26 PM
I'm just getting a blank page on submitting the favorite...I realise this is a modified template issue as it works in the default but I wouldn't know where to start looking for what's actually causing that...it doesn't seem to make sense as that part of the mod uses custom templates anyway. I can only assume it's something in header or headinclude as all the templates for this mod are in place ok and unmodified. Uninstalling sadly for now, I'll try again some other time and see if I can figure it out.

akanevsky
06-03-2009, 05:55 PM
The hack has a few auto-modifications for existing templates. It is possible that one of those auto-modifications does not work on your custom skin. However, I have no way of telling unless I see it.

TimberFloorAu
06-03-2009, 11:00 PM
Just bloody brilliant mate, again another superb Hack

Chadi
06-04-2009, 12:06 AM
The navbar menu does not appear in my skin.

Could you please explain how to manually edit the template?

I did already add a favorite thread for testing.

akanevsky
06-04-2009, 12:37 AM
The navbar menu does not appear in my skin.

Could you please explain how to manually edit the template?

I did already add a favorite thread for testing.

Since you are running vBulletin 3.8.x, the best solution for you is:

Find a plugin whose title is 'vBFavorites: Initialize', it is located under 'global_start'. You do that using the plugin manager. Find the following code:

$find_string = compile_template('<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>');

Replace it with the following code:

$find_string = '$template_hook[navbar_buttons_left]';

I think it should work for you unless your style does not have the template hook.

Chadi
06-04-2009, 12:42 AM
Thanks, but unfortunately that did not work.

MacHack
06-04-2009, 02:09 AM
Mine too did not add a link to the navbar.

Curious as to what the link would be so I could add it to the quick links dropdown menu.

Thank you for this hack, I was just asked for something like this, great work!!

MacHack
06-04-2009, 02:23 AM
Mine too did not add a link to the navbar.

Curious as to what the link would be so I could add it to the quick links dropdown menu.

Thank you for this hack, I was just asked for something like this, great work!!


I did the previously mentioned fix and now it is working.

I guess my question I asked is pointless, I was thinking there was another page that displayed the info and you could make choices there that I could add a link to in my site navigation, sorry. Great Hack! It will be put to good use, thanks.

Julie
06-04-2009, 02:29 PM
Awesome product!

I was wondering though if it was possible to add in user permissions to this? I want only my paying members to be able to use this :)

Also a suggestion, on the Add Favorites Entry screen, is it really necessary to have the Entry Type:field? Seeing as the field is disabled (at least on the thread entry type), it will only confuse users, which lowers the usability of the product :)

Thanks!

akanevsky
06-04-2009, 05:17 PM
Thanks, but unfortunately that did not work.

The link that needs to be added to navbar is as follows (for the default style, don't know if it will work on yours):

<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>

DobieGillis?
06-04-2009, 05:25 PM
killed Live Topic. Had to uninstall.

akanevsky
06-04-2009, 07:20 PM
killed Live Topic. Had to uninstall.

How did it kill your topic?

DobieGillis?
06-04-2009, 07:21 PM
How did it kill your topic?

Live Topic, it's another mod.

kmohamed
06-05-2009, 02:10 AM
this mod is great i really luv the idea so much..
there is one problem only
i can't view my users profile
this message occur
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 188115 bytes) in /xx/home/html/vb/member.php(515) : eval()'d code on line 260
i really want this mod to be better to the benefit of everyone..
1- if u can see the user's fav subject and post in his/her profile
2 - if u can add ur fav without transferring to another page for e.g. when u tag a mod or reputation

i will be happy if u get a chance to edit those two things

i am waiting for ur response

thanks for ur hard work

imedic
06-06-2009, 07:25 AM
I have also tried (v good idea of mod) but unfortunately automatic template edit did not work. I have manually inserted Favorite link in navbar as instructed but then it didn't work (clicking will not do a thing)
I then realize maybe I need a bookmark so after first bookmark clicking has shown pull down menu with favorites. :)

Suggestion: when no favorites saved at all (in the beginning) the pull down menu should appear but saying Find your favorite Threads, messages or users here (for example)

The link has 2 triangles next to it (and I suppose it should be only one)

Suggestions/bugs:

- put the manual edit for link insertion in navbar in instructions and on first page too. Apparently in 3.8.2 it is not working automatically
- Favorite link is appearing if you are not logged in (and it should not appear)
- If you have no favorites than navbar link does not show a thing. It can show for example: Add here a favorite thread, post, user ...

I have 3.8.2
Great and useful mod :) Thx

Infopro
06-06-2009, 12:08 PM
Looks a great idea. I'm tagging this for future use for sure.

Quick question: Threads, Posts and users can be added to favorites but how about forums ? This would be great as my board has tons of forums and subforums and my users always ask for a better way to jump to what they use most.

THX


Yep, this would be great I agree.

inciarco
06-06-2009, 03:29 PM
Great Mod Psionic Vision, thank you for Sharing it. :up:

(Nominated for MOTM).

Idea: For Future Updates it'd be nice to be able to Select the Usergroups that can Use this Mod. ;)

Idea 2: It'd also be nice that on UserCP the Favorites could have it's own Page, in case the List of Favorites is too long it wont affect the View of the User Control Panel Page. ;)

A Little Bug (at least for vB37x).

On Template vbfavorites_favpostbit

p=$post[entry_id]#$post[entry_id]

should be

p=$post[entry_id]#post$post[entry_id]

Adding the post after the #

If not then you'll Browse to the Thread and not to the Post.

My Best Regards.

:)

TAIFUN_T
06-07-2009, 07:59 AM
Thanks, Psionic Vision :)
===
Russian version

smirkley
06-09-2009, 10:45 PM
Love this add-on, and installed.

I would like to recommend that the 'view all' link should go to a seperate 'favorites' page instead of user cp, gets kinda cluttered in there lol.

But it works great.

akanevsky
06-10-2009, 12:57 AM
Love this add-on, and installed.

I would like to recommend that the 'view all' link should go to a seperate 'favorites' page instead of user cp, gets kinda cluttered in there lol.

But it works great.

Thank you for the suggestion, it has already been said by someone else and is now being considered for the next release.

Mellymonster
06-10-2009, 04:09 AM
Oh it would be cool if this added the forums for favorites, that is what my members are asking for :D however this is cool, I'm debating on installing it or not...

markblair
06-10-2009, 05:58 AM
Very cool mod. Installed :)

TheInsaneManiac
06-11-2009, 12:46 PM
You are aware you have spelled favorite wrong a few times yes?

Infopro
06-11-2009, 02:43 PM
Since you are running vBulletin 3.8.x, the best solution for you is:

Find a plugin whose title is 'vBFavorites: Initialize', it is located under 'global_start'. You do that using the plugin manager. Find the following code:

$find_string = compile_template('<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>');

Replace it with the following code:

$find_string = '$template_hook[navbar_buttons_left]';

I think it should work for you unless your style does not have the template hook.

Worked perfect to fix link, thanks.

akanevsky
06-11-2009, 06:29 PM
You are aware you have spelled favorite wrong a few times yes?

No, I am not. Please show me where. :)

JacquiiDesigns
06-16-2009, 12:59 AM
Great update! Thanks

Jacquii.

ShackMaster
06-27-2009, 12:48 PM
oops.... Not working on my forum... www.hometheatershack.com/forums vB 3.8.3

Had to uninstall... destroyed my forum with database errors...

Database Errors:
Database error in vBulletin 3.8.3:

Invalid SQL:

SELECT *
FROM favorites
WHERE userid = '1'
AND entry_type = 'thread'
ORDER BY dateline DESC;

MySQL Error : Unknown column 'entry_type' in 'where clause'
Error Number : 1054
Request Date : Saturday, June 27th 2009 @ 09:46:49 AM
Error Date : Saturday, June 27th 2009 @ 09:46:49 AM
Script : http://www.hometheatershack.com/forums/forumdisplay.php?f=31
Referrer : http://www.hometheatershack.com/forums/forum-announcements-news/19589-take-brief-survey-get-300-discount-neptuneeq-room-correction-device.html
IP Address : 99.195.159.204
Username : Sonnie
Classname : vB_Database_MySQLi
MySQL Version : 5.0.67-community

ShackMaster
06-27-2009, 12:55 PM
Yup... got about 100 of these within just the few minutes I had it installed:

Database error in vBulletin 3.8.3:

Invalid SQL:

SELECT *
FROM favorites
WHERE userid = '38972'
AND entry_type = 'thread'
ORDER BY dateline DESC;

MySQL Error : Table 'homethea_forums.favorites' doesn't exist
Error Number : 1146
Request Date : Saturday, June 27th 2009 @ 09:50:20 AM
Error Date : Saturday, June 27th 2009 @ 09:50:20 AM
Script : http://www.hometheatershack.com/forums/search.php?do=process&showposts=0&starteronly=1&exactname=1&searchuser=captainronmn
Referrer : http://www.hometheatershack.com/
IP Address : 76.113.190.226
Username : captainronmn
Classname : vB_Database_MySQLi
MySQL Version :

akanevsky
06-27-2009, 01:36 PM
Do you have another favorites hack installed?

ShackMaster
06-27-2009, 02:11 PM
Nope... not any at all... this was my first.

akanevsky
06-27-2009, 03:22 PM
Try installing it again.

ShackMaster
06-27-2009, 03:53 PM
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.

deadlySniper
06-27-2009, 03:57 PM
Awesome!! Thanks!

guvner
06-29-2009, 04:14 AM
Thanks for this mod - very cool! :up:

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 :)

ShackMaster
06-29-2009, 12:59 PM
Yeah... I would still like to see the manual coding for the navbar dropdown menu as well.

akanevsky
06-29-2009, 02:08 PM
The manual instructions are:

TEMPLATE: navbar

FIND:
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>

ADD UNDERNEATH:
<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>

guvner
06-29-2009, 06:24 PM
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. :o

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 :)

akanevsky
06-29-2009, 07:27 PM
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. :o

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.

Trek
06-29-2009, 08:50 PM
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:


<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.

JointRolla420
06-30-2009, 01:23 AM
cool... but no point to it

Merjawy
06-30-2009, 10:53 AM
Thanks

if you can stop it from adding same entry over and over, it'll be great

if you click to add from the post, it will say its already been added, however, from the top menu it won't say that.. it just keeps on adding the same thread

Installed .. I like it .. Thanks

praveen1980
06-30-2009, 12:40 PM
I'm just getting a blank page on submitting the favorite...i have a custom theme.
please let me know how can i fix this. (can i pm u the site url?)

ITDarasgah
06-30-2009, 09:23 PM
Install....thanks

akanevsky
07-01-2009, 08:54 PM
Please vote for this hack in July 2009 MOTM.
https://vborg.vbsupport.ru/showthread.php?t=217548

JacquiiDesigns
07-01-2009, 10:49 PM
Voted! Thanks again for the share and good luck :)

Jacquii.

guvner
07-02-2009, 08:35 PM
The stuff that's in vbfavorites_postbit template.

Thanks - that did it!

jGas
07-02-2009, 10:47 PM
hi, why should i use vbfavorites instead of "subscribe to this thread"?
i can't understand the difference between them...
thanks

TaMpE
07-03-2009, 11:12 PM
What do I do if I don't see "Favorites" in the NavBar?

Loki12
07-04-2009, 05:39 PM
Very nice mod!

Too bad there is no more place on my navbar :(

WxP
07-06-2009, 06:56 PM
you do not have permission to access this page. This could be due to one of several reasons:

akanevsky
07-06-2009, 08:19 PM
you do not have permission to access this page. This could be due to one of several reasons:

Allow usergroups to use this mod?

nectons
07-10-2009, 01:50 AM
Why you are saying it is for 3.8.x if it is not working on 3.8.3? Please correct it. It is NOT working on Vbulletin 3.8.3 with just installing the product. It needs templates edit and it gives randomly database errors.

uninstalled... sorry.

blogthea
07-27-2009, 02:15 PM
It's working fine on VB 3.8.3 (did some template edits cause of my custom menu but no db errors), thank you for this mod

Julie
07-28-2009, 10:14 AM
Mine worked right out of the box on 3.8.3. :) Still hoping for usergroup permissions, but I can wait :)

Thanks for a great mod!

blogthea
07-28-2009, 10:22 AM
I am trying to build a query to add a thread as favorite to all my users, (Forum rules thread for example). I would be grateful if someone could help me at this

IntellectToday
07-30-2009, 11:51 PM
I am receiving a permissions error - yet I don't see anywhere to change usergroup permission settings for this mod. Help? :)

chick
07-31-2009, 11:59 AM
I am receiving a permissions error - yet I don't see anywhere to change usergroup permission settings for this mod. Help? :)

same here and no nav showing, using 3.8.3

yotsume
08-01-2009, 09:35 AM
I will have to check this out...

Mograd Ensan
08-01-2009, 04:02 PM
Nice ,,

chick
08-02-2009, 02:01 PM
I have it working on one 3.8.3 site but not another ..... so it must be in conflict with another mod that I have one one site and not the other which I will track down.

PGAmerica
08-02-2009, 05:14 PM
This looks like an awesome mod. I have voted for it on MotM. However, I cannot install it until it allows for usergroup permissions and the ability to add forums to the favorites list.

Any idea when these will happen?

IntellectToday
08-03-2009, 09:27 AM
How do I manually alter usergroup permissions?

Please PM. Thanks! :)

chick
08-04-2009, 10:39 AM
How do I manually alter usergroup permissions?

Please PM. Thanks! :)

You can't if you don't see it in usergroup permissions it's in conflict with another mod, I haven't tracked which mod yet.

blogthea
08-04-2009, 07:52 PM
is it possible to show a message if user doesnt have a favorite (post,thread,user) yet?
i have tried to add it myself but i cant get it to work..

in vbfavorites_navmenu template i added a condition to show my message when user doesnt have a favorite (!$show['vbfavorites_fav_lastthreads'] for example), but i cant get the menu to show unless user has something in fav.

ComputerModding
08-08-2009, 01:08 PM
I think the .zip file on the server may be corrupt as I can not un-archive it! I have just tried other mods to download and un-zip and all are fine apart form this one. Is anybody else having the same problems?

akanevsky
08-10-2009, 02:05 PM
I think the .zip file on the server may be corrupt as I can not un-archive it! I have just tried other mods to download and un-zip and all are fine apart form this one. Is anybody else having the same problems?

Please try a different zip program.

Verionia
08-18-2009, 11:13 PM
So easy!

Bansheebob
08-28-2009, 04:44 PM
installed but when i clicked on a thread too add to favorites i got a google error page? also did not add link onto navbar?

terminator2k2
09-01-2009, 09:01 AM
Installed, manually added the hook and the dropdown menu still wasn there
Any solution on that? all the other functions are working fine

just.b.jealous
09-03-2009, 06:37 PM
Anyone know the code needed to manually add a link to "Add this thread" to favorites?- I don't have this option in my "Thread Tools" menu. I think it used to be there a few mod installs back but it just went MIA on me.. any help offered would be great.

just.b.jealous
09-03-2009, 07:55 PM
Anyone know the code needed to manually add a link to "Add this thread" to favorites?- I don't have this option in my "Thread Tools" menu. I think it used to be there a few mod installs back but it just went MIA on me.. any help offered would be great.

Nevermind, I figured it out, for some reason "&amp;" was getting parsed into "=dir=dir=",, weird ehh? It was only happening in my showthread template and only on 2 occurences- one of which made "Add thread to favorites" completely disappear...

terminator2k2
09-04-2009, 07:52 AM
what about the solution for the hook issue?

mp3u
09-04-2009, 08:26 AM
I'm a complete newbie with zero understanding of coding. I upload the php file to my server anduplaoded the xml file through the AdminCP product upload but I get no change at all. Nothing on any of the navbars even though the mod appears in vb options and appears to be switched on. The instructions for upload don't really explain what to do and I looked at the manual but it doesn't help much either. Can someone explain as if to a child how to get this working:o looks like a great addition to my board.
Thanks!

1320Nation
09-04-2009, 04:13 PM
Installed on a 3.73 board and it does not work. The instruction manual in the zip tells you nothing as far as the installation goes. After install nothing shows up in nav bar. I then manually added the code in the nav bar templete. The Favorites link then appeared in the nav bar, but then the link was unclickable. I entered vbfavorites.php in address bar and was shown a page that I did not have permissions to view the page even though I'm the super admin.

This mod is well over a year old and I have noticed several others with similar issues as I have explained above, and still no resolution. In my opinion this mod is not MOTM material.

Psionic Vision, let me know if there's anything I can do to help get this mod on track.

davew
09-06-2009, 11:13 AM
Great Mod!

Worked first time, perfect!

Thank you!

Chuta
09-07-2009, 11:51 PM
Permission to translate It to Spanish?

rkm140
09-13-2009, 02:46 PM
Every time i try to ad a thread to my favorites i get a 404 error

arcadian_girl
09-16-2009, 12:42 AM
Since I'm running vb 3.8.3, I'm kind of scared to install this, as much as I want to. I don't want to get DB errors :/ I did install it on a different test forum I have, but I've lagged with updating that forum, and it's nothing like my live forum, so the fact it works there doesn't really prove anything. Also, I had to add the link to the navbar manually cos it wasn't showing up, and now I've got TWO favorites links in my navbar - don't know how to fix it, I dont see duplicate codein the template. Would totally install this mod if it were working for more ppl.

l7azat
09-16-2009, 05:55 AM
GOOOOD
and here you are ..

arabic file lang ..
https://vborg.vbsupport.ru/external/2012/01/5.gif vbulletin-language.AR.xml (https://vborg.vbsupport.ru/attachment.php?attachmentid=104444&stc=1&d=1253084004) (6.7 KB)

bairy
10-07-2009, 03:30 PM
BUG: In the template vbfavorites_editor the form tag isn't closed. This breaks favourites if there are any forms that follow it on the page that also have a 'do' parameter.

Suggestion: Add some code to template_groups to say $only = array_merge($only, array('vbfavorites' => 'vBFavorites'));

to trim down the entries in the template selection display.

RedHacker
10-08-2009, 07:21 AM
For show Favorites in the navbar must put manually....?

control1110
10-19-2009, 03:21 AM
does this hack work with vb blogs (can you add blogs to favorites), Can you make it so the users favorites can be viewed in his/her public profile?

Front Range 4x4
10-22-2009, 03:15 PM
The download appears to be bad, can't extract.

3mints.info
10-22-2009, 03:25 PM
Nice one :)

columbusgeek
10-22-2009, 04:21 PM
The download appears to be bad, can't extract.

same here.

*edit*

I am on Snow Leopard. Using the archive app it was not able to be extracted. I tried Springy instead, (not a default app) and it worked.

not sure why, but thats how I got to extract.

Front Range 4x4
10-22-2009, 04:50 PM
Thanks for the tip, it looks like it must be a Snow Leopard thing. Springy worked for me too.

Front Range 4x4
10-22-2009, 05:48 PM
Installed on custom navbar perfectly. Very intuitive, my users will love this.

Installed & Nominated!

columbusgeek
10-22-2009, 07:01 PM
oddly enough it didn't go into my navbar. per chance can you post the code for it here? It would be helpful for others especially the ones with custom themes.

Front Range 4x4
10-22-2009, 07:23 PM
See post #25

TheChaosFactor
10-23-2009, 06:25 AM
I've tagged this in case it does get some of the mentioned updates such as user permissions and the ability to auto favorite certain threads for all users. Without those I really see very little benefit to adding it to my forum.

MarceloS
10-24-2009, 01:45 PM
Installed and nominated. Excellent mod!

I have one suggestion: there should be an option to see other peoples favorites.

This could be on a user profile, so users find out great topics by browsing other user's favorite lists! (this should be optional, of course)

Please implement :D

motorola
11-04-2009, 07:19 PM
Installed .Thanks

Saviour
11-05-2009, 06:19 AM
I'm not really sure I'm understanding the purpose of this mod...

What's the difference between this mod and the vBulletin default subscriptions and buddy list?

dutchbb
11-23-2009, 08:08 PM
It's not possible to enable this only for a specific usergroup?

final kaoss
11-28-2009, 01:57 AM
I've been looking through all of the features and why is there no "favorite forums"?

ishare
12-04-2009, 10:21 AM
Installed and nominated. Excellent mod!

Is it possible to show the complete favorite threads and posts in another page instead of the User CP ? (such as http://www.site_name.com/vbfavorites.php)

Dutch_Boy
12-05-2009, 02:33 PM
Nevermind problem fixed.

jGas
01-01-2010, 10:42 PM
GREAT! this is something my users are looking for! Will you release it for vb4?

thanks

MarceloS
01-19-2010, 11:58 AM
One of my favorite mods. Hoping it gets released for vb4 too. Will donate.

Infopro
01-19-2010, 01:33 PM
BUG: In the template vbfavorites_editor the form tag isn't closed. This breaks favourites if there are any forms that follow it on the page that also have a 'do' parameter.

Suggestion: Add some code to template_groups to say $only = array_merge($only, array('vbfavorites' => 'vBFavorites'));

to trim down the entries in the template selection display.

Thanks and thanks. :p

BigSlick
01-27-2010, 07:43 PM
Any vB4.01 version on the horizon ?

This is a fantastic Mod.

It works flawlessly on every forum I've installed using it

m2006
01-27-2010, 10:40 PM
thank you somuch for mod good

Kavadas
02-24-2010, 07:58 PM
Navbar didn't update (I run a custom theme that uses images for the navbar so obviously but it's not in the template at all in any form) and when manually navigating to vbfavorites.php it says I don't have permission despite being a super admin.

Running 3.8.4 Patch Level 2.

Here is a list of the other products I have installed:


AME 2.5.6 (https://vborg.vbsupport.ru/showthread.php?t=202476)
Change Posts Owner 1.8.0 (https://vborg.vbsupport.ru/showthread.php?t=200952)
Cyb - Advanced Registration 1.7 (https://vborg.vbsupport.ru/showthread.php?t=201287)
Cyb - PM System Enhancements 1.5 (https://vborg.vbsupport.ru/showthread.php?t=177785)
DownloadsII 5.1.1 (https://vborg.vbsupport.ru/showthread.php?t=120122)
Easy Forms 3.6 (https://vborg.vbsupport.ru/showthread.php?t=201097)
Live Topic 1.07b (https://vborg.vbsupport.ru/showthread.php?t=201228)
Mark Thread as "Solved" 1.1.2 (https://vborg.vbsupport.ru/showthread.php?t=211020)
Photo Popup 3.5 (https://vborg.vbsupport.ru/showthread.php?t=202385)
PM Attachments 1.0.0 (https://vborg.vbsupport.ru/showthread.php?t=233353)
Similar Thread Check v2 2.0 (https://vborg.vbsupport.ru/showthread.php?t=201651)
Template Modification System 1.1.5 (https://vborg.vbsupport.ru/showthread.php?t=152931)
vBadvanced CMPS 3.2.0 (http://www.vbadvanced.com)
vBCode Table 0.1.7.1 (https://vborg.vbsupport.ru/showthread.php?t=107985)
vBExperience 3.8.5 (https://vborg.vbsupport.ru/showthread.php?t=199556)
vBFirewall 1.0 (https://vborg.vbsupport.ru/showthread.php?t=196791)

davew
03-05-2010, 10:21 AM
Any vB4.01 version on the horizon ?

This is a fantastic Mod.

It works flawlessly on every forum I've installed using it

I second that!

yotsume
03-05-2010, 12:50 PM
Does this also allow members to add Social Groups and vbBlogs to their favorites? I really need this to work with vbBlogs in a big way!

Please let me know.

THANKS!

yotsume
03-05-2010, 01:24 PM
Navbar didn't update (I run a custom theme that uses images for the navbar so obviously but it's not in the template at all in any form) and when manually navigating to vbfavorites.php it says I don't have permission despite being a super admin.


Yep I have same problems here! I running vbadvanced and vb and nothing updated on my navbar. I can add members and threads to favorites.
There is no link to add posts to favorites and there is no navbar drop menu. If I try to navigate to your php file it says I dont have permission.

Is there a usergroup setting? I looked but don't see any!

HELP PLEASE!

THANKS!

yotsume
03-05-2010, 01:47 PM
Manually edited the navbar. That all works now.

BUG REPORT:
When on the view all fav page your drop menu is broken! That needs fixed.

Thanks!

arcadian_girl
03-10-2010, 07:46 AM
when is this _)(*_)$%&@$ mod going to be updated? *frustration*

JacquiiDesigns
03-11-2010, 12:14 AM
when is this _)(*_)$%&@$ mod going to be updated? *frustration*

That's probably not the best way to request assistance from the modification author. It's not like you're paying him for his time to upgrade it. In fact - Perhaps THAT might be the best way for an upgrade ==> send him money (https://vborg.vbsupport.ru/showthread.php?p=2001243&nojs=1#gtdonate) :)

Jacquii.

bairy
04-02-2010, 07:38 AM
when is this _)(*_)$%&@$ mod going to be updated? *frustration*
Nature of the beast. When stuff is free it's entirely the author's choice whether s/he ever updates it.
If you really want an updated or modified version you could always make a paid request.

Verionia
04-04-2010, 10:11 PM
update to 4.0 plz? :)

NathanLedet
05-18-2010, 10:59 PM
PLEASE!! Need this for 4.x :(

AtoZ
05-22-2010, 05:18 AM
why did I not find this sooner? I love it - thanks!

AtoZ
06-18-2010, 03:36 PM
Discovered a possible bug -
If a post is added to favorites, the links in the User CP go to the whole thread instead of just the post. The link on the nav bar goes to just the post, as expected.

ahmednadir
07-02-2010, 01:39 AM
thanks alot mate "installed"

m_7
07-03-2010, 12:31 AM
This is the best of the best ,,

I hope in the future make it AJAX .

Good Luck

m_7
07-08-2010, 11:52 AM
also, if u can show how many members added this (Threads, Posts & Users) in they favorite list .

cgway.net
07-10-2010, 03:27 PM
please give me the code that show link in postbit

i have a custome postbit_legacy

i wait your confirmation

cgway.net
07-11-2010, 04:53 PM
i wait the replay please

dartho
07-11-2010, 09:41 PM
Look in the 'vbfavorites_postbit' template

cgway.net
07-11-2010, 10:01 PM
i have a look to it but really I'm not a Coder

please give me the variable you have insert it to the postbit

i wait your replay

dartho
07-12-2010, 01:44 AM
You put ALL the code in there in postbit_legacy template

cgway.net
07-12-2010, 02:12 AM
Really Thanks Now working without any problem

Installed

BirdOPrey5
07-12-2010, 11:37 PM
Can anyone else confirm if this stops ''Live Topic" from working? One person mentioned it did way back when but no one else chimed in,

Crashh
07-29-2010, 07:19 AM
may be somebody, who covert this mod to vb4.0 give us hints how to make it work on 4.0 ?:))

vBarsiv
07-29-2010, 01:54 PM
A very sensible idea. thanks

chick
09-21-2010, 10:47 PM
Lets get this modification version working first.

What I have observed.

In one vbulletin I have 3.8.4pl2 which is HEAVILY modified, it worked out of the box perfectly.

Then in another vbulletin same version, it will not work at all, and now...

In yet another vbulletin I have, version 3.81...only a few modifications on this vb, it will not work in the navbar which I don't care about anyway, and I would shut off.... BUT there are no permissions for users anywhere in the usergroup section... so even I cannot access the vbfavorites.php page HOWEVER it does show in each post, and I can add add a favorite, edit and remove the favorite from my userCP and it works fine there.

Very weird, and I now suspect (as I posted on page 6 that I would look into the conflict of another modification) might be a thread or posting type mod.

Oh well.

VBUsers
09-26-2010, 10:22 PM
hope this goes to vb4 soon

sebaxtian
11-01-2010, 05:30 PM
update for vb4 or fix?
thanks!

Vikingant
12-12-2010, 10:22 AM
Any news on a VB4 version....please....

blogthea
03-29-2011, 07:06 PM
cant wait for a vb4 version

Trek
03-29-2011, 07:28 PM
cant wait for a vb4 version

Here ya go: http://www.dragonbyte-tech.com/vbdownloads.php?do=download&fileid=62

Needs and update to really flesh it out, but does what it's supposed to pretty well, and it's free and made for vB4.

career
04-05-2011, 03:06 PM
May be better to place favorite threads on separate page within user cp?
Too many favorites may cause to more complicated navigation on that page.

Eric
05-10-2011, 01:12 PM
cant wait for a vb4 version

It's not listed here as re-usable, nor in the description - but in the download it has:

This file may redistributed under GPL license for non-commercial purposes only.

I'll see what I can do to update it and release it for vB4, if possible.

Meestor_X
05-21-2011, 07:31 PM
I'll see what I can do to update it and release it for vB4, if possible.
That'd be great!

The bookmarking mod from dragon-tech is much more basic.

d1alaccom
07-28-2012, 08:27 PM
getting error :

SELECT *
FROM favorites
WHERE userid = '1'
AND entry_type = 'thread'
ORDER BY dateline DESC;

MySQL Error : Table 'buratina.favorites' doesn't exist

squishi
02-26-2013, 09:13 PM
I am using v2.0.2 of this product. I don't know if the code has been changed, but the changelog does not mention it.

This product is flawed.
The list of ALL favorites (threads, posts, and users) is loaded on EVERY page load of the member (in the global_start hook).
It might not be a problem at first. But the list of likes will grow more and more. the way the favorites are queried will lead to serious performance problems.

blind-eddie
02-02-2014, 01:52 PM
For those that install this and receive a database error...
Open the product,

Find:

Type=MyISAM

Change to:

ENGINE=MyISAM

re-upload product

TAIFUN_T
03-11-2014, 03:04 PM
<form action="vbfavorites.php" method="post">

not closed

TAIFUN_T
01-09-2015, 03:31 PM
Security fixed if you installed vB SEO

blind-eddie
01-09-2015, 10:53 PM
What security issue?

TAIFUN_T
01-10-2015, 08:38 AM
What security issue?

Sorry. This file for forums who installed vB SEO.

ozzy47
01-10-2015, 09:15 AM
That still does not explain what the security issue is with the mod. :confused: