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)

MPDev 04-25-2005 10:00 PM

MPDev's Graffiti Wall v1
 
The Graffiti Wall is a simple script where people can "paint" text onto a brick wall. You can see an example of the vB3 integration on ExtremeFitness.Com.

I also use an img src with half sized dimensions to preview the wall on my Summary page which can be seen on ViperAlley.Com; this could also be added to your portal pages for greater exposure.

Features
. Fully integrated with vB3 for styles/users
. Admin/Mods can "wipe board"
. Optional logging of paints to log file

This is a very simple mod to install; there is one self contained .php script, a few fonts and a bricks.jpg file to upload.

Requirements
. Your server must have GD2 support (GD1 support may work, but not tested) for PNG files including TTF support.

Be kind and click INSTALL if you use this mod. :)

TyleR 04-26-2005 12:20 PM

haha, thats real neat..definatly something i will add for the users of my site :)

[high]* TyleR clicks install[/high]

Lizard King 04-26-2005 12:34 PM

It is gonna be really fun using this. One quick question. Is it possible to make it in a fix width ?

Polo 04-26-2005 12:44 PM

cool... ;)

Phalynx 04-26-2005 12:59 PM

Great Hack, thanks for sharing!

MPDev 04-26-2005 01:07 PM

Quote:

Is it possible to make it in a fix width ?
The image created is a fixed width - this can be changed in the code:

$picwidth = 1024;
$picheight = 600;

Lizard King 04-26-2005 01:37 PM

Is it possible only to allow admins to wipe the wall ?

neik 04-26-2005 01:44 PM

haha

very funny

click install :devious:

The Geek 04-26-2005 01:54 PM

well done man! Very cool and original idea.

MPDev 04-26-2005 02:03 PM

Thanks, GMan. I wrote this a couple years ago on a whim (not long after writing the code for this signature that became so popular).

jugo 04-26-2005 02:10 PM

So you're the one who's putting the fear into every internet n00b out there....LMAO!!

Great job on both man...

/me clicks INSTALL!!!

twoseven 04-26-2005 02:26 PM

this is definatly HOTM

Deaths 04-26-2005 02:26 PM

Very nice!

twoseven 04-26-2005 02:34 PM

Fatal error: Call to undefined function: imagettfbbox() in /home/glaucon/public_html/arcade/wall/wall.php on line 109 hmm i got that error trying to wipe the wall

Zachery 04-26-2005 02:40 PM

Quote:

Originally Posted by twoseven
Fatal error: Call to undefined function: imagettfbbox() in /home/glaucon/public_html/arcade/wall/wall.php on line 109 hmm i got that error trying to wipe the wall

Sounds like you don't have freetype support compiled with gD.

Marco van Herwaarden 04-26-2005 02:40 PM

Should probably have to be "imageftbbox".

Marco van Herwaarden 04-26-2005 02:43 PM

Quote:

Originally Posted by Zachery
Sounds like you don't have freetype support compiled with gD.

Oops, guess you're right, missed that one.

Please forget my post above.

Lizard King 04-26-2005 03:50 PM

Quote:

Originally Posted by MPDev
The image created is a fixed width - this can be changed in the code:

$picwidth = 1024;
$picheight = 600;

I tried to change this but the image is still in the previous size. Tried everything but no change.

MauriceReed 04-26-2005 03:56 PM

i got the same error as well..:(

MPDev 04-26-2005 03:59 PM

Quote:

So you're the one who's putting the fear into every internet n00b out there....LMAO!!
You should read my hate mail. People accuse me of stalking them all the time and demand that I stop harrassing them with my signature.

Quote:

Should probably have to be "imageftbbox".
I'm using TTF, not FreeType; but either would probably work.

Quote:

I tried to change this but the image is still in the previous size. Tried everything but no change.
You'll have to Wipe Wall to get it to create a new wall with the new size.

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);

Lionel 04-26-2005 04:43 PM

Quote:

Originally Posted by The Geek
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 :)

u mind sharing your ucash code?

MPDev 04-26-2005 05:04 PM

Quote:

I tweaked it out to rewipe itself after 40 times and tied it into uCash.
Nice! I had considered putting in some kind of counter; but never got around to it. :)

Re: navbits, good idea, I'll add it to the code.

Polo 04-26-2005 06:15 PM

Quote:

Originally Posted by Lionel
u mind sharing your ucash code?

I would be interested too :)

FightRice.com 04-26-2005 06:35 PM

Awesome hack...

total coolness installed it on my site at http://www.FightRice.com you easiest install. EVER!

roundhost 04-26-2005 06:47 PM

Thankyou very much :)

lasto 04-26-2005 08:03 PM

viper alley url needs sorting

a pic on there is causing this problem

[218] Microsoft Multiple Application/OS GDI+ JPEG Processing Buffer Overflow Vulnerability attempt detected (CAN-2004-0200)

IE wont pick it up

SIINSI 04-26-2005 08:42 PM

Warning: imagepng(): Unable to open '/home/site/public_html/forums/graffiti.png' for writing in /wall.php on line 125

Warning: Cannot modify header information - headers already sent by (output started at /home/site/public_html/forums/includes/init.php:53) in /wall.php on line 128

I get this error when trying to paint or wipe.

Polo 04-26-2005 08:44 PM

Quote:

Originally Posted by SIINSI
Warning: imagepng(): Unable to open '/home/jdmuniv/public_html/forums/graffiti.png' for writing in /wall.php on line 125

Warning: Cannot modify header information - headers already sent by (output started at /home/jdmuniv/public_html/forums/includes/init.php:53) in /wall.php on line 128

I get this error when trying to paint or wipe.

make sure there are no extra white spaces after the closing php tag (?>) at the end of the file wall.php....

SIINSI 04-26-2005 08:46 PM

Quote:

Originally Posted by Polo
make sure there are no extra white spaces after the closing php tag (?>) at the end of the file wall.php....

Hmmm, there was one white space, I got rid of it but, still the same error :(

Marco van Herwaarden 04-26-2005 08:52 PM

What editor are you using?


All times are GMT. The time now is 04:49 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.02872 seconds
  • Memory Usage 1,791KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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