View Full Version : Anyone want a vB3 version of my Graffiti Wall?
MPDev
04-21-2005, 07:29 PM
A couple years ago I wrote a Graffiti Wall for one of my sites. For a while I sold the source, but I recently decided to post it on my MPDev (http://www.mpdev.net) website.
I have a vB3 version which integrates with vB styles as seen on ExtremeFitness (http://www.extremefitness.com/forum/wall.php); if anyone finds this interesting enough, I'll post the mod here.
twoseven
04-21-2005, 08:01 PM
man thats decent
Reeve of shinra
04-21-2005, 08:02 PM
Sounds like fun for members.
twoseven
04-21-2005, 08:04 PM
only thing is users shouldnt be able to wipe the wall i know its a simple template conditional
MPDev
04-21-2005, 08:08 PM
I made it so anyone can wipe the wall because I got tired of having to wipe it every day myself. Some find it annoying that their stuff can be wiped; maybe I'll put in some kind of conditional before I post the code so moderators and admins can wipe it only.
It uses random fonts to post messages and random places (and random angles).
MPDev
04-21-2005, 08:17 PM
It also records all entries to a log file with username and ip; just for security sake. I added a call to can_moderate() to show the wipe wall option.
It's a pretty basic script; although it doesn't use templates - there's just one file for everything (except the fonts and image files). Like I said, I wrote it a few years ago and I'll have to consider weather I have the time to do a full install/template/phrases version.
twoseven
04-21-2005, 08:19 PM
how does the font system work? does it just traverse the directory and pick one out at random or is it hardcoded. was thinking to add more fonts
MPDev
04-21-2005, 08:22 PM
It's a little more complicated than that - it uses an array of font names to pick one randomly. The tricky part is some fonts dont repsond well to the same font sizes as others; so there is some conditionals that will set acceptable font sizes based on the font filename.
If your font works in 18, 20 and 22; then you only have to add it to the array. Two of the fonts I have work with 12-22 ranges, so there are more size options for them.
I also pull random angles from an array which can be tweaked.
KW802
04-22-2005, 01:23 AM
Seeing the censor filter in the code is a pleasant surprise. That would've been one of my concerns.
MPDev
04-22-2005, 01:46 AM
Probably worth adding the vb censor call to the vb version, too.
sabret00the
04-22-2005, 09:06 AM
would be good, personally i'd set up the wipe wall as a cron job and make it so that all graff was signed with a username, but yeah would be a good release :)
MPDev
04-22-2005, 11:43 AM
I use it on ViperAlley (http://www.viperalley.com/index.php) with a reduced image on the front page to give people a preview. I cleared it this morning, so not so cluttered.
I'll work it up to post it.
KW802
04-22-2005, 02:49 PM
From looking at the package over on mpdev.net.... does graffiti.txt act as an audit log?
Blam Forumz
04-22-2005, 02:52 PM
I want!!
I second that!
MPDev
04-22-2005, 04:22 PM
Yes, graffiti.txt is a log; but you can rename the file (I recommend you do) so that it isn't so obvious.
HostLogik
04-23-2005, 09:07 AM
This is exactly what i need for my site. It's a graffiti based forum and i'm sure this would be a great addition. Would it be possible to post the vb3 version please.
yinyang
04-23-2005, 09:32 AM
looks very cool. i look forward to your progress.
MPDev
04-26-2005, 12:14 PM
<a href="https://vborg.vbsupport.ru/showthread.php?p=646006" target="_blank">https://vborg.vbsupport.ru/showthread.php?p=646006</a>
Posted. Give it a try!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.