Previous Thread
Next Thread
Print Thread
Rating: 5
Finished-[All] Graffiti Wall Tweak #282822 01/03/2005 4:49 AM
Joined: Sep 2003
Posts: 488
Twisty Offline OP
Code Monkey
OP Offline
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 -&gt; send_header("",$Cat,"&lt;meta http-equiv=\"Refresh\" content=\"0;url={$config['phpurl']}/graffiti/index.php\" /&gt;",$user);



2) DELETE THIS:

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


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
Re: Finished-[All] Graffiti Wall Tweak [Re: smoknz28] #282823 01/03/2005 5:39 PM
Joined: Apr 2003
Posts: 359
smoknz28 Offline
Enthusiast
Offline
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...

Re: Finished-[All] Graffiti Wall Tweak [Re: General_Failure] #282824 01/03/2005 6:39 PM
Joined: Sep 2003
Posts: 488
Twisty Offline OP
Code Monkey
OP Offline
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.

Re: Finished-[All] Graffiti Wall Tweak [Re: smoknz28] #282825 01/03/2005 9:30 PM
Joined: Mar 2000
Posts: 21,084
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,084
Thanks twisty


- Allen wavey
- What Drives You?
Re: Finished-[All] Graffiti Wall Tweak [Re: SurfMinister] #282826 01/06/2005 8:07 PM
Joined: Feb 2002
Posts: 950
PhotoPost Offline
Hacker
Offline
Hacker
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
Re: Finished-[All] Graffiti Wall Tweak [Re: gailg] #282827 01/07/2005 2:34 PM
Joined: Sep 2003
Posts: 803
DrChaos Offline
Coder
Offline
Coder
Joined: Sep 2003
Posts: 803
*cough* where *cough*

Re: Finished-[All] Graffiti Wall Tweak [Re: Duck] #282828 06/12/2005 9:40 PM
Joined: Jan 2005
Posts: 14
minimock Offline
Newbie
Offline
Newbie
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.

Re: Finished-[All] Graffiti Wall Tweak [Re: Trailrider] #282829 06/13/2005 9:04 PM
Joined: Jan 2005
Posts: 39
ScriptZ Man Offline
User
Offline
User
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[/]

Re: Finished-[All] Graffiti Wall Tweak [Re: Pumpkihn] #282830 06/15/2005 7:38 AM
Joined: Jan 2005
Posts: 39
ScriptZ Man Offline
User
Offline
User
Joined: Jan 2005
Posts: 39
Hello?

Re: Finished-[All] Graffiti Wall Tweak [Re: Pumpkihn] #282831 06/15/2005 9:23 AM
Joined: Oct 2003
Posts: 2,305
scroungr Offline
Old Hand
Offline
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
Re: Finished-[All] Graffiti Wall Tweak [Re: Duck] #282832 06/15/2005 9:55 AM
Joined: Feb 2002
Posts: 950
PhotoPost Offline
Hacker
Offline
Hacker
Joined: Feb 2002
Posts: 950
[]DrChaos said:
*cough* where *cough* [/]

http://www.mpdev.net

Re: Finished-[All] Graffiti Wall Tweak [Re: gailg] #282833 06/15/2005 5:10 PM
Joined: Oct 2003
Posts: 2,305
scroungr Offline
Old Hand
Offline
Old Hand
Joined: Oct 2003
Posts: 2,305
Works great on my Fusion Site!

Re: Finished-[All] Graffiti Wall Tweak [Re: 234234] #282834 06/15/2005 6:46 PM
Joined: Jan 2005
Posts: 39
ScriptZ Man Offline
User
Offline
User
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[/]

Re: Finished-[All] Graffiti Wall Tweak [Re: Pumpkihn] #282835 06/16/2005 1:21 AM
Joined: Oct 2003
Posts: 2,305
scroungr Offline
Old Hand
Offline
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


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
· Blue Host
· Interserver.net
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,084
Joined: March 2000
Show All Member Profiles 
Forum Statistics
Forums64
Topics37,499
Posts293,661
Members13,824
Most Online1,498
Mar 17th, 2017
Top Posters(All Time)
AllenAyres 21,084
JoshPet 10,370
LK 7,395
Lord Dexter 6,709
Gizmo 5,786
Greg Hard 4,625
Top Posters(30 Days)
isaac 28
driv 16
Gizmo 5
Morgan 2
Today's Statistics
Currently Online 934
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 20
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2019 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.3
(Snapshot build 20190716.dev)
PHP: 5.4.45 Page Time: 0.047s Queries: 15 (0.012s) Memory: 3.3147 MB (Peak: 3.5329 MB) Data Comp: Zlib Server Time: 2019-07-20 13:34:02 UTC
Valid HTML 5 and Valid CSS