Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Who Quoted Me Details »»
Who Quoted Me
Version: 1.2.0, by renlok renlok is offline
Developer Last Online: Apr 2015 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.1.0 Rating:
Released: 12-14-2010 Last Update: 01-26-2011 Installs: 139
DB Changes Uses Plugins
Additional Files  
No support by the author.

In the user control panel, users can now see a list of the last few people who have quoted them.
This is a great way to encourage users to interact with each other as they can easily keep track of conversations within threads.


Based off https://vborg.vbsupport.ru/showthread.php?t=103768

Change log:
15-12-2010: v1.0.0 initial release
16-12-2010: v1.1.0 Added admin settings and notifications about new quotes
27-01-2011: v1.2.0 Added a button in maintenance -> update counters which finds all quotes and adds them to the who quoted me list (So users know who quoted them in all posts not just those made after installing this)

If you use this i would really appreciate any small donation


If you want The who quoted me list to have its own page download wqm_Page.zip upload the wqm.php file, install the plugin and in the plugin manager open up the Add to notifications list plugin find
PHP Code:
usercp.php 
and replace with
PHP Code:
wqm.php 

Download Now

File Type: zip wqm Page.zip (4.5 KB, 491 views)
File Type: xml product-who_quoted_me.xml (11.3 KB, 490 views)

Screenshots

File Type: png Screen shot 2010-12-15 at 23.17.36.png (13.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
babyv0x, henriof9

Comments
  #82  
Old 11-14-2012, 05:50 PM
vauge vauge is offline
 
Join Date: Oct 2004
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE=Swedie;2273791]I figured it out pretty decently what caused it. It was the first preg_match but also for me I needed /is for case incensitive version.

Replace all the code in the plugin for this mod: Find Quotes

Code:
if(preg_match("/\[quote=(.*)\](.*)\[\/quote\]/is", $post['message'])) 
{
   preg_match_all("/\
Quote:
Originally Posted by (.*?)\
(.*?)\[\/quote\]/is", $post['message'], $quotematch); $quotecount = count($quotematch[0]); $tempcount = 0; $quotearray = array(); while ($tempcount < $quotecount) { $username = explode(';', $quotematch[1][$tempcount]); $quoteduserid = $vbulletin->db->query_first( "SELECT userid FROM " . TABLE_PREFIX . "user WHERE username = '" . $vbulletin->db->escape_string(htmlspecialchars_uni($username[0])) . "'" ); if (!in_array($quoteduserid['userid'], $quotearray)) { if ($quoteduserid['userid'] > 0) { $vbulletin->db->query_write(" INSERT INTO " . TABLE_PREFIX . "quotedatanew (quoted,quoter,postid,dateline) VALUES ('" . $quoteduserid['userid'] . "','" . $vbulletin->userinfo['userid'] . "','" . $post['postid'] . "','" . time() . "')" ); $quotearray[] = $quoteduserid['userid']; } } $tempcount++; } }
Quote:
Originally Posted by (.*?)\

This means this mod works up to version 4.x.x.
Is there a way to wrap this in a forumid array check to turn off specific forums?

Thanks!
Reply With Quote
  #83  
Old 11-15-2012, 08:05 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it working with 4.1.12?
Reply With Quote
  #84  
Old 12-14-2012, 08:05 AM
letipro letipro is offline
 
Join Date: Jun 2012
Location: Ở đ?u c?n l?u
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please update to vbb 4.2.0
thank
Reply With Quote
  #85  
Old 12-16-2012, 06:32 PM
acast acast is offline
 
Join Date: Aug 2008
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having a problem. With the mobiles, the quotes don't appear.
Reply With Quote
  #86  
Old 12-16-2012, 07:23 PM
halocommunity halocommunity is offline
 
Join Date: Nov 2011
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works on 4.2.0 PL2 and updated the plugin to allow for quotes with line breaks. Any chance we can get an option in the usercp to turn off notifications?
Reply With Quote
  #87  
Old 01-05-2013, 07:00 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The mod is working but there is a user (white❤heart), She doesn't receive notifications
If I remove this symbol (❤) and change her username to (white heart) then it is working perfect !

Any idea?
Reply With Quote
  #88  
Old 02-01-2013, 08:39 AM
marccap's Avatar
marccap marccap is offline
 
Join Date: Feb 2012
Location: uk
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed on 4.2 and working fine
Reply With Quote
  #89  
Old 02-18-2013, 03:37 AM
RFLIndustries RFLIndustries is offline
 
Join Date: Feb 2013
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to make it where it does not open up a new window?
Reply With Quote
  #90  
Old 02-24-2013, 06:28 PM
WorldCraft WorldCraft is offline
 
Join Date: Jun 2010
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works alright. I'd like to request the feature of allowing users to choose if they want notifications on or off.
Reply With Quote
  #91  
Old 07-04-2013, 03:11 AM
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working perfectly for me on 4.2.1. You do have to go to your Admin CP Settings section to turn on the 'Notifications' function, just as an fyi...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:45 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.04615 seconds
  • Memory Usage 2,336KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete