vb.org Archive

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

Goomzee 11-01-2011 10:50 AM

well downgrade use old version and it's works fine and also it's show Like the posi in every single post but only Default theme or new theme not my current theme it seems there is something to fix in ForumDisplay template

ikorolis 11-01-2011 11:16 AM

Quote:

Originally Posted by Goomzee (Post 2263421)
well downgrade use old version and it's works fine and also it's show Like the posi in every single post but only Default theme or new theme not my current theme it seems there is something to fix in ForumDisplay template

you have old version this plug?

Goomzee 11-01-2011 11:25 AM

yes using old version and i also fixed my previous like this post issue as well

DragonByte Tech 11-06-2011 09:48 PM

Advanced Post Thanks / Like v2.0.2:
Fix: Potential fix for custom profile styles looking odd
Fix: Potential fix for a reset() error on some PHP versions when performing Maintenance actions that had nothing to do.
Fix: Inactive buttons still showed up on the Hottest Threads / Posts page
Fix: Hidden buttons still showed clickers on the Statistics page
Change: Changed instances of "N/A" to the "Hidden Content" phrase to eliminate confusion
Change: Includes compatibility for future versions of vBActivity & Awards
Note: Edit / save any custom buttons (i.e. buttons beyond Thanks / Like / Dislike) to ensure vBAA compatibility is properly applied.

Fillip

Taringa! CS 11-07-2011 12:53 PM

I need to add some actions to the thanks.js file... using old yahoo i could made them..., right after this

YAHOO.util.Dom.get('dbtech_thanks_actions_' + this.postid).innerHTML = (actions[0].firstChild ? actions[0].firstChild.nodeValue : '');

but on jquery i can't... any ideas? hack works fine but i can't made this tweek i need on my forum

thanks in advance

DragonByte Tech 11-07-2011 01:02 PM

We don't support customisations to our scripts, but even if we did, you didn't actually post what tweak you did (unless I misread your post?) so it's quite impossible for me to give you any ideas :(


Fillip

Taringa! CS 11-07-2011 03:19 PM

Quote:

Originally Posted by DragonByte Tech (Post 2265336)
We don't support customisations to our scripts, but even if we did, you didn't actually post what tweak you did (unless I misread your post?) so it's quite impossible for me to give you any ideas :(


Fillip

Hi Fillip

It's simple... i've named tr actions/entries and i wan't to do this

$('#dbtech_thanks_actions_tr_' + postid).css('display', 'none');
$('#dbtech_thanks_entries_tr_' + postid).css('display', 'table-row');

Thanks!

DragonByte Tech 11-07-2011 03:22 PM

What are you trying to accomplish? I doubt I'll be able to help though as if it's what I think it is then it's quite complex but we'll see :)


Fillip

Taringa! CS 11-07-2011 04:50 PM

I'm trying to hide the tr that holds each action after clicking on an action...

DragonByte Tech 11-07-2011 09:19 PM

So you mean that when someone clicked, say, Thanks, you want the entire button row hidden, so that they cannot click any other button?

If that's the case, then this is a built-in feature. Near the bottom of each button's settings page in the Button Management, there's an Exclusive set of checkboxes. Tick all of them for all buttons, and you will have achieved your goal :)

If that's not what you meant, then could you please clarify (a screenshot would help as well)? :)


Fillip

Taringa! CS 11-08-2011 01:01 AM

Quote:

Originally Posted by DragonByte Tech (Post 2265494)
So you mean that when someone clicked, say, Thanks, you want the entire button row hidden, so that they cannot click any other button?

If that's the case, then this is a built-in feature. Near the bottom of each button's settings page in the Button Management, there's an Exclusive set of checkboxes. Tick all of them for all buttons, and you will have achieved your goal :)

If that's not what you meant, then could you please clarify (a screenshot would help as well)? :)


Fillip

It's related to look a bit nicer, because you don't need to use an action on that post anymore... i've edited template a bit and if you used an action, the action tr never appears again on that post

kyan 11-08-2011 04:48 AM

1 Attachment(s)
Hello.

I tried installing this mod to our forum engine but after database and style updating I got the following Error:

Code:

Database error in vBulletin 3.8.4:

