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)
-   -   Miscellaneous Hacks - Who Quoted Me (https://vborg.vbsupport.ru/showthread.php?t=258001)

Alfa1 02-09-2011 12:30 AM

My users sometimes encounter this error:
Code:

Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /public_html/usercp.php on line 74

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /public_html/usercp.php on line 74

Mind that my installation if in public_html/forum/

biftek 02-09-2011 02:49 AM

i can't get this to show , i have installed it but it wont show in my usercp , i am using a mod icons for usercp would that be causing problems?

Alfa1 02-09-2011 02:57 PM

If a thread is deleted, the quote notification stays. This should not happen. It would be nice the mod would check if the thread is deleted or not.

FreshFroot 02-10-2011 04:28 AM

Quote:

Originally Posted by Wonksta (Post 2160091)
I'm interested whats different about that code to this one we are using now regarding it being more accurate in notifying people?

I haven't checked, but I think it's coded better or with less bugs.

Wonksta 02-10-2011 08:54 AM

Quote:

Originally Posted by FreshFroot (Post 2160862)
I haven't checked, but I think it's coded better or with less bugs.

Sounds juicy! :D

Saloom 02-10-2011 03:22 PM

Quote:

Originally Posted by Alfa1 (Post 2156249)
Im getting a DB error:
Code:

Database error in vBulletin 3.8.6:

Invalid SQL:
SELECT user.username, quote.*, post.threadid, thread.title
    FROM vb6_quotedatanew As quote
    LEFT JOIN vb6_post AS post ON(quote.postid = post.postid)
    LEFT JOIN vb6_thread AS thread ON(post.threadid = thread.threadid)
    LEFT JOIN vb6_user AS user ON(user.userid = quote.quoter)
    WHERE quote.quoted = '1' ORDER BY quote.dateline DESC LIMIT;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 6
Error Number  : 1064
Request Date  : Sunday, January 30th 2011 @ 02:36:38 AM
Error Date    : Sunday, January 30th 2011 @ 02:36:38 AM
Script        : http://www.my-forum.com/forum/usercp.php
Referrer      : https://www.my-forum.com/forum/index.php
Username      : Alfa1
Classname    : vB_Database
MySQL Version : 5.0.90-log

Are table prefixes considered in this modification?

:up:

is you

Morrus 02-11-2011 09:15 PM

I'm not sure where I'm supposed to be looking (I looked at the USerCP) but I'm not seeing anything there. And there's no entry in the notification dropdown that relates to quotes.

I've definitely switched it on and selected notifications, but it's like I've not installed anything at all.

Morrus 02-11-2011 09:21 PM

Ah, OK, if I have it set to "0" it switches off. If I list my usergroups it works.

Morrus 02-11-2011 09:45 PM

....and it's stopped working again for no reason. Not doing anything. Ah well! It was a cool idea! :)

Morrus 02-12-2011 05:08 PM

OK, so it seems to be, at best, intermittent. I can't figure out the pattern, but sometimes it works and sometimes it doesn't.

Wonksta 02-12-2011 07:25 PM

Quote:

Originally Posted by Morrus (Post 2161824)
OK, so it seems to be, at best, intermittent. I can't figure out the pattern, but sometimes it works and sometimes it doesn't.

Yeah FreshFroot is working on it he mentioned about modifying another Mod to make it work the same as this as it had better code. It seems to always notify me when the usergroup who I added via ACP but rarely notifies me of quotes of users part of other non listed user groups...

FreshFroot 02-14-2011 04:40 AM

Quote:

Originally Posted by Morrus (Post 2161824)
OK, so it seems to be, at best, intermittent. I can't figure out the pattern, but sometimes it works and sometimes it doesn't.

If your adding 0 it WON'T work.. I have to fix that. It SHOULD work if you enter each usergroup.

I will look at it tomorrow and post a new fix up.

Morrus 02-14-2011 02:58 PM

Quote:

Originally Posted by FreshFroot (Post 2162414)
If your adding 0 it WON'T work.. I have to fix that. It SHOULD work if you enter each usergroup.

I will look at it tomorrow and post a new fix up.

I have no 0s in there at present, just a list of usergroups. Works sometimes, but intermittently.

biftek 02-15-2011 09:35 PM

Quote:

Originally Posted by FreshFroot (Post 2162414)
If your adding 0 it WON'T work.. I have to fix that. It SHOULD work if you enter each usergroup.

I will look at it tomorrow and post a new fix up.

ah that fixed it , wish someone had of said that sooner

FreshFroot 02-16-2011 03:56 AM

Quote:

Originally Posted by biftek (Post 2162955)
ah that fixed it , wish someone had of said that sooner

It was said 2-3 times already... you need to read and not skim posts... :p

Alfa1 02-21-2011 12:29 AM

If a member is quoted in the staff forums then the member will get a quote notification. This just happened and I needed to uninstall this addon for that reason.

Also: indexing posts for quotes leads to a mass of duplicate notifications. (multiple notifications for the same post)

Wonksta 03-16-2011 12:04 AM

Quote:

Originally Posted by Alfa1 (Post 2164777)
If a member is quoted in the staff forums then the member will get a quote notification. This just happened and I needed to uninstall this addon for that reason.

Also: indexing posts for quotes leads to a mass of duplicate notifications. (multiple notifications for the same post)

Bump :(

ricardoNJ 03-19-2011 07:16 PM

Quote:

Originally Posted by dartho (Post 2156028)
Found a small bug. You need to edit the "Load Quotes" plugin on the usercp_start hook and change $vbulletin->options['wqmmax'] to $vbulletin->options['wqm_max'] otherwise you get MySQL errors when trying to enter usercp.

Good work :up:

[Edit]You should probably also use the $stylevar[imgdir_button] when loading the collapse button rather than a hard coded path - I think there is more to it than just that, but that's what I needed to change to use my custom buttons.

I had database error, but this was a good solution. Thanks!

Morrus 03-19-2011 07:30 PM

Any update on fixing the intermittent behaviour of this? I'd love to use it.

great kitten 03-20-2011 04:24 AM

sorry en espa?ol

me sale error en la base de datos o si pongo este hack https://vborg.vbsupport.ru/showp...1&postcount=30

cuando me cito no me aparece la notificaci?n...me pueden ayudar a solucionarlo....gracias

Alfa1 03-20-2011 03:43 PM

Ese link no funciona.

Wonksta 04-02-2011 09:55 PM

Dragon released something:

https://vborg.vbsupport.ru/showthread.php?t=242734

Using it now the quotes are working all the time, everytime! w00t.

Sadly I paid $90 to modify this mod then the next day this gets released for free :( Haha

Morrus 04-02-2011 10:01 PM

Quote:

Originally Posted by Wonksta (Post 2180229)
Dragon released something:

https://vborg.vbsupport.ru/showthread.php?t=242734

Using it now the quotes are working all the time, everytime! w00t.

Yup, I'm using that too. Much better than this mod.

EddyMaxx 04-03-2011 11:42 PM

Yeah the DBTech quotes feature is awesome.

JohorBahru 08-30-2011 01:52 PM

Hi,

How do i place it at the homepage as well? Thank you!!

Artes_Marciales 09-05-2011 08:37 PM

BD Error to acces panel control
Quote:

Database error in vBulletin 3.8.7:

Invalid SQL:
SELECT user.username, quote.*, post.threadid, thread.title
FROM quotedatanew As quote
LEFT JOIN post AS post ON(quote.postid = post.postid)
LEFT JOIN thread AS thread ON(post.threadid = thread.threadid)
LEFT JOIN user AS user ON(user.userid = quote.quoter)
WHERE quote.quoted = '2' ORDER BY quote.dateline DESC LIMIT;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 6
Error Number : 1064
Request Date : Monday, September 5th 2011 @ 05:32:42 PM
Error Date : Monday, September 5th 2011 @ 05:32:42 PM

Hellmaster 09-09-2011 12:36 AM

Works on 3.8.4?

Amenadiel 09-11-2011 02:00 AM

Amazing and useful

Magoware 12-05-2011 10:20 PM

This hack didn't work on my vbulletin 3.8.2

Donkey11 12-07-2011 07:09 PM

hack didn't work 3.8.4

MoMan 04-05-2012 05:31 AM

There are some bugs in this, but after a few changes I've gotten everything working on my board. I will post the updated version as time allows...

Concha 04-09-2012 11:59 AM

Quote:

Originally Posted by MoMan (Post 2316894)
There are some bugs in this, but after a few changes I've gotten everything working on my board. I will post the updated version as time allows...

Waiting them this plugin works fine.

beekay 06-02-2012 09:45 PM

sometimes it doesn't recognize someone being quoted and doesn't notify them.

other than that it seems to be working ok. also i wouldnt mind moving the who quoted me off the user cp and maybe into the profile like in dbtech's version. if anyone has tried that let me know how it worked

itilm 12-17-2012 06:04 PM

Waooo superb Thanks for sharing

sa3eka.com 02-19-2013 07:38 AM

I test in 3.8.7 pal2
It is not working
1.2.1

ricardoNJ 02-19-2013 09:15 AM

Quote:

EDIT:
Looks like there a few bugs in this I dont have a computer at the moment but Freshfoot has made an updated release with some new features: https://vborg.vbsupport.ru/showp...1&postcount=30
...testing

puddlove 05-09-2013 03:58 PM

Can anyone help me turn this in to a vBadvanced module?

JamesN 06-05-2013 07:18 PM

Does anyone know if this works in 4.2.1?

dutchbb 07-04-2013 09:36 AM

Does anyone know how to tweak the top quoters query so that it only shows the top quoters of the last year instead of all time?

dakotart.com 12-24-2013 07:49 PM

Tested on 3.8.7 PL2

Changed settings in Admin CP. - Works

- Had to change user-groups to actual numbers instead of default "0" (aka everyone). I manually input each user-group on my board and now it's working fine.

Marking Installed.

Edit: I also added the <br> in user_cp_who_quoted_me template.


All times are GMT. The time now is 01:02 PM.

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.01402 seconds
  • Memory Usage 1,819KB
  • 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
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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