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)

smacklan 04-30-2005 09:13 PM

Quote:

Originally Posted by The Realist
Looks like you dont have freetype support compiled with gD.

Ask your host.

This is what my host php info says:

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

Allan 04-30-2005 10:27 PM

Very Well, thanks ;)


~~~~~~~~~~~~~~~~~~
Click Install :)
~~~~~~~~~~~~~~~~~~

SuperFly 04-30-2005 10:50 PM

one question, anyway to get it so only 1 certain user or admins can wipe board?

amykhar 04-30-2005 10:57 PM

Bug fix:
https://vborg.vbsupport.ru/showpost....88&postcount=7

smacklan 05-02-2005 11:39 PM

Quote:

Originally Posted by smacklan
This is what my host php info says:

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

BUMP???!!!

hankster 05-03-2005 12:43 AM

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.

amykhar 05-03-2005 12:48 AM

Quote:

Originally Posted by smacklan
This is what my host php info says:

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

Did you edit the wall.php file to change the paths? It's not in the instructions to do so (at least it wasn't when I installed.) And, I got errors until I made the changes.

smacklan 05-03-2005 01:00 AM

Quote:

Originally Posted by amykhar
Did you edit the wall.php file to change the paths? It's not in the instructions to do so (at least it wasn't when I installed.) And, I got errors until I made the changes.

Thanks for the reply Amy...yes I did and the path should be correct. Someone said the error I was getting looked as though I didn't have freetype support compiled with GD, put I do so I am rather lost.

yinyang 05-03-2005 01:03 AM

Quote:

Originally Posted by hankster
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.

that's quite ingenius! very OTB. (outside-the-box).

amykhar 05-03-2005 01:06 AM

Quote:

Originally Posted by smacklan
Thanks for the reply Amy...yes I did and the path should be correct. Someone said the error I was getting looked as though I didn't have freetype support compiled with GD, put I do so I am rather lost.

Did you upload the fonts in binary mode? I'm just trying to figure out different reasons why the font couldn't open.

smacklan 05-03-2005 12:21 PM

Quote:

Originally Posted by amykhar
Did you upload the fonts in binary mode? I'm just trying to figure out different reasons why the font couldn't open.

I unzipped them and transfered them using ftp.

amykhar 05-03-2005 12:25 PM

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

smacklan 05-03-2005 04:34 PM

Quote:

Originally Posted by amykhar
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

That was it!! Thanks for all your help Amy!! :up: :)

SIINSI 05-05-2005 12:35 AM

Quote:

Originally Posted by SIINSI
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.

For the record, this error was because the graffiti.png file was not chmodded correctly for writing. all fixed now, thanks!

dr-jamal 05-06-2005 12:00 AM

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 ??

hankster 05-06-2005 02:20 AM

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.

NuclioN 05-06-2005 03:01 PM

Great mod! I hope someone can make it so you can put images against the wall. Please make it. :)

javo 05-13-2005 02:59 PM

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 !!

javo 05-15-2005 05:24 PM

Anyone?

MPDev 05-16-2005 01:00 PM

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

BOSS 302 05-16-2005 03:31 PM

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?

BOSS 302 05-16-2005 04:08 PM

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?

BOSS 302 05-16-2005 04:34 PM

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?

mindbuster 05-16-2005 08:15 PM

Cool, thanks, installed and working.

yoyoyoyo 05-16-2005 10:37 PM

great & simple hack- many thanks for sharing it!

MPDev 05-17-2005 02:11 PM

Quote:

I wish the intructions would use typical find "this" and chane or add "this"

ya know?
Maybe someone else will have the time to write it up for you like this.

BOSS 302 05-17-2005 02:12 PM

Quote:

Originally Posted by BOSS 302
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?

some one please tell me if i can use this or not? Or how i change it so i can use it.


the only error is on line 109, and i have check that line. I don't get it...? :ermm:

MPDev 05-17-2005 11:16 PM

imagettfbbox is a TTF function call; you must not have TTF support enabled.

http://us4.php.net/manual/en/function.imagettfbbox.php

BOSS 302 05-18-2005 05:04 AM

How do i get TTF suppurt? what can i do to be able to use graffiti wall!?

chriswible 05-19-2005 05:05 AM

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. :)

axi 05-21-2005 04:28 PM

possible to add some extra fonts to use with wall??

Bloodlust 05-24-2005 08:51 PM

Great idea. Definitely will install.

BenSkiddle 06-01-2005 12:26 PM

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?

MPDev 06-01-2005 02:03 PM

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.

monkeyjoe 06-03-2005 03:38 PM

MJ clicked install

javo 06-07-2005 01:15 PM

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?

MPDev 06-07-2005 07:02 PM

Not unless you code it to track the number of messages written since the last wiping.

aladinliverpool 06-08-2005 12:02 PM

Quote:

Originally Posted by BenSkiddle
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?

hey whats the front end cms on that skiddle site. thats great that. id love to have something similar for mine

Arial 06-13-2005 11:52 AM

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?

paul41598 06-20-2005 12:31 PM

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
  • Page Generation 0.01371 seconds
  • Memory Usage 1,824KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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