Invalid SQL:
UPDATE alfistivblanguage SET title = title, phrasegroup_cprofilefield = <snip> WHERE languageid = 1;

MySQL Error  : Unknown column 'phrasegroup_dbtech_thanks' in 'field list'
Error Number  : 1054
Request Date  : Tuesday, November 8th 2011 @ 07:21:02 AM
Error Date    : Tuesday, November 8th 2011 @ 07:21:17 AM
Script        : http://www.alfisti.gr/forum/admincp/plugin.php?do=productimport
Referrer      : http://www.alfisti.gr/forum/admincp/plugin.php?do=productadd
IP Address    : 85.74.197.187
Username      : kyan
Classname    : vB_Database
MySQL Version : 5.1.56

(I replaced part of the SQL with the word <snip> because it was too large to paste in here. Full error attached)

The offending SQL statement seems syntactically correct although very large and "phrasegroup_dbtech_thanks" does not seem to appear a column name but as part of the column value string.

Is there any way past this? Thank you in advance.

DragonByte Tech 11-08-2011 06:42 AM

Could you try re-importing the XML file? If that doesn't work, try uninstalling and reinstalling. Are you sure you didn't receive any error prior to that one? Some SQL configs have problems installing mods past a certain point due to the max_allowed_packet config variable being too small.

Fillip

kyan 11-08-2011 07:10 AM

Quote:

Originally Posted by DragonByte Tech (Post 2265588)
Could you try re-importing the XML file? If that doesn't work, try uninstalling and reinstalling.

Tried these, several times. Also tried reuploading all your files using different FTP clients just in case.

Quote:

Originally Posted by DragonByte Tech (Post 2265588)
Are you sure you didn't receive any error prior to that one?

Yep. Can attach a screenshot for you if you want.

Quote:

Originally Posted by DragonByte Tech (Post 2265588)
Some SQL configs have problems installing mods past a certain point due to the max_allowed_packet config variable being too small.

Uhmm... I'll try to find how I can fiddle with that setting, thanks for the tip. Also it seems that the error happens when phrases for the Greek language are being updated. I could try downloading and removing the Greek language, installing your mod and then reuploading the language again but I will have to wait for some idle time in order not to alarm our users.

DragonByte Tech 11-08-2011 07:14 AM

I can at least tell you it's not a problem with the mod itself, it's vBulletin that handles the creation of phrase groups when importing a product. The process of product importing is 100% vBulletin code (sans my custom table creation code that's ran and completed before the error pops up, that is).

Are you using a custom product manager perchance? If so, you could try temporarily switching back to the default one.

Fillip

kyan 11-08-2011 08:10 AM

Yes, that much I figured out myself from the name of the script where the error occurs (admincp/plugin.php). No custom product manager and here is a list of all installed products in case one of them rings a bell:

Cyb - Advanced 'New Posts'
Cyb - Sub-Forum Manager
GTPrivate Message Quickreply
GTPrivate Messages Enhanced Listing
Members who have Visited
Poster username in a separate column
Separate Sticky and Normal Threads
Thread_Description
vBCode table

DragonByte Tech 11-08-2011 08:37 AM

In that case I'm at a loss beyond what I mentioned previously, sorry :(


Fillip

Taringa! CS 11-08-2011 02:40 PM

Filip, did u understand what i mean? It's an easy trick... But i dunno where on thanks.js make that changes

DragonByte Tech 11-08-2011 02:51 PM

I didn't understand, sorry :(

I don't know what's you're wanting to do that's different from using Exclusivity to hide the buttons once you've clicked one.


Fillip

Taringa! CS 11-10-2011 11:41 AM

You can hide buttons, but the table row will be there... empty :D
I want to hide that <tr>

I'll post some screenshots

1) Normal (without doing any actions)

http://i41.tinypic.com/sq6ttv.png

2) After doing an action

http://i41.tinypic.com/2s80il2.png

3) After reloading page

http://i44.tinypic.com/wbe6mb.png

So... i need some easy jquery trick to after making an action, hides the empty tr and display the missing tr

DragonByte Tech 11-10-2011 11:53 AM

It seems like your template edits to the APTL bar has broken some functionality, as the display in the 3rd image is what happens on an unmodified installation :)

