vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Who quoted me? (https://vborg.vbsupport.ru/showthread.php?t=47149)

Gamingforce 12-29-2002 10:00 PM

Who quoted me?
 
[ Feature Description ]
Many members on my board wanted an easy way to find out when and where they were quoted. Email would have been impractical since it would flood a person's inbox with corny "You have been quoted" messages so I created a hack that lets people keep track of when they were quoted on a forum page.

You can change the number of latest quoted entries to display on the page and installation is pretty simple.

[ What you need to modify/add ]
File to modify: newreply.php
Templates to modify: usercp_forums
Templates to add: whoquotedme, whoquotedmebit
MySQL Queries to run: 1

[ Tested on ]
vBulletin version 2.2.9 (should work on any vB 2.x.x)

[ Example ]
http://www.gamingforce.com/stuff/whoquotedme.gif

[ To Do List]
-Integration with Admin CP
-Purge data older than x days script

This is an active project of mine and will be updated. Note that I will provide an easy way to upgrade from older versions of this hack. If you install this script, click install up on top. Enjoy, and as always, comments are appreciated!

NTLDR 12-30-2002 08:25 PM

Looks good :) If I can create a script to add all the existing posts with quotes I might use this one.

Dean C 12-30-2002 08:34 PM

Wow this looks quite cool :p

Gamingforce 12-30-2002 08:36 PM

Quote:

Originally posted by NTLDR
Looks good :) If I can create a script to add all the existing posts with quotes I might use this one.
Unless doing a search within the content of all posts (which is unreliable) vBulletin doesn't tag which posts have been quoted or not. I might work on a script though that still does it anyway. ;)

JulianD 12-30-2002 10:04 PM

It's a nice hack, I might use it!

Mystis 12-30-2002 10:13 PM

Very nice looking hack, thanks for sharing :)

Velocd 12-30-2002 10:27 PM

Indeed, I'll have to install this one sometime soon ;)
[high]* Velocd kicks install[/high]

partang2 12-30-2002 10:29 PM

"You have an error in your SQL syntax near ') TYPE = MYISAM ' at line 6"

Something wrong here m8!....

Gamingforce 12-30-2002 10:48 PM

Sorry, my mistake. The following below is the query to run. The zip file has been updated too!

Code:

CREATE TABLE quotedata (
  quoted int(10) unsigned NOT NULL default '0',
  quoter int(10) unsigned NOT NULL default '0',
  threadid int(10) unsigned NOT NULL default '0',
  dateline int(10) unsigned NOT NULL default '0',
  KEY quoted (quoted)
) TYPE=MyISAM;


Chris M 12-30-2002 11:01 PM

Looks good;):)

Satan


All times are GMT. The time now is 02:36 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.02068 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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