vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Who Quoted Me? - Version 2.0 (https://vborg.vbsupport.ru/showthread.php?t=67938)

Gamingforce 08-02-2004 10:00 PM

Who Quoted Me? - Version 2.0
 
[ Feature Description ]
This is a very popular feature on my community since it allows people to easily track who's been quoting them. This is very useful because it allows you to easily check up on who's been replying to you! This hack is a HUGE upgrade from the version I made for vBulletin 2.0 because it's precise, fast, supports multiple users, direct post linking and more! This is even more useful than the vb2 version because vB3 doesn't search for your username within quote tags!

How does it work?
  1. John quotes Paris in a reply and also quotes Nicole.
  2. The hack recognizes that John's quoting Paris and Nicole and adds 2 entries to the quotedata table.
  3. Paris and Nicole can see in their "Who Quoted Me?" page that John has quoted their post.
  4. Paris wants to see the post with her quoted on and she clicks the link. She is brought to the post!
  5. Everyone is happy and John enjoys a Chalupa from Taco Bell.*
For such a useful feature, it's incredibly easy to install! Just modify one line in a file, add two templates, modify one template and run a query!

You can easily modify the number of results to display for the user! Just change the $zig in the whoquotedme.php file!

[ Screenshots ]

http://www.gamingforcex.com/chocobo/whoquotedmeex.gif
The link to Who Quoted Me? in the User CP.

http://www.gamingforcex.com/chocobo/whoquotedmess.gif
A screenshot of the Who Quoted Me? page. I quoted myself 3 times because I just reset the quotedata table and nobody really wants to quote me. :(

Enjoy! :)

integra99 08-03-2004 06:20 AM

seems like it would be a quite a server intensive process, no?

Gamingforce 08-03-2004 06:26 AM

Nope not at all! The quote data is saved once into a small database row that uses only numbers as the post is made and is only pulled when someone a user views the Who Quoted Me? page.

Even with over 250 concurrent users on my board, this hack hasn't slowed anything down one bit!

integra99 08-03-2004 06:29 AM

Quote:

Originally Posted by Gamingforce
Nope not at all! The quote data is saved once into a small database row that uses only numbers as the post is made and is only pulled when someone a user views the Who Quoted Me? page.

Even with over 250 concurrent users on my board, this hack hasn't slowed anything down one bit!

Hmm, sounds like a good design.

[high]* integra99 is going to try it out.[/high]

reteep 08-03-2004 07:16 AM

Sounds pretty nice, installing it now!

Natch 08-03-2004 10:57 AM

Nice job ! Excellent work...

Question: is there any way you can add a new Maintenance task to rebuild the WhoQuoted table based on an analysis of all post?

Gamingforce 08-03-2004 01:05 PM

A script that builds quotadata by going through all posts prior to installation of this hack is in the works. :) It's not going to change the current script or data at all so feel free to install it now.

Natch 08-03-2004 01:43 PM

Good on you - thanks for this :)

Natch 08-03-2004 01:57 PM

And u forget two things in your install script:
Code:

==========================================================
[OPEN FILE includes/functions_user.php]
==========================================================
[FIND]-->
                'event_reminders',

[REPLACE WITH]-->
                'event_reminders',
                'whoquotedme',
==========================================================

and
Code:

==========================================================
[FIND]-->
==========================================================
<tr>
        <td class="alt2" nowrap="nowrap"><a class="smallfont" href="whoquotedme.php?$session[sessionurl]">Who Quoted Me?</a></td>
</tr>
==========================================================
REPLACE WITH -->
==========================================================
<tr>
        <td class="$navclass[whoquotedme]" nowrap="nowrap"><a class="smallfont" href="whoquotedme.php?$session[sessionurl]">Who Quoted Me?</a></td>
</tr>


YabbaDabba 08-06-2004 03:48 PM

First off, Bravo!!

I've been looking for something like this for vB 3.x for awhile now.
Members want to easily see who is trying to converse with them.
So I will definitely be trying this out!!

I do have a request/suggestion.
Rather than bury the link in the CP, wouldn't it make sense to put a link in the main menu bar? A popular feature suggests a need for ease of access. I would suggest adding a "My Conversations"(?) link to the "Quick Links" pop-up menu near "New Posts." This would make it very easy to access and increase its popularity further.

Again, many thanks for your work!


All times are GMT. The time now is 01:46 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.01057 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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