www.jquery.com is a great resource for learning about jQuery though :)


Fillip

Taringa! CS 11-10-2011 04:31 PM

Nevermind, i made it :)

After var postid = $(this).attr('data-postid');

thanks

SBlueman 11-19-2011 12:45 AM

Quote:

Originally Posted by ikorolis (Post 2263223)
my friend dont understand me

the mod have problem no working VBA portal
if you tell disable plug ins and see have issue?

disable plug ins = disable VBA cannot test nothing...

Getting the same error on my site's vbAdvanced front page after the latest upgrade. Running 3.8.6 on my end. Currently disabled...........bummer. :erm:

DragonByte Tech 11-19-2011 12:52 AM

Unfortunately we haven't received any new information suggesting this is a problem with our mod as opposed to their portal so I can't be of further assistance at this time, sorry :(


Fillip

SBlueman 11-19-2011 01:16 AM

Gotcha. Posted a thread in vbadvanced and your site in the lite support section to see if any other users having this same problem can maybe come together or maybe vBadvanced's author.

leannet 11-23-2011 11:45 AM

I can't see my buttons on the forum. The info under the users name is there how many thanks, likes they have but there is no button to thank or like their post.

DragonByte Tech 11-23-2011 11:52 AM

Quote:

Originally Posted by leannet (Post 2271109)
I can't see my buttons on the forum. The info under the users name is there how many thanks, likes they have but there is no button to thank or like their post.

Please ensure you've set up Can Click permissions for all relevant usergroups in the Button Manager :)

If you can't see the Button Manager under the DBTech - Post Thanks column, please ensure your user has been set as Super Administrator in config.php :)


Fillip

leannet 11-23-2011 11:56 AM

Where do I find this?




https://vborg.vbsupport.ru/attachmen...6&d=1275100519

leannet 11-23-2011 11:58 AM

Thanks found it.
I had to click on button manager then click on edit

leannet 11-23-2011 12:00 PM

One more question, can we make and add our own buttons?

DragonByte Tech 11-23-2011 12:02 PM

Yeah, if you click Add New Button you can add your own button :)

You can put a .png image in /dbtech/thanks/images/ with a specific name.

For instance, if you enter "recommend" in the "Varname" field, put recommend.png in the folder I just mentioned to have it work in the front-end :)


Fillip

leannet 11-23-2011 12:11 PM

Thank you for your help and very quick replies :) I will give it a go.

leannet 11-23-2011 12:12 PM

Quote:

Add New Button
Is that in Button Management? I can't see it.

DragonByte Tech 11-23-2011 12:21 PM

Yeah, in Button Management you have a list of your 3 buttons, and then beneath that list there's 2 gray buttons: Save Display Order, and Add New Button :)


Fillip

leannet 11-23-2011 12:28 PM

1 Attachment(s)
This is what I see

DragonByte Tech 11-23-2011 12:31 PM

Oh sorry, I totally forgot that adding new buttons was a Pro-only feature :(

My bad :(


Fillip

leannet 11-23-2011 12:56 PM

ok not to worry

Shardy 12-04-2011 01:47 PM

I'd like to use this in another language, where exactly do I translate the terms that show up in the post itself at the top. This:

Post Thanks / Like
אהבתי! (Given): 0
אהבתי! (Received): 1
Thanks (Given): 0
Thanks (Received): 0
לא אהבתי (Given): 0
לא אהבתי (Received): 1

Or edit it? I searched the XML and searched the templates... :/

Mark_Zuckerberg 02-07-2012 08:15 PM

Hello mate thanks mod for vb 3.8 is not working on my side i have uploded all the files and imported xml added id num in supper admin in config.php file but its not showing in admin panel
Code:

DBTech - Post Thanks" in your AdminCP navigation menu
is not visible and in vb options there is db tech settings and over there it is active. please guide i m using vb 3.8.7

DragonByte Tech 02-07-2012 08:21 PM

Please ensure you have edited config.php correctly. The AdminCP menu will show up. Keep re-checking until you get it working :)


Fillip


All times are GMT. The time now is 10:38 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.01600 seconds
  • Memory Usage 1,831KB
  • 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
  • (2)bbcode_code_printable
  • (9)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
  • (40)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