vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   [Request] : Search Log hack ! (https://vborg.vbsupport.ru/showthread.php?t=50990)

PurpleCow 03-30-2003 05:32 AM

[Request] : Search Log hack !
 
Hello,

Is there any hack which recods and displays as a search log in the AdminCP ??

This should redord :

1. The phrases searched
2. who searched
3. Number of thread results displayed by the search
4. Option for the admin within adminCP to delete logs
5. Download the search logs as tar/zip file.

Thanks if anyone can do this ?!

Cheers

Logician 03-30-2003 06:47 AM

similiar: https://vborg.vbsupport.ru/showthrea...ight=search%2A

PurpleCow 03-30-2003 10:29 AM

Logician :

Thanks for the link,I have seen that hack, but what i want is in the admin CP not open to public, its just for my analysis as admin or owner of some community.

This can help me improving my boards.

I feel the same hack can be updated , added more features to achieve whats mentioned in my first post.

Just just 10 posts, i want all the searches to be logged....and then...there should be an option to delete the logs once the analysis is performed.

anyone interested to work on it ??

Thanks for your valuable time.

Cheers

Logician 03-30-2003 07:13 PM

1 Attachment(s)
here you go:

Logician 03-30-2003 07:14 PM

1 Attachment(s)
this is the file to upload:

Logician 03-30-2003 07:15 PM

FYI: Altough it's not Admin CP integrated, it can be displayed by Admins only!

Also it displays all existing keywords (upto 1000) in your search table so if you get few results, this is because that is all kept in your table..

Enjoy

PurpleCow 03-31-2003 02:08 AM

Thanks Chief !

Logician :

Thank you for helping me with the code.

I'll install it in a couple of hours now. I'll get back here, if i bump into any problems or i'll PM if it works fine for me.

Cheers

PurpleCow 03-31-2003 11:42 AM

Logician :

I installed the hacka nd its working perfectly fine.

Just that, i changed a bit of HTML...

Thanks very much for your valuable time.

Cheers

gcurrey 08-14-2004 07:40 PM

I tried this on 3.0.3 and got a database/table error. What needs to be changed on this mod to make it compatible with the latest database structure?

The error I get is:

Database error in vBulletin 3.0.3:

Invalid SQL: SELECT query("SELECT search.searchid,search.orderedids,search.dateline, search.query,search.userid,use r.username,user.userid,user.usergroupid FROM " . TABLE_PREFIX . "search," s LEFT JOIN user u ON u.userid=s.userid WHERE querystring!="" ORDER BY searchid desc LIMIT 1000
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 '("SELECT search.searchid,search.orderedids,search.dateline, sear

mysql error number: 1064

Logician 08-23-2004 09:44 AM

1 Attachment(s)
Quote:

Originally Posted by gcurrey
I tried this on 3.0.3 and got a database/table error. What needs to be changed on this mod to make it compatible with the latest database structure?

vb3 version:


All times are GMT. The time now is 11:41 AM.

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.01253 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_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