vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - vB3.5 15 Most Recent Searches Made By Our Members (https://vborg.vbsupport.ru/showthread.php?t=95270)

dieselpowered 09-02-2005 02:21 AM

Ummm actually guest can view the searches. :)

Boofo 09-02-2005 03:13 AM

Quote:

Originally Posted by xtremeoff-road
Ummm actually guest can view the searches. :)

But only in those forums you allow guests to view. ;)

dieselpowered 09-02-2005 03:29 AM

Quote:

Originally Posted by Boofo
But only in those forums you allow guests to view. ;)

What do you mean? Are you saying that results will only display if guests have the permissions to view the forums in which the search results found information?

LOL that was a mouthful...

So if guests cannot view any of the forums, they will be unable to view the last 15 searches?

Boofo 09-02-2005 03:34 AM

Quote:

Originally Posted by xtremeoff-road
What do you mean? Are you saying that results will only display if guests have the permissions to view the forums in which the search results found information?

LOL that was a mouthful...

So if guests cannot view any of the forums, they will be unable to view the last 15 searches?

Exactly! ;)

Try searching for a word that is in a private forum and you will notice that it will not show up to anyone who doesn't have permission to view that forum. As I stated in the first post, this is now FULLY permissions based. ;)

Marco van Herwaarden 09-02-2005 12:00 PM

Quote:

Originally Posted by xtremeoff-road
What do you mean? Are you saying that results will only display if guests have the permissions to view the forums in which the search results found information?

Even better then just that. If a search for a word has for example 5 resulting threads, of which 3 are in public forums, and 2 in privat. It will show to those that have no access to the privat forum, that there are only 3 results. :D

Boofo 09-02-2005 07:20 PM

In Marco's example, the Admin, who has access to all forums would see the results as: 5 Threads while the other user who does NOT have access to the private forums would see the results as: 3 Threads. ;)

I tried to do this on the vB 3.0 version but didn't have any luck at it then. Marco's expert coding allowed it to happen for this version now. ;)

Marco van Herwaarden 09-02-2005 08:04 PM

No luck involved in coding Boobo. :D

Boofo 09-02-2005 08:14 PM

Quote:

Originally Posted by MarcoH64
No luck involved in coding Boobo. :D

I rely on luck when I code. I have to. I don't have the skills you do. ;)

Alien 09-11-2005 09:23 PM

On RC3, has anyone gotten repeated looping? Like when going to the search page you will see, for example 5 results and 5 tables repeating the same information.. Do a new search, and you will notice 6 seperate tables (with all the correct data) but it keeps creating brand new template tables per search term.. Anyone? :)

Boofo 09-11-2005 09:27 PM

All this hack does is read the last 15 rows from the search table. It is very possible to have what looks like duplicates, but are really not, if you search for the same item more than once. It did the same thing in RC 2 and it working as designed. ;)

And don't forget the install button. ;)


All times are GMT. The time now is 11:38 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.01143 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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