vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Questions regarding 'who's online' and hacks (https://vborg.vbsupport.ru/showthread.php?t=112901)

kurtbarker 04-13-2006 01:45 PM

Questions regarding 'who's online' and hacks
 
Hey guyz, 2 questions

first question, a few hacks that I install create a custom page which is viewable to everyone, but when looking at who's online it display's "Unknown Location" and the URL link underneath... If I wanted it to display a location that I specify without the 'Unknown" showing up, what would I have to edit, and where...?

Secondly, also regarding hacks... If I install a hack I only want admin or admin/mods to see... Again in who's online, anyone can click and link and see the page... Can I define somewhere in the code that that particular page can only be accessed by certain usergroups, and not shown in who's online if the usergroup that person is in doesn't have persmission...

Thanks guyz,
Kurt

Razasharp 04-13-2006 02:10 PM

A quick and easy way to remove unknown location is to change the phrase to sommin like: Page

I did that on an old board when I was using a mod-rewrite hack :)

Re the second bit you can use If statements for specific usergroups - i don't know them at the top of my head but there is an introduction to them in you vBulletin manual, or if you start a thread in vbcom someone will answer with the statement you need :)

peterska2 04-13-2006 10:14 PM

Kurt,

Have a look at this mod ( https://vborg.vbsupport.ru/showthrea...ghlight=custom ) which will give you a quick and easy way to add WOL details for your mods.

With regards to only specific usergroups having permissions to view the mods, you will need to see if each mod uses any form of usergroup permissions and if not wrap if conditions around each one as applicable.


All times are GMT. The time now is 03:19 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.00935 seconds
  • Memory Usage 1,711KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete