vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Members who have visited the forum (Today or last 24 hours). (https://vborg.vbsupport.ru/showthread.php?t=82769)

Slacker 10-07-2005 01:09 AM

Quote:

Originally Posted by Paul M
Sorry Slacker, not much chance of that in the forseeable future.

Actually I figured it out anyway. w00t! :D

Here's how I did it if anyone is curious:

First, I created a Single-Selection Menu profile field with "Yes" and "No" as the two options, defaulting to "Yes."

Then I changed Paul's conditional to use the new option. In my case, the system called it field10.

Original is:

Code:

<if condition="$show['wvt']">
I changed it to:

Code:

<if condition="$show['wvt'] AND $bbuserinfo['field10']!=No">
Works like a charm. :)

I have it set to display as long as the profile field I created isn't set to "No." That makes it display for those who are set to "Yes" and for unregistered visitors.

Rastus 10-07-2005 02:39 PM

Installed

OFFSHORE DAN 10-08-2005 06:25 PM

Works Great!

Paul M 10-10-2005 01:56 PM

Quote:

Originally Posted by Slacker
Actually I figured it out anyway. w00t! :D

Here's how I did it if anyone is curious:

......

I have it set to display as long as the profile field I created isn't set to "No." That makes it display for those who are set to "Yes" and for unregistered visitors.

Cute, thanks for sharing. :)

TMAC 10-10-2005 02:57 PM

I can't make the view by admin only work. I added the lines you quoted above and below the hack. Can you post a sample of the code or PM it to me please.

Paul M 10-10-2005 03:16 PM

Upgrade to the latest version, it has a built in setting for what usergroups are allowed to view. (see first post).

Snake 10-10-2005 03:19 PM

Thanks for the update! :)

TMAC 10-10-2005 04:12 PM

Quote:

it has a built in setting for what usergroups are allowed to view
Where in the ACP do you find this. I have looked in all areas. Just can't see the options tab. Sorry for any hassel.

Quillz 10-10-2005 04:20 PM

Just installed it! Works great.

Paul M 10-10-2005 04:24 PM

Quote:

Originally Posted by TMAC
Where in the ACP do you find this. I have looked in all areas. Just can't see the options tab. Sorry for any hassel.

Assuming you loaded the latest version the then it's vBulletin Options > Help Forums Home Page Options.


All times are GMT. The time now is 02:33 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.01384 seconds
  • Memory Usage 1,735KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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