vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   MPDev's Graffiti Wall v1 (https://vborg.vbsupport.ru/showthread.php?t=80588)

Lizard King 04-26-2005 04:03 PM

Quote:

Originally Posted by MPDev
You'll have to Wipe Wall to get it to create a new wall with the new size

It worked thank you. what about only admins can wipe the wall ?

twoseven 04-26-2005 04:10 PM

lizard its already in the source

twoseven 04-26-2005 04:17 PM

if you do {word} it gets parsed as _word

Lizard King 04-26-2005 04:22 PM

in the code you can see if ( can_moderate() ) so i think a moderator can also wipe the wall but i only want admins to wipe. Maybe i am wrong :p just tired tonight :)

MPDev 04-26-2005 04:30 PM

You could do:

if ( $permissions['adminpermissions'] & CANCONTROLPANEL )

or, for a usergroup:

if ( $bbuserinfo['usergroupid'] == 6 )

Lizard King 04-26-2005 04:32 PM

Thanks :)

AN-net 04-26-2005 04:37 PM

very cool, i may modify the code for my own use;)

MPDev 04-26-2005 04:39 PM

Sure, go right ahead. I just don't want people posting the code on their sites without my permission (or posting modified versions without permission).

The Geek 04-26-2005 04:40 PM

this is very cool. Thanks again m8.
I tweaked it out to rewipe itself after 40 times and tied it into uCash.

Loads of fun shall be had by all :)

Lionel 04-26-2005 04:43 PM

right before the eval navbar I added

$navbits = array();
$navbits[$parent] = 'Grafitti Wall';

$navbits = construct_navbits($navbits);


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