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.


All times are GMT. The time now is 11:56 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.01394 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)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