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-18-2007 10:00 PM

Forum Search Stats 1.0
 
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 ...

Features
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.

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 1.0.xml" into your AdminCP.
3- Edit template "FORUMHOME":
BEFORE:
Code:

</table>
<br />
<!-- end what's going on box -->

ADD:
Code:

<if condition="$vbulletin->options['setting_searchstats_showuser']">
<tbody>
 <tr>
  <td class="thead" colspan="2">
  <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
$vbphrase[most_searched]
</td>
 </tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
 <tr>
  <td class="alt2"><img src="images/misc/search_stats.gif" alt="$vbphrase[most_searched]" border="0" /></td>
  <td class="alt1" width="100%">$most_searched</td>
 </tr>
</tbody>
</if>

Finally, if you like the product Please show your support by clicking INSTALL..
you can also NOMINATE FOR MOD OF THE MONTH :)


IMPORTANT: after installation if you noticed that keyword font size is very large, wait and give it a try as font size is depending on num of search in ur forum, so wait and give it a try...

soletrader 02-19-2007 10:29 AM

Installed! Thank you very much for this. Looks nice :)

TheBlackPoet 02-19-2007 10:32 AM

great hack!! since i have a dark theme... i changed the graphic to something appropiate... and made the search result text smaller... but other than that.... this is great!! really nice..

i personally cant think of anything this hack needs to be any better

coderphp 02-19-2007 10:36 AM

Quote:

Originally Posted by soletrader (Post 1185887)
Installed! Thank you very much for this. Looks nice :)


thank you...

coderphp 02-19-2007 10:38 AM

Quote:

Originally Posted by TheBlackPoet (Post 1185890)
great hack!! since i have a dark theme... i changed the graphic to something appropiate... and made the search result text smaller... but other than that.... this is great!! really nice..

i personally cant think of anything this hack needs to be any better


thank you for your feedback...
dont change font size till you test the hack for sometime.. as keyword size is dependable upon its importance in ur forum.. :)
if you could put a url for ur forum as a demonstartion

TheBlackPoet 02-19-2007 10:40 AM

Fatal error: Cannot re-assign $this in /xxxxxxxxxx/xxxxxxx/admincp/search_stats.php on line 14
??? i clicked on the show statistics and got this error....

the /xxxxxxxxxx/xxxxxxx/ is just my url info.. thats not a problem....

i just get a white page... with the error..

coderphp 02-19-2007 10:46 AM

Quote:

Originally Posted by TheBlackPoet (Post 1185895)
Fatal error: Cannot re-assign $this in /xxxxxxxxxx/xxxxxxx/admincp/search_stats.php on line 14
??? i clicked on the show statistics and got this error....

the /xxxxxxxxxx/xxxxxxx/ is just my url info.. thats not a problem....

i just get a white page... with the error..

so sorry Malik...

i think i was using the same name as $this class..

fixed the problem please re-upload the file "search_stats.php" from the new attachment

TheBlackPoet 02-19-2007 10:50 AM

PERFECTION!!! works like a charm!!!! good job Mahmoud!!

projectego 02-19-2007 11:20 AM

Wow! This looks awesome. Thanks very much, coderphp!

sarum 02-20-2007 03:07 AM

very nice hack
*clicks installed*

ever thought about expanding this to show statistics by usergroups/users etc


All times are GMT. The time now is 05:43 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.01267 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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