vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - [DBTech] Advanced Post Thanks / Like v3 (vB4) [AJAX] (https://vborg.vbsupport.ru/showthread.php?t=243510)

jimnyc 05-17-2016 12:42 PM

Quote:

Originally Posted by DragonByte Tech (Post 2570955)
If the page has stopped loading you can run the queries manually
Code:

alter table post add dbtech_thanks_cache mediumtext
Code:

alter table post add dbtech_thanks_disabledbuttons int(10) unsigned not null default '0'
Code:

alter table post add dbtech_thanks_requiredbuttons_content int(10) unsigned not null default '0'
Code:

alter table post add dbtech_thanks_requiredbuttons_attach int(10) unsigned not null default '0'
Code:

alter table thread add dbtech_thanks_disabledbuttons int(10) unsigned not null default '0'
Code:

alter table thread add dbtech_thanks_requiredbuttons_content int(10) unsigned not null default '0'
Code:

alter table thread add dbtech_thanks_requiredbuttons_attach int(10) unsigned not null default '0'
Remember to add your table prefix if you use it.


Fillip

The first 3 or so told me that they were already there, and then the rest ran successfully without issue. But I don't see it under manage products, nor anywhere to modify settings. What would be next if I ran these SQL queries manually?

DragonByte Tech 05-17-2016 12:42 PM

Attempt the installation again :)


Fillip

jimnyc 05-17-2016 12:52 PM

Quote:

Originally Posted by DragonByte Tech (Post 2570958)
Attempt the installation again :)


Fillip

That did it, thanks much!!

jimnyc 05-17-2016 03:26 PM

When I click on the notifications, it brings me to the profile page - but they are listed as oldest first, and you must go to a few pages later to get to the latest clicks. Is there a way to reverse this, so current clicks are shown first?

Thanks!

DragonByte Tech 05-17-2016 03:27 PM

Quote:

Originally Posted by jimnyc (Post 2570962)
When I click on the notifications, it brings me to the profile page - but they are listed as oldest first, and you must go to a few pages later to get to the latest clicks. Is there a way to reverse this, so current clicks are shown first?

Thanks!

Are you sure? There is absolutely nothing in the code that indicates oldest first, in fact it explicitly sorts by newest first. Out of the several thousand people that uses this mod, this is the first time anyone has reported this as well.


Fillip

jimnyc 05-17-2016 03:31 PM

Quote:

Originally Posted by DragonByte Tech (Post 2570963)
Are you sure? There is absolutely nothing in the code that indicates oldest first, in fact it explicitly sorts by newest first. Out of the several thousand people that uses this mod, this is the first time anyone has reported this as well.


Fillip

Before I take a screenshot to show you - I must add that it is still running the importer as I write this, would that affect anything? But I'm gathering a screenshot to show you what I mean now.

jimnyc 05-17-2016 03:33 PM

Here's a shot of only the first page, but you can see the older date is on top:

http://i.imgur.com/Cvv8XsE.jpg

DragonByte Tech 05-17-2016 03:35 PM

Quote:

Originally Posted by jimnyc (Post 2570964)
Before I take a screenshot to show you - I must add that it is still running the importer as I write this, would that affect anything? But I'm gathering a screenshot to show you what I mean now.

Yes, that will be the cause. The problem is that whatever system you are importing from ordered the entries in an incorrect way.

For performance reasons, this mod will order entries by entry ID, e.g. the order they were inserted in. If your system and/or database table did not insert entries in a chronological order, then the importer (and subsequently, the historical display) will import them in the same order.

This will not be an issue going forward.


Fillip

jimnyc 05-17-2016 03:48 PM

Quote:

Originally Posted by DragonByte Tech (Post 2570966)
Yes, that will be the cause. The problem is that whatever system you are importing from ordered the entries in an incorrect way.

For performance reasons, this mod will order entries by entry ID, e.g. the order they were inserted in. If your system and/or database table did not insert entries in a chronological order, then the importer (and subsequently, the historical display) will import them in the same order.

This will not be an issue going forward.


Fillip

Thanks for the detailed explanation. I'm using the "Abes Thank you hack 7.85". Not sure if it did something improper now would I have a clue how to check anyway! LOL

Thanks for all of your help. :)

IggyP 05-24-2016 10:46 PM

hello,
im trying to figure out....is it possible to integrate this closer into vbcredits?

we want to make a custom button that can give points from one members account to anothers...

i thought it could be a button that charges say 10 pts to push, then a credits rule that if someone pushes that button on your post you get 10pts, but i dont see them in the list...

we have pro versions of both products installed btw...


All times are GMT. The time now is 03:52 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.03896 seconds
  • Memory Usage 1,751KB
  • 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
  • (7)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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