vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Making the smilie page non accessable to guests? (https://vborg.vbsupport.ru/showthread.php?t=56613)

MaDCaT75 08-30-2003 07:31 AM

Making the smilie page non accessable to guests?
 
Any way to block access to the smilie page so guests cant view it? Dont want those pesky guests stealing my hard worked on smilies :p

assassingod 08-30-2003 08:24 AM

In the FAQ or Popup?

MaDCaT75 08-30-2003 08:51 AM

oh sorry hehe.... like say when a guest goes to http://www.sims2forums.com/misc.php?action=getsmilies& they would reach a "access denied" page instead. Like a 403 page I guess.

assassingod 08-30-2003 08:55 AM

You might wanna fix the parse error on that page;)

insanctus 08-30-2003 08:59 AM

In misc.php find

PHP Code:

// ############################### Popup Smilies for vbCode ################
if ($action=="getsmilies") {

  
$templatesused "vbcode_popup_smiliesbits,vbcode_popup_smilies,vbcode_popup_smiliecats";
  include(
"./global.php"); 

under it add

PHP Code:

if ($bbuserinfo[userid]==0){show_nopermission();} 


MaDCaT75 08-30-2003 09:00 AM

OoOoOOoo thanks :D

insanctus 08-30-2003 09:02 AM

No trouble at all mad. And assassin the parse error was me I accidently put the code before the global call (yes I am tired) lmao.

assassingod 08-30-2003 09:05 AM

Ah right, i was gonna do it but me too late:)

MaDCaT75 08-30-2003 09:10 AM

if you still wanna help with me getting my moderator list to show up on forumhome you are welcome to try :p

insanctus 08-30-2003 09:15 AM

Lmao mad and her endless hacks, I only fixed the one since I was in that folder at the time :)


All times are GMT. The time now is 05:24 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.00975 seconds
  • Memory Usage 1,734KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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