Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2011, 10:15 PM
DISLEX DISLEX is offline
 
Join Date: Apr 2006
Location: Odessa
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How do I make a hidden section, BUT...

I have had my forum up and going for years. I know how to make a private and/or passworded section that only certain groups can see and/or access.

What I am wanting to do is create a new section under my current "Off Topic" section. NO user group should be able to see it, but if they click a hidden link or just happen to know the full URL, they can access it.

I plan on placing an "X" somewhere on this site. I wont mention it to anyone, but once it's found and clicked on, it will take the user to this new hidden section.

Here is where it gets even more crazy.

Under this section (ONLY), I want EVERY user to be a Mod. They should be able to delete posts and threads. Edit them, as well.

I want this section as an experiment and for fun.

How do I go about this?

Please speak newb to me!

Thanks in advanced!

--------------- Added [DATE]1321226502[/DATE] at [TIME]1321226502[/TIME] ---------------

I forgot to add...

The search should not bring up anything within this forum!
Reply With Quote
  #2  
Old 11-14-2011, 10:28 PM
DISLEX DISLEX is offline
 
Join Date: Apr 2006
Location: Odessa
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
Reply With Quote
  #3  
Old 11-15-2011, 04:14 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Set the Display Order to 0.

Set moderator permissions in Forum Permissions

Index New Post in Search Engine = No
Reply With Quote
  #4  
Old 11-15-2011, 05:36 AM
DISLEX DISLEX is offline
 
Join Date: Apr 2006
Location: Odessa
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you. )

Is there anyway possible to make it so that when someone is viewing the "online.php" page, the people on this secret page can not be seen there? Perhaps they do not show up at all or perhaps it just shows them in the Off Topic section?

--------------- Added [DATE]1321340001[/DATE] at [TIME]1321340001[/TIME] ---------------
Reply With Quote
  #5  
Old 11-23-2011, 01:35 AM
DISLEX DISLEX is offline
 
Join Date: Apr 2006
Location: Odessa
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump for help.
Reply With Quote
  #6  
Old 11-23-2011, 03:25 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe this will do it. In includes/functions_online.php find line 128

PHP Code:
    if (($wol_thread["$threadid"]['isdeleted'] OR !$wol_thread["$threadid"]['visible']) AND !can_moderate($forumid)) 
and change it to

PHP Code:
    if (($wol_thread["$threadid"]['isdeleted'] OR !$wol_thread["$threadid"]['visible'] OR $forumid == '50') AND !can_moderate($forumid)) 
Where you see '50' put in your actual forumid. I'm not sure there should be quotes around it so try without quotes if it doesn't work.

I'll be away until early next week, I'll check back then.

EDIT: If this is a category I'm not sure the category forumid will work (I'm not sure this will work at all actually). If you have several forums put in

PHP Code:
OR in_array($forumidexplode(',''51,52,53')) 
instead of

PHP Code:
OR $forumid == '50' 
Reply With Quote
  #7  
Old 11-24-2011, 06:53 AM
DISLEX DISLEX is offline
 
Join Date: Apr 2006
Location: Odessa
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know where to find "includes/functions_online.php".
Reply With Quote
  #8  
Old 12-03-2011, 12:20 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's on your server. Open cPanel, expand the "forum" folder then the "includes" folder. If you ever edit the php files be sure you have preserved the original code so you can restore it if it doesn't work.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:14 AM.


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.05128 seconds
  • Memory Usage 2,231KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete