vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vbFavorites (https://vborg.vbsupport.ru/showthread.php?t=81870)

akanevsky 05-21-2005 10:00 PM

vbFavorites
 
/*================================================= =====================*\
|| 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) :)

RichieBoy67 05-22-2005 08:14 PM

Nice!! Thanks :)


I guess I get to be first to install this!!!!!!! Honored to be the first..

TTG 05-22-2005 08:29 PM

2nd .. very useful hack and works well on 3.0.6.

Clicked install

nexialys 05-22-2005 08:30 PM

question: in the custom name of the entry, is it working from a popup ?!... i don't like to overload my board with multiple pages for a single action... would be cool to have it in a popup forthe entire process, or even better, AJAX.. ;)

EDIT !:yes, the more i think of it, the more i think it can be easy to add a quick "add to favs" button working directly with AJAX, same way it "lock/unlock" threads... the complete "rename" page would be independant from the AJAX, but i think that the coming of AJAX is useful here... very useful!

ANOTHER EDIT: you forgot the
PHP Code:

" . TABLE_PREFIX . " 

in all the SQL queries... :)

EDIT 3: for the guys that built Links Systems, Articles or Albums systems, this Favorites can become your friend... check the code, it would be easy to add anyother kind of favorites to it...

T_Montana 05-22-2005 08:38 PM

awsome hack.....i will wait to install make sure their aren't any bugs but i have a question......

to view you favorits are they in a pulldown menu from navbar or do you have to go into usercp?

akanevsky 05-22-2005 08:50 PM

RichieBoy67, TTG
Thanks for positive feedback.

nexialys,
1. I am not sure whether anybody needs AJAX here.
2. Wrong. Check twice before claiming an error. Favorites table does not use prefix regardless of the presence or absence of the prefix in other tables.
3. It does not come in a popup, it comes on a small separate page as shown in the screenshot.

T_Montana,
1. You can be absolutely sure that there are no bugs.
2. You have to go to usercp. However, further modifications of this hack are not impossible (note that there can be a lot of favorites in one's list, so this is not likely to be of any use).

T_Montana 05-22-2005 09:02 PM

Quote:

Originally Posted by Dark Visor
RichieBoy67, TTG
Thanks for positive feedback.

nexialys,
1. I am not sure whether anybody needs AJAX here.
2. Wrong. Check twice before claiming an error. Favorites table does not use prefix regardless of the presence or absence of the prefix in other tables.
3. It does not come in a popup, it comes on a small separate page as shown in the screenshot.

T_Montana,
1. You can be absolutely sure that there are no bugs.
2. You have to go to usercp. However, further modifications of this hack are not impossible (note that there can be a lot of favorites in one's list, so this is not likely to be of any use).

yes i was thinking this too but you can have your top 10 favorites or you last 10 added favorites in dropdown menu from navbar....that would be pretty cool

T_Montana 05-22-2005 09:04 PM

also how do i run a query?I have never had to this so have no idea what to do

akanevsky 05-22-2005 09:04 PM

Aha! Last 10 is a great idea. I will add that.

You run a query using either PhpMyAdmin in your hosting's cpanel or AdminCP => Maintenance => Run SQL Query in your vBulletin.

sabret00the 05-22-2005 09:10 PM

good idea :)


All times are GMT. The time now is 11:37 AM.

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.01116 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (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