![]() |
Great idea for a hack. I've asked many people about something exactly like this! There is no better keyword data than from your internal search!
Edit: gah - is there anyway that the output can be displayed on a page in the admin control panel. I don't want others to see this data, it should be used internally only. Like a list of the last 100 searches or something. |
Cool Mod.. thx!!
|
Quote:
Code:
<installcode><![CDATA[$db->hide_errors(); |
Hello, i just install this module and after this i get this error
Quote:
|
Quote:
|
:confused:
When using this mod in Firefox, the keywords show weird behavior. For instance: a keyword like "Roma Pass" would show "Pass" at the end of line 2 and "Roma" at the beginning of line 1. (See screenshot 1, and yes, this is one keyword, not two). Also, as soon as one clicks a keyword, the keywords sort of jump around and even disintegrate before the search-page is loaded, and most of the time the search page isn't even loaded at all. Link: http://www.roma-antiqua.de/forum/ Screenshots attached. This is the source code of the page: HTML Code:
<td class="alt1" width="100%"><span dir="rtl"><a rel="nofollow" href="http://www.roma-antiqua.de/forum/search.php?do=process&query=jugendherberge"><font size="3">jugendherberge</font></a></span> <span dir="rtl"><a rel="nofollow" href="http://www.roma-antiqua.de/forum/search.php?do=process&query=rom meer"><font size="3">rom meer</font></a></span> <span dir="rtl"><a rel="nofollow" href="http://www.roma-antiqua.de/forum/search.php?do=process&query=romapass"><font size="2">romapass</font></a></span> <span dir="rtl"><a rel="nofollow" href="http://www.roma-antiqua.de/forum/search.php?do=process&query=Roma Pass"><font size="3">Roma Pass</font></a></span> <span dir="rtl"><a rel="nofollow" href="http://www.roma-antiqua.de/forum/search.php?do=process&query=Toiletten"><font size="3">Toiletten</font></a></span> <span dir="rtl"><a rel="nofollow" href="http://www.roma-antiqua.de/forum/search.php?do=process&query=Kolosseum"><font size="5">Kolosseum</font></a></span> <span dir="rtl"><a rel="nofollow" href="http://www.roma-antiqua.de/forum/search.php?do=process&query=tempel"><font size="2">tempel</font></a></span> <span dir="rtl"><a rel="nofollow" href="http://www.roma-antiqua.de/forum/search.php?do=process&query=taxi pauschale"><font size="3">taxi pauschale</font></a></span> <span dir="rtl"><a rel="nofollow" href="http://www.roma-antiqua.de/forum/search.php?do=process&query=taxi"><font size="2">taxi</font></a></span> <span dir="rtl"><a rel="nofollow" href="http://www.roma-antiqua.de/forum/search.php?do=process&query=Fiumicino"><font size="2">Fiumicino</font></a></span> </td> In IE everything works just fine. |
Never mind, fixed it myself. Maybe you should think about changing the code accordingly?
I had to change the code of the "forumhome_complete" plugin. It's this piece of code: Code:
$r = round($rat*$put['count']); Next problem, which caused the funny line-changing-behaviour I described: If you insert " " only, Firefox will not allow linebreaks there - which is exactly as it should be (after all, nbsp stands for non breaking space). So linebreaks will only be where there happens to be a space in the keywords (i.e. if the search term consists of two words). Solution: Add a normal space in the code after the closing a-Tag. So, the code from above looks like this and now works all well in Firefox! Code:
$r = round($rat*$put['count']); --- Furthermore I centered the keywords, which is really easy to do. Instead of the original template-modification-code provided, use this: Code:
<if condition="$vbulletin->options['setting_searchstats_showuser']"> |
Another question I have.
At my forum it seems that not the most searched keywords are displayed, but a random choice of all keywords. If I hit reload every so often, sometimes one or other of my most searched for keywords vanish. |
PHP Code:
Also, it would be great if you could make it so that it would log what people search for via the Zoints Tag search. |
For all the people who have the SQL problem:
You have to rename the created table, MANUALLY, with PhpMyAdmin or other SQL management scripts, from coder_searchstats, to vb_coder_searchstats. The creator of this module, appends all over the place, the VB standard table prefix, although he creates the database without it. |
All times are GMT. The time now is 02:38 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:
|