vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Statistics Modifications - Forum Search Stats 1.0 (https://vborg.vbsupport.ru/showthread.php?t=139829)

coderphp 02-25-2007 05:22 AM

Quote:

Originally Posted by ncweb (Post 1190071)
Thanks Mahmoud, any chance of posting your mysql version? I'm a newb when it comes to mysql errors but still curious to know. I appreciate you work on this mod, I love being able to see what terms users are searching for. Also, I downloaded 2days ago.. what changes were made on 2/23/2007 and should I uninstall/upgrade? Thank you.

MySQL version: 4.1.21

re-upload the file admincp/search_stats.php as the variable "$this" was renamed to "$thispage"

dutchbb 02-25-2007 07:39 AM

Quote:

Originally Posted by coderphp (Post 1189902)
of course size is specified depending on the popularity of the keyword in ur forum

Ok but can it be ordered so that keywords with more searches are displayed instead of the ones that have only 1 search? :)

coderphp 02-25-2007 01:52 PM

Quote:

Originally Posted by dutchbb (Post 1190221)
Ok but can it be ordered so that keywords with more searches are displayed instead of the ones that have only 1 search? :)

Indeed keywords with more search times is displayed...
if you have all keywords searched just one time, then that means that no keyword is searched twice till now...

you can try to click on any keyword on the footer and search for it.. it is supposed to be larger the next time u visit the homepage

dutchbb 02-26-2007 03:06 PM

But it shows keywords with only one search on forumhome while there are keywords with more than one search.

The statistics also still show the top keyword with a lot of searches but it is blank. So I think something is wrong on my board. Its not wrking like it should.

coderphp 02-26-2007 04:16 PM

Quote:

Originally Posted by dutchbb (Post 1191155)
But it shows keywords with only one search on forumhome while there are keywords with more than one search.

The statistics also still show the top keyword with a lot of searches but it is blank. So I think something is wrong on my board. Its not wrking like it should.

ok there seems really something wrong... so u can re-install the hack & start testing it on ur own before people submit their searches

VIP66 02-26-2007 06:10 PM

Thank you

VIP

unitedpunjab 02-26-2007 08:00 PM

I modified the hack to process the search directly instead of taking to search page (I like it that way)
I am attaching the modified product file in case some one else want it that way,

Demo: http://www.unitedpunjab.co.uk/

coderphp 02-27-2007 07:42 AM

Quote:

Originally Posted by unitedpunjab (Post 1191366)
I modified the hack to process the search directly instead of taking to search page (I like it that way)
I am attaching the modified product file in case some one else want it that way,

Demo: http://www.unitedpunjab.co.uk/

thank you

FireFish 03-01-2007 03:31 AM

Nice mod; the only thing I'd change is the large font / font size representing the searches.

It makes my front page look inconsistent, so I disabled showing this on the front page.

I use it just to monitor from the AdminCP.

It would be nice to simply have the top searches there in a normal page font & do something like a mouse over or number next to each term in parenthesis representing search popularity.

coderphp 03-01-2007 09:15 AM

Quote:

Originally Posted by FireFish (Post 1193092)
Nice mod; the only thing I'd change is the large font / font size representing the searches.

It makes my front page look inconsistent, so I disabled showing this on the front page.

I use it just to monitor from the AdminCP.

It would be nice to simply have the top searches there in a normal page font & do something like a mouse over or number next to each term in parenthesis representing search popularity.

you can change the keywords font size this way:

Quote:

Originally Posted by Redlinemotorsports (Post 1188454)
Hi Nikki, the easiest way I could do it was this...

Go into your admincp > plugins & products > plugin manager

and edit Forum Search Stats 1.0 at hook location forumhome_complete

Then change:
PHP Code:

$rat 5/$max

To:
PHP Code:

$rat 2/$max

You can change 2 to whatever number you want. 2 is just what I have mine at



All times are GMT. The time now is 10:37 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.01190 seconds
  • Memory Usage 1,746KB
  • 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_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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