![]() |
Quote:
gd GD Support enabled GD Version bundled (2.0.28 compatible) FreeType Support enabled FreeType Linkage with freetype GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled |
Very Well, thanks ;)
~~~~~~~~~~~~~~~~~~ Click Install :) ~~~~~~~~~~~~~~~~~~ |
one question, anyway to get it so only 1 certain user or admins can wipe board?
|
|
Quote:
|
OK, I figured out how to wipe the wall via a cron job. Follow these instructions.
Wipe the wall via your browser. FTP into your site and take the graffiti.png file that was generated on your site and transfer it to your hard drive. Rename this file something else, like graffitiorg.png and then transfer it back to your web site in the same folder as graffiti.png Now create a cron job at whatever timetable you choose (I've set it up to do it once per week) with the following command: cp /full/server/path/to/graffitiorg.png /full/server/path/to/graffiti.png That's it! Whenever your cron job runs, it will copy the graffitiorg.png file over the existing graffiti.png file effectively wiping the wall. Note: If you are also recording IP addresses you will also have to copy over your IP address file with a blank file to wipe it also. I know, it may not be the best way to do it but it works. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Depending on the ftp program, that might be your problem. Some ftp programs don't autodetect properly that the fonts need to be uploaded in binary mode. Try manually forcing binary mode and reuploading. It'll take two seconds and will rule that out as a problem
|
Quote:
|
Quote:
|
well ..
I just installed it .. it is working fine .. but I am trying to make it accept Arabic characters but with no hope .. I uploaded arabic fonts & changed the font names in the wall.php but still it appears as squares .. Any Help ?? |
I have also figured out how to have more then one wall. Since I have a number of topic areas on my forums, I wanted to give each topic their own wall.
First take the graffiti.png file and name it something else... I used graffiti2.png. In wall.php you will find 2 places where wall.php is called. Change it to wall2.php In wall.php you will find $graffitifile = "$pathto/graffiti.png"; change that to $graffitifile = "$pathto/graffiti2.png"; In wall.php you will find <img src="graffiti.png?<? echo rand(10000,99999); ?>"> change that to <img src="graffiti2.png?<? echo rand(10000,99999); ?>"> Rename wall.php to wall2.php Upload the files to your server and you should be all set. |
Great mod! I hope someone can make it so you can put images against the wall. Please make it. :)
|
Is there any way to make it automatically wipe every 15 minutes or so?
If I or my moderators arent watching it and people are using it, it will fill up quickly and make it where nothing can be read. Its a VERY cool mod BTW !! |
Anyone?
|
Not without running a cronjob - and you'd have to modify the script to not check for can_moderate() (line 81); then you'd call the script with ?adminreset=1 as part of the cron (you could use wget or some other command-line utility).
|
How do i find what lines need changes? count? and if so start from where? and do i count spaces?
Please help i wanna install this. I wish the intructions would use typical find "this" and chane or add "this" ya know? |
I am geting error in line 109 in wall.php file when i try to paint or whipe wall. What do i do to fix?
|
UPDATE
Okay basically it must be because the .ttf files in font directory, does this mean i can't use this wall? Or can i rename the .ttf to something else? I don't know how to tell if i have gd or whatever... But i would guess not since it dont work? |
Cool, thanks, installed and working.
|
great & simple hack- many thanks for sharing it!
|
Quote:
|
Quote:
the only error is on line 109, and i have check that line. I don't get it...? :ermm: |
imagettfbbox is a TTF function call; you must not have TTF support enabled.
http://us4.php.net/manual/en/function.imagettfbbox.php |
How do i get TTF suppurt? what can i do to be able to use graffiti wall!?
|
I've got another small cron solution.
Basically, I just gutted wall.php of everything except the wall-wiping process, threw the result into a PHP file, and set up the cron job through vB. Use the attached file and set up a cron job as needed (obviously, the interval is dependent on the traffic in your forums). Hope you don't mind, MPDev, and thanks again for the hack. :) |
possible to add some extra fonts to use with wall??
|
Great idea. Definitely will install.
|
ive played with it a wee bit, and created the following
http://www.skiddle.com/forum/smswall.php just need to play with the positioning of the text a bit, is there any neat tricks to stop it overlaying each other? |
Not really, at least not that I spent any time on. Other than a predefined pattern, randomizing the location, angle and size would make that very difficult.
|
MJ clicked install
|
Because so many people are using it and my moderators dont watch it full time it becomes unreadable pretty quick.
Is there a way to say after X posts then wipe? |
Not unless you code it to track the number of messages written since the last wiping.
|
Quote:
|
Nice little hack, really inventive idea.
http://www.global-army.com/forum/wall.php Our only concern is how quickly it fills up, that's 2 wipes in like 30 minutes!! You have any intention of coding it so after 'x' messages it deletes itself? Or if can't be assed to code it, any chance of being able to give a group perms to wipe it? Right now from what I Can see I would have to make somebody a full admin with all the rights that gives just so they can wipe the wall. Is it possible even to code it to a specific person or group ideally so they can view the wipe button? |
Mine doesnt work, I dont get it!!
Fatal error: Call to undefined function: imagettfbbox() in /home/cmich/public_html/forums/wall.php on line 109 My host compiled Freetype and TTF, and it still doesnt work! |
All times are GMT. The time now is 04:19 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|