![]() |
Forum Search Stats V.2
Hi all
Did you ever wondered what your users expect to find in your forums? Did you ever wanted to know what are their needs? Did you ever wanted to let them know what they can easily find? If your answer is "Yes", then you must use this product ... The 1st version was here https://vborg.vbsupport.ru/showthread.php?t=139829 What is new in Version 2
1- Log user searches in your forums. 2- Show most searched keywords on the main forums page in away that demonstrates every keywords importance in your forums. Screens https://vborg.vbsupport.ru/external/...chmentid=67368 https://vborg.vbsupport.ru/external/...chmentid=67369 https://vborg.vbsupport.ru/external/...chmentid=67370 https://vborg.vbsupport.ru/external/...chmentid=67371 Version Expected to work on all vBulletin 3.6 versions tell now. Template Edits 1 template edit in FORUMHOME Plugins 2 Plugins Installation 1- Upload the directory "upload" contents to your forum root. 2- Import the attached product "[product] Forum Search Stats 2.0.xml" into your AdminCP. 3- Edit template "FORUMHOME": BEFORE: Code:
</table> Code:
<if condition="$vbulletin->options['setting_searchstats_showuser'] AND in_array($vbulletin->userinfo['usergroupid'], $allowed_groups)"> you can also NOMINATE FOR MOD OF THE MONTH :) ALSO, many thanx for all who helped in testing and debugging the 1st version, the list is long so i couldnt name them here :) |
screenshots :)
|
Sounds like a good idea. I'll wait for other's opinions on it
|
I hope I'm not stepping on any toes, cause I really do love this mod.
I just tested V2 on 3.6.4 to see if it would work and get the following error when trying to view search stats in admincp. (I know, i'm too lazy to do the full 3.6.7 update and settled for just the security patches) Code:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /my/path/forum/admincp/search_stats.php on line 18 in search_stats.php Replace this: PHP Code:
PHP Code:
The actual search terms don't show up (just the word "None") but the block itself still shows. I would think the entire section should not show if they don't have viewing permissions. It doesn't make sense to show a 'search stats' box with nothing in it. So I changed the FORUMHOME template edit from this: Code:
<if condition="$vbulletin->options['setting_searchstats_showuser']"> Code:
<if condition="$vbulletin->options['setting_searchstats_showuser'] AND in_array($vbulletin->userinfo['usergroupid'], $allowed_groups)"> |
very nice
|
How can I show the most searched keywords using vbadvanced? like a search cloud?
|
Does the list of most searched for terms have to go in the "what's going on box"? I think that is the most illogical place to put it.
|
Quote:
i dont know maybe u have another hack which interfere with this? Quote:
please re-download the product |
looks cool :D thanks for sharing .. won't install yet, but looks really nice .. great job :D
|
Quote:
Quote:
Quote:
|
Quote:
I just remembered that I had the same problem with V1 and that was the fix which also happened to work on v2 I guess it's possible I have something else in there that is conflicting with it (although i can't imagine what it could be since search_stats.php is a stand alone admincp script and I have no mods that alter the search in any way. But who knows, when you start modding stuff you run into all kinds of potential for conflicts. I just figured I would post up the fix just in case someone else experienced a similar problem. Again, thank you for a great mod. |
Just a thought, but it occurred to me that every time a user clicks on one of the "most searched" keywords on forum home it is actually increasing the count for the # of times that term/phrase was searched for, thereby falsely inflating the true number of searches people did on the term.
Since people are likely to click on them because...they can....it would seem those "most searched" words would be inflated and always remain showing in the top 20 most searched. Maybe append a new parameter to the end of the link to each of those search terms something like (searchstats=donotcount for example). Where if that parameter is passed when clicking on the link, the searchstats plugin knows not to add to the count for that word/phrase. This way the only words counted in the search stats are terms people actually searched for on their own. Anyway, just an idea. That was a change on made on mine. |
Quote:
|
Quote:
maybe i have sometime to update it soon and add it thanx for ur feedback & support Regards Mahmoud |
This is a really good hack for me. And putting it at what's going is is equally good. VbAdvanced module would put more value to it though.
Thank you! |
Quote:
but i think this place is suitable for this stat if it is all going to go like u said, so we should move the "Members count stat" to the memberlist page :rolleyes: i think the Forumhome footer is suitable for displaying multiple stats which belongs to different things thanx again for ur feedback, of course everyone has his own point of view, this doesnt mean the other is false :) |
Quote:
i will think about integration with VBA thanx for ur feedback :) Regards |
Quote:
forumhome_complete plugin: Code:
if(!in_array(strip_tags($put['query']), $censor_words)) $most_searched .= "<a href=\"search.php?do=process&searchstats=nocount&q=". $put['query'] ."\"><font size=\"".$r."\">" . strip_tags($put['query']) . "</font></a> "; search_process_start plugin: Code:
if($vbulletin->options['setting_searchstats_onoff'] AND $_REQUEST['searchstats']!='nocount') |
Looks interesting, I might try this out at some point. Cheers. :)
|
How would I go about editing in order to have the display font show up as 'smallfont'?
|
As Wayne already suggested, I'd show this on Advanced Search.
TMS XML attached for those who need it :) |
Quote:
if u dont mind i added ur snippet of code to the product, preserving ur copyright ;) thanx again for ur help Quote:
Quote:
replace: Code:
size=\"".$r."\" Code:
class=\"smallfont\" Quote:
|
Quote:
Thanks. |
Quote:
|
thank u man ;) very nice... installed
|
I'd like to see this as a sidebar module.
So I can show the searched cloud on my sidebar www.agnosticforums.com Or just some easy code I could paste into one of the boxes in my side module would be cool. |
Also what about permissions?
If you have this set so guests have to use CAPTCHA to search does this bypass that or do they get an error or something? |
Quote:
Code:
$most_searched and tell me if it is not working Quote:
|
fixed thank you..
|
It would be possible to user a separate "censor list" only to be used in with this mod? I would like to censor some searches, but i can't censor that words in the whole forum..
Thanks, and it's a great mod! |
Help!!!
I just installed this mod and my entire forum has gone blank. I uninstalled this, and it's still blank! Any assistance would be appreciated! |
BryanB - try reverting the FORUMHOME template?
|
Quote:
thanx for ur feedback Quote:
as BryanB said, try retreiving the original FORUMHOME template also put ur forum's link to see the problem |
I tried upgrading another mod a few days ago which mangled some of the database tables (which were repaired). When installing this mod, it somehow was affected by the other mod phpAdsNew Banner Ads integration
Anyway, I was able to correct this by having several of the templates reloaded. What a PITA. As soon as I'm sure the other mod is fully uninstalled, I'll try this again. |
Is anyone running the phpadsnew banner ads and this mod - and can confirm there are no compatibility issues?
|
Quote:
Do you think it would be possible to add this function in future versions? Thanks! |
Quote:
Perhaps if they were kept track of separately (for admins to view)... So you can see how many clicks the 'search links' got on the homepage, and separately how many times someone entered a keyword search. Two separate stats. Personally, once I have the time to install this mod, I am just going to use it to collect search stats for my own informational purposes (assuming it can be used this way) -vissa |
By the way, how does this affect guests who have to enter the captcha verification before performing a search? If they click the keywords on the homepage, does it then take them to the advanced search with the keywords filled in (assuming captcha is turned on for guest searches)?
-vissa |
Quote:
regards :) Quote:
|
I have customs usergroup "Bulldog Guard" with user group id:9
Then when I set "who can see most searched keywords?" to 5,6,9 there only usergroup id 5,6 who can view the most searched keywords stats in the mainpage. All user who included usergroup 9 doesnt see it. Please help. |
All times are GMT. The time now is 06:10 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|