vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Mod to search for replies to your messages (uploaded) (https://vborg.vbsupport.ru/showthread.php?t=67712)

CarCdr 07-27-2004 09:00 PM

Mod to search for replies to your messages (uploaded)
 
Search For Replies To Your Posts
================================

Difficulty: Easy
Files to modify: search.php
Compatibility: 3.0.0, 3.0.1, 3.0.3

This hack adds a section to search.php to support two new actions:

getnewreplies: List replies to your posts since your last visit.

getdailyreplies: List replies since a certain number of days.
Use 'days' parameter to control the number of days to search.

The code is based on the section for 'getnew' and 'getdaily'.
The maximum number of results returned is controlled by
$vboptions[maxresults], per other search.php results.

Additionally, you can specify 'showposts=1' (DEFAULT) to show the
results as posts. 'showposts=0' will display results as threads.

Examples:

/search.php?do=getnewreplies
Show new replies to your posts since your last visit.

/search.php?do=getnewreplies&showposts=0
Show threads containing a reply to a post you have made, only
for replies posted since your last visit.

/search.php?do=getdailyreplies&days=7
Show replies to your posts that have been entered during the
last 7 days.

Results are displayed by search.php the same as any other search, so a screenshot would be redundant.

Code to add to search.php contained in attachment.

Osterling 07-28-2004 01:53 AM

i would be happy to help test it

MindTrix 07-28-2004 06:47 AM

This should have gone in the Discussion section or lounge really. This area is for releasing hacks only. Sounds like a nice mod you got going though.

CarCdr 07-28-2004 03:51 PM

Quote:

Originally Posted by MindTrix
This should have gone in the Discussion section or lounge really. This area is for releasing hacks only. Sounds like a nice mod you got going though.

Good point. Shoulda posted it elsewhere.

I'll make good by posting the hack after work today and modifying the first post of the thread appropriately.

CarCdr 07-28-2004 07:20 PM

I have uploaded the mod. See the updated first post.

CarCdr

Osterling 08-01-2004 12:42 PM

i added the code and it doesn't seem to work


All times are GMT. The time now is 02:57 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.02011 seconds
  • Memory Usage 1,716KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete