Previous Thread
Next Thread
Print Thread
Rating: 5
Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
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.

Sponsored Links
Joined: Apr 2003
Posts: 359
Enthusiast
Enthusiast
Joined: Apr 2003
Posts: 359
Where is this "add-on"?

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

Thanks...

Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
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.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Thanks twisty


- Allen wavey
- What Drives You?
Joined: Feb 2002
Posts: 950
Hacker
Hacker
Offline
Joined: Feb 2002
Posts: 950
I had forgotten all about this....

I thought I had posted the source here on threadsdev for everyone.

Sponsored Links
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
*cough* where *cough*

Joined: Jan 2005
Posts: 14
Newbie
Newbie
Offline
Joined: Jan 2005
Posts: 14
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.

Joined: Jan 2005
Posts: 39
User
User
Offline
Joined: Jan 2005
Posts: 39
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[/]

Joined: Jan 2005
Posts: 39
User
User
Offline
Joined: Jan 2005
Posts: 39
Hello?

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
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..

Sponsored Links
Joined: Feb 2002
Posts: 950
Hacker
Hacker
Offline
Joined: Feb 2002
Posts: 950
[]DrChaos said:
*cough* where *cough* [/]

http://www.mpdev.net

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
Works great on my Fusion Site!

Joined: Jan 2005
Posts: 39
User
User
Offline
Joined: Jan 2005
Posts: 39
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[/]

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
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


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,570
Posts293,915
Members13,848
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,829
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 81
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2022 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221129)