Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

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

Version: 3.0.7 Rating:
Released: 05-21-2005 Last Update: 07-07-2005 Installs: 35
DB Changes
Code Changes Additional Files  
No support by the author.

/*================================================= =====================*\
|| vbFavorites
|| Author : Psionic Vision
|| Works on : vBulletin 3.0.7
\*================================================ ======================*/

Did you ever find a useful thread on a bb? Did you want to save it for reading later? Did you have to choosing between subscribing to the thread and clogging your mailbox or adding it to your browser favorites and never finding it afterwards?
The problem has been solved!

With this hack, you can create your own personalized favorites menu within the bulletin board itself. You can add both posts and threads to the favorites. You can access the favorites from your usercp homepage. You can also specify a custom name for your favorites entry. It will also display latest 5 threads and posts in the nabar... See screenshots for more.

If you like it, do not forget to click INSTALL

The hack is free, however if you like that hack, feel free to DONATE (paypal it using my email which is written on top of this post)

Show Your Support

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

Comments
  #22  
Old 05-23-2005, 09:29 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A comma missing - will be fixed ASAP.
TABLE_PREFIX - ok, I will add that...
overgrom.com - that is vb2. besides, I never heard of that board.

Thanks for positive comments
Reply With Quote
  #23  
Old 05-23-2005, 03:36 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The favorites links in navbar do not display on vbadvanced pages. Can you tell us what the globals names are? We need to add them in vbadvanced settings.

Found them. Needed to add those in vbadvanced settings:ermm:

lastfavpostbit
lastfavthreadbit

and for those with vbaLinks, you need to add those in your construct navbar function in includes/functions_links.php

global $lastfavpostbit;
global $lastfavthreadbit;

and finally hardcode the showthread.php and showpost.php in the global.php
Reply With Quote
  #24  
Old 05-23-2005, 03:41 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this looks great ... I'll click INSTALL :up:
Reply With Quote
  #25  
Old 05-23-2005, 06:24 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[B]Update to 1.02:[*] Fixed comma error in the table creation query[*] The hack now uses TABLE_PREFIX

Update is fairly easy, for the update instructions are included.
Reply With Quote
  #26  
Old 05-23-2005, 08:05 PM
gldtn gldtn is offline
 
Join Date: Apr 2003
Location: US
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Visor
[B]Update to 1.02:
[*] Fixed comma error in the table creation query[*] The hack now uses TABLE_PREFIX

Update is fairly easy, for the update instructions are included.
I noticed the comma problem as soon as I ran the queries, but was able to fix the problem myself(yahoooooo :P).

Ahh sorry to jump in the conversation like this.. overgrow.com been around since the first days of vB and they had a very similar hack, just like they had the karma hack since the early days of vb2.. although shebang(the owner) did not want to share it for free :P

So, thanks a lot Dark Visor for sharing, great hack, great instructions..

Although I would prefere if the coders put comments before and after the code we have to change, add, or replace for easy detection if mistakes are made - Just a thought, don't take me serious :P

Wow, I'm typing too fast, I think I had way too much coffee!

Once again great hack, ahh! Dark do you think this would be possible to be intergrated using the AJAX system? this would get rid of the ADD ENTRY template and maybe others.
Reply With Quote
  #27  
Old 05-23-2005, 08:51 PM
T_Montana T_Montana is offline
 
Join Date: Mar 2005
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i edit global.php i get this.....

Code:
Database error in vBulletin 3.0.7:

Invalid SQL: SELECT * FROM favorites WHERE entry_type='thread' AND userid = '1' ORDER BY dateline DESC LIMIT 5
mysql error: Unknown column 'dateline' in 'order clause'

mysql error number: 1054

Date: Monday 23rd of May 2005 02:47:19 PM
Script: http://craxxxs.com/forums/
Referer: 
Username: T_Montana
IP Address: **.***.***.**
Reply With Quote
  #28  
Old 05-23-2005, 11:37 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gldtn
Once again great hack, ahh! Dark do you think this would be possible to be intergrated using the AJAX system? this
Ajaxing this would be really cool
Reply With Quote
  #29  
Old 05-24-2005, 01:18 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

T_Montana,

Read the upgrade instructions carefully. It tells you to run another query.

About AJAX: Sorry, but I have no experience in making AJAX. I'll have to research the subject further before I can implement it in my hacks.
Reply With Quote
  #30  
Old 05-24-2005, 11:19 AM
M1th's Avatar
M1th M1th is offline
 
Join Date: Jul 2002
Location: UK
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like the idea of a favorites hack but the subscriptions page make it all a little redundant. Why not just pull the thread subscriptions data and display as a drop down?
Reply With Quote
  #31  
Old 05-24-2005, 05:56 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Because, M1th, as the hack description states, nobody wants to subscribe to a lot of topics and get flooded just because he wants to read it later. Besides, you cannot subscribe to posts.
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 07:00 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.05546 seconds
  • Memory Usage 2,308KB
  • 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
  • (1)bbcode_code
  • (2)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