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)
-   -   Show Thread Enhancements - [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=231666)

billstelling 05-14-2011 05:01 PM

Only one of dbtech's mods worked correctly on my forums. and when I updated the one thing that was yestwrday it ++++ed up my forums. So no more of their stuff for my site. Now sstab won't work to hide the what's new tab on the cmps home page. Had to remove my blog tab for now untill i can figure out what's causing it. Just that tab.. it will still hide the forum tab in the cmps if i toggle it and the what's new on the forum, just not in the cmps.. go figure..
anyone know what code to remove in navtab to get rid of the whats new altogether?

sadiq6210 05-14-2011 05:04 PM

1 Attachment(s)
DragonByte Tech
Thanks for your effort, this is your work and you can promote it as you want even by 1 million .. this is your mod and you are free :)

I have few questions for you please
I am using Abe mod and I am going to buy your pro release to convert it just to get two awesome features (Notifications and searching "Who thanked your post and where?")

But before that, can I make the "pro" release exactly same Abe mod which I am using now (I mean just in appearance)
https://vborg.vbsupport.ru/attachmen...1&d=1305396113

Also,I don't want (like/dislike) or any additional features, I want it simple in function and appearance just like Abe mod


2-
Quote:

Uses only ONE query every time you view a showthread page!
What about your mod?

3-
Quote:

Uses AJAX technology so your users don't have to refresh when they thank
What about your mod?

Thanks and appreciate your effort again :)

djbaxter 05-14-2011 06:45 PM

Quote:

Originally Posted by billstelling (Post 2195653)
Only one of dbtech's mods worked correctly on my forums. and when I updated the one thing that was yestwrday it ++++ed up my forums. So no more of their stuff for my site.

Similar experience: I had to restore my forum from a day old backup after uninstalling one of their mods.

Quote:

Originally Posted by billstelling (Post 2195653)
Now sstab won't work to hide the what's new tab on the cmps home page. Had to remove my blog tab for now untill i can figure out what's causing it. Just that tab.. it will still hide the forum tab in the cmps if i toggle it and the what's new on the forum, just not in the cmps.. go figure.. anyone know what code to remove in navtab to get rid of the whats new altogether?

One option is to try https://vborg.vbsupport.ru/showthread.php?t=228507 instead of SSTab. I found that to be a little less finicky.

To change it manually, I think this should do it:

1. Admin CP >> Styles & Templates >> Style Manager >> {your style} >> Edit Templates

2. Find and edit Navigation / Breadcrumb Templates >> navbar

3. Find and comment out or delete:

PHP Code:

<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li

4. Save

Gradonil_Ral 05-14-2011 06:47 PM

Quote:

Originally Posted by Vaira (Post 2194339)
You have missed the point. You have included the importer which reads abe1's tables into your paid version with the intention to make more profit. You know that abe1 has canceled support and that many of us are using his hack already.
To get paid for own work is out of question. Compared to your free version it is almost no effort to write a script that reads tables. Almost no effort to have most profit. Profit made because of the fact that we are using abe1's tables already.

If I am wrong than just provide the importer at your free version as well.
Anything else is pointless arguing to me.
If you would provide the importer at the free version as well, your profit will decrease. I know that and you know that and hence it is available at your paid version only ;)

Why don't you learn SQL a bit? You only need basic knowledge to run a query that'll import thanks from Abe's hack to DBTech's.
The only problem, for a newbie, might be importing stuff from 2 different tables (yeah DBTech's table doesn't match Cyb's table).

Cyb's "_post_thanks" table has columns:
id
userid
username
date
postid

DBTech's "_dbtech_thanks_entry" table has columns:
entryid <-- you copy Cyb's id here
varname <-- you write "thanks" here
userid <-- you copy Cyb's userid here
contenttype <-- you write "post" here
contentid <-- you copy Cyb's postid here
dateline <-- you copy Cyb's date here
receiveduserid <-- the only problematic column - you need to copy userid from the '_post' table, from the postids matching the contentid that you've just copied.

And no, I'm not gonna write the query here - if you don't wanna buy the DBTech's Pro version, then you should write the query yourself. With my explanation it should be easy enough, anyways.

djbaxter 05-14-2011 06:53 PM

Quote:

Originally Posted by sadiq6210 (Post 2195654)
DragonByte Tech
Thanks for your effort, this is your work and you can promote it as you want even by 1 million .. this is your mod and you are free :)

