Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-30-2003, 05:32 AM
PurpleCow PurpleCow is offline
 
Join Date: Mar 2003
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default [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
Reply With Quote
  #2  
Old 03-30-2003, 06:47 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

similiar: https://vborg.vbsupport.ru/showthrea...ight=search%2A
Reply With Quote
  #3  
Old 03-30-2003, 10:29 AM
PurpleCow PurpleCow is offline
 
Join Date: Mar 2003
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 03-30-2003, 07:13 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here you go:
Attached Files
File Type: txt global search keyword list.txt (2.1 KB, 21 views)
Reply With Quote
  #5  
Old 03-30-2003, 07:14 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is the file to upload:
Attached Files
File Type: php keywordlist.php (1.4 KB, 17 views)
Reply With Quote
  #6  
Old 03-30-2003, 07:15 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 03-31-2003, 02:08 AM
PurpleCow PurpleCow is offline
 
Join Date: Mar 2003
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 03-31-2003, 11:42 AM
PurpleCow PurpleCow is offline
 
Join Date: Mar 2003
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 08-14-2004, 07:40 PM
gcurrey gcurrey is offline
 
Join Date: Mar 2002
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 08-23-2004, 09:44 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Attached Files
File Type: txt global search keyword list VB3.txt (1.5 KB, 13 views)
File Type: php keywordlist.php (2.7 KB, 15 views)
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 09:09 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.04089 seconds
  • Memory Usage 2,273KB
  • Queries Executed 12 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete