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-23-2005 09:29 AM

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

Lionel 05-23-2005 03:36 PM

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

Princeton 05-23-2005 03:41 PM

this looks great ... I'll click INSTALL :up:

akanevsky 05-23-2005 06:24 PM

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

gldtn 05-23-2005 08:05 PM

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.

T_Montana 05-23-2005 08:51 PM

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


Lionel 05-23-2005 11:37 PM

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

akanevsky 05-24-2005 01:18 AM

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.

M1th 05-24-2005 11:19 AM

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?

akanevsky 05-24-2005 05:56 PM

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.


All times are GMT. The time now is 04:19 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.01713 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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