UBB.Dev
Posted By: Twisty Finished-[All] Graffiti Wall Tweak - 01/03/2005 11:49 AM
Mod Name / Version: Graffiti Wall Tweak

Description: When you write on the wall, it will now immediately show what you wrote after spraying without having to manually refresh afterwards (ie. by clicking the 'show' button or refreshing your browser).

Working Under: UBB.Threads 6.3-6.4-6.5

Mod Status: Finished

Any pre-requisites: Graffiti Wall Add-on Installed

Author(s): Twisty

Date: 01/03/05

Credits:

Files Altered: /graffiti/index.php

New Files:

Database Altered: no

Info/Instructions: In graffiti/index.php...

1) CHANGE THIS:

Code
    // This should point to the graffiti index.php file to prevent multiple POSTs <br />    header("Location: {$config['phpurl']}/graffiti/index.php");


TO THIS:

Code
    // This should point to the graffiti index.php file to prevent multiple POSTs <br />    $html = new html; <br />    $html -> send_header("",$Cat,"<meta http-equiv=\"Refresh\" content=\"0;url={$config['phpurl']}/graffiti/index.php\" />",$user);



2) DELETE THIS:

Code
	&nbsp;<input type=button value="Show" onClick="history.go()" style="font-size: 8pt;" >


Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Posted By: smoknz28 Re: Finished-[All] Graffiti Wall Tweak - 01/04/2005 12:39 AM
Where is this "add-on"?

I've done a few searches with different wording and still can't find it.

Thanks...
Posted By: Twisty Re: Finished-[All] Graffiti Wall Tweak - 01/04/2005 1:39 AM
Right here...

http://www.mpdev.net/wall.php

You can purchase it for $19. Actually it looks like his newest script already has this behaviour. So this tweak is basically for those using an older version of it. Mine's dated June 17th, 2003.
Posted By: AllenAyres Re: Finished-[All] Graffiti Wall Tweak - 01/04/2005 4:30 AM
Thanks twisty
Posted By: PhotoPost Re: Finished-[All] Graffiti Wall Tweak - 01/07/2005 3:07 AM
I had forgotten all about this....

I thought I had posted the source here on threadsdev for everyone.
Posted By: DrChaos Re: Finished-[All] Graffiti Wall Tweak - 01/07/2005 9:34 PM
*cough* where *cough*
Posted By: minimock Re: Finished-[All] Graffiti Wall Tweak - 06/13/2005 4:40 AM
The guy used to charge for the script, and now he is giving it away.

But the new code dosent have the refrence for changes mentioned.
Posted By: ScriptZ Man Re: Finished-[All] Graffiti Wall Tweak - 06/14/2005 4:04 AM
I'm getting this error when I try to write to wall
[]Fatal error: Call to undefined function: imagettfbbox() in /home/katz/public_html/graffiti/index.php on line 88[/]
Posted By: ScriptZ Man Re: Finished-[All] Graffiti Wall Tweak - 06/15/2005 2:38 PM
Hello?
Posted By: scroungr Re: Finished-[All] Graffiti Wall Tweak - 06/15/2005 4:23 PM
sounds like either your PHP version is way under date... or you don;t have gd mod in php installed.. or you dont have the image mod in php installed.. in a script do the following

create a phpinfo.php file and in it place

<?
phpinfo();
?>

and report what the first row.. the configurtaion options tells ya..
Posted By: PhotoPost Re: Finished-[All] Graffiti Wall Tweak - 06/15/2005 4:55 PM
[]DrChaos said:
*cough* where *cough* [/]

http://www.mpdev.net
Posted By: scroungr Re: Finished-[All] Graffiti Wall Tweak - 06/16/2005 12:10 AM
Works great on my Fusion Site!
Posted By: ScriptZ Man Re: Finished-[All] Graffiti Wall Tweak - 06/16/2005 1:46 AM
scroungr: This is the info I got after running phpinfo.php (as per your recommendation) - What do you think?

[]PHP v4.3.10
System Linux server.baxterentertainmentgroup.com 2.4.20-31.9 #1 Tue Apr 13 18:04:23 EDT 2004 i686
Build Date Mar 3 2005 15:20:17
Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-imap' '--with-imap-ssl' '--with-kerberos' '--with-mcrypt' '--enable-magic-quotes' '--with-mysql=/usr' '--enable-discard-path' '--with-pear' '--enable-sockets' '--enable-track-vars' '--enable-versioning' '--with-zlib'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, compress.zlib

This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.6, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.7, Copyright (c) 1998-2004, by Zend Technologies[/]
Posted By: scroungr Re: Finished-[All] Graffiti Wall Tweak - 06/16/2005 8:21 AM
hmm well its got gd.. but can't find that function..

mine btw looks like

'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-exif' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-gettext' '--with-imap' '--with-imap-ssl' '--with-kerberos' '--with-mcrypt' '--with-mhash' '--enable-magic-quotes' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl' '--enable-discard-path' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--enable-versioning' '--with-zlib'

ok anyways go down to the gd section and see what it says.. for comparrison mine 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
© UBB.Developers