vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - vBInfo (https://vborg.vbsupport.ru/showthread.php?t=171346)

John3971 02-23-2008 10:00 PM

vBInfo
 
This modification allow you to easier edit information to your forum like advertising rules and more..

Quote:

-----------
Instructions

1. Upload all files in upload to your forum root.

2. Import the product

3. In navbar find:

<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>

Replace with:

<td id="information" class="vbmenu_control"><a href="#information">Information</a> <script type="text/javascript"> vbmenu_register("information"); </script></td>

4. find:

<!-- / NAVBAR POPUP MENUS -->
</if>

Before add:

<!-- Information popup meny -->
<div class="vbmenu_popup" id="information_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Information</td></tr>
<if condition="$vboptions['info_general']"><tr class="alt2"><td class="smallfont"><a href="info.php">Generel Information</a></td></tr></if>
<if condition="$vboptions['info_rules']"><tr class="alt2"><td class="smallfont"><a href="info.php?do=rules">User Rules</a></td></tr></if>
<if condition="$vboptions['info_tos']"><tr class="alt2"><td class="smallfont"><a href="info.php?do=tos">Terms & Conditions</a></td></tr></if>
<if condition="$vboptions['info_moderators']"><tr class="alt2"><td class="smallfont"><a href="info.php?do=mod">Moderator Informations</a></td></tr></if>
<if condition="$vboptions['info_supporter']"><tr class="alt2"><td class="smallfont"><a href="info.php?do=payinfo">Become Supporter</a></td></tr></if>
<tr class="alt2"><td class="smallfont"><a href="faq.php">FAQ</a></td></tr>
<if condition="$vboptions['info_privacy']"><tr class="alt2"><td class="smallfont"><a href="info.php?do=privacy">Privaty Police</a></td></tr></if>

</table>
</div>
<!-- / Information popup meny-->

To Customize your information
Go to your admincp>>vbulletin options>>vBInfo>

5. After you're done hit save.

6. Go to Usergroup Manager>>Choose Usergroup and Edit 'vBInfo Permissions'. Do this for all usergroup that should be able to see Moderator Information page.

7. You're Done!

-------------
Fanrage.org

Boofo 02-24-2008 02:21 PM

A screenshot will do you better, I think. ;)

John3971 02-24-2008 02:31 PM

Quote:

Originally Posted by Boofo (Post 1449950)
A screenshot will do you better, I think. ;)

i have added 1 ss now

Derek Chai 02-24-2008 09:42 PM

Nice.

SwollenCranium 02-24-2008 10:08 PM

Nice ... seems to work well, I'll let ya know if I find any issues.

SwollenCranium 02-24-2008 10:26 PM

Issue #1

On your drop down under the 'moderators information' link.

When I click the link it gives me a "you do not have permission to access this page " error.

I am viewing as ADMIN and have access to all areas, where is the setting for this ?

*edit*

Nevermind, I see that it added an extra bitfield to the ADMIN usergroup. Works fine.

John3971 02-25-2008 06:42 AM

Quote:

Originally Posted by SwollenCranium (Post 1450307)
Issue #1

On your drop down under the 'moderators information' link.

When I click the link it gives me a "you do not have permission to access this page " error.

I am viewing as ADMIN and have access to all areas, where is the setting for this ?


*edit*

Nevermind, I see that it added an extra bitfield to the ADMIN usergroup. Works fine.

good that you find it i forgott to wrote that but will do it now in my first post. you just choose yes for all usergroups that should be able to see that page.


All times are GMT. The time now is 09: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.01224 seconds
  • Memory Usage 1,730KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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