I have few questions for you please
I am using Abe mod and I am going to buy your pro release to convert it just to get two awesome features (Notifications and searching "Who thanked your post and where?")

But before that, can I make the "pro" release exactly same Abe mod which I am using now (I mean just in appearance)
https://vborg.vbsupport.ru/attachmen...1&d=1305396113

Also,I don't want (like/dislike) or any additional features, I want it simple in function and appearance just like Abe mod


2-
What about your mod?

3-
What about your mod?

Thanks and appreciate your effort again :)

Quote:

Originally Posted by Gradonil_Ral (Post 2195704)
Why don't you learn SQL a bit? You only need basic knowledge to run a query that'll import thanks from Abe's hack to DBTech's.
The only problem, for a newbie, might be importing stuff from 2 different tables (yeah DBTech's table doesn't match Cyb's table).

Cyb's "_post_thanks" table has columns:
id
userid
username
date
postid

DBTech's "_dbtech_thanks_entry" table has columns:
entryid <-- you copy Cyb's id here
varname <-- you write "thanks" here
userid <-- you copy Cyb's userid here
contenttype <-- you write "post" here
contentid <-- you copy Cyb's postid here
dateline <-- you copy Cyb's date here
receiveduserid <-- the only problematic column - you need to copy userid from the '_post' table, from the postids matching the contentid that you've just copied.

And no, I'm not gonna write the query here - if you don't wanna buy the DBTech's Pro version, then you should write the query yourself. With my explanation it should be easy enough, anyways.

Please note: This is NOT the support thread for the DBTech mod. This is the thread for Abe1's Thank you mod.

Gradonil_Ral 05-14-2011 06:57 PM

Quote:

Originally Posted by djbaxter (Post 2195707)
Please note: This is NOT the support thread for the DBTech mod. This is the thread for Abe1's Thank you mod.

Which doesn't work with the current vBulletin, yeah.

djbaxter 05-14-2011 07:04 PM

1. It DOES work. I'm using it quite happily with 4.13.

2. Whether or not it works for you, this isn't the place to promote other mods. If you like the DBTech mod, go over to that thread and promote it there. Those of us who are using Abe1's mod are here to try to help support and troubleshoot issues for others who are using it.

Gradonil_Ral 05-14-2011 07:11 PM

Oh, right. Someone uploaded the updated version recently, but it didn't work ~2months ago so I switched to DBTech's. And no, I'm not a fan of this mod at all - I just decided to reply to Vaira's post.
But ok, let's stop here, cuz like it or not we're both making an OT.

Paul M 05-14-2011 08:04 PM

Quote:

Originally Posted by Gradonil_Ral (Post 2195715)
But ok, let's stop here

Yes, I think its time to do exactly that.

gnrx 05-14-2011 10:00 PM

In some days, I received a email of my forum with database error.

The error is that, a google agent (for example) search old tables of old version of this mod, for example, I received this notification by mail of my forum:

Code:

Database error in vBulletin 4.1.3:

Invalid SQL:

                        REPLACE INTO search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
                        VALUES (0, '66.249.71.19', 1, 'abdo70', '', 'post.dateline', 'DESC', 0.06050, 1, '150333,139614,139554,138804,133802', 1305382860, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{}s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:7022;s:6:\"abdo70\";}s:6:\"forums\";i:0;s:7:\"options\";a:3:{s:11:\"starteronly\";i:0;s:11:\"childforums\";i:1;s:6:\"action\";s:7:\"process\";}}', 'c6eb59e052c1124968f5ed830e05dd4a');

MySQL Error  : Table 'mydatabase_myusername.search' doesn't exist
Error Number  : 1146
Request Date  : Saturday, May 14th 2011 @ 09:21:00 AM
Error Date    : Saturday, May 14th 2011 @ 09:21:00 AM
Script        : http://www.myforum.com/foro/post_thanks.php?do=findthanks_user_gave&u=7022

Its possible make for not search this old tables (googleboots and others)?

Thanks and regards!


All times are GMT. The time now is 04:41 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.05931 seconds
  • Memory Usage 1,770KB
  • 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
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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