Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

Simple GuestBook

This is a discussion on Simple GuestBook within the FlepStudio utilities forums, part of the Tutorials category; The send button don't work. I just downloaded the files. Has this issue been resolved?...


Go Back   Forum Flash CS3 Flash CS4 > English Forums > Tutorials > FlepStudio utilities

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-06-08, 06:11
Junior Member
 
Join Date: May 2008
Posts: 3
Rep Power: 0
ricdev is on a distinguished road
Re: Simple GuestBook

The send button don't work. I just downloaded the files.
Has this issue been resolved?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #12 (permalink)  
Old 02-06-08, 09:01
Junior Member
 
Join Date: Apr 2008
Posts: 4
Rep Power: 0
asood99 is on a distinguished road
Re: Simple GuestBook

Thank-you so much! This is exactly the type of functionality I had in mind.
I'm creating my first web site and don't have any experience with MySQL or ActionScripts; I don't think I would have been able to build the utility and definitely not as well as you have!

Adit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #13 (permalink)  
Old 04-06-08, 07:43
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,489
Rep Power: 6
Flep is on a distinguished road
Re: Simple GuestBook

Quote:
Originally Posted by ricdev View Post
The send button don't work. I just downloaded the files.
Has this issue been resolved?
Someone has your same problem. Dunno why it happens...

Go here:
main

does it work ?
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #14 (permalink)  
Old 07-06-08, 00:01
Junior Member
 
Join Date: May 2008
Posts: 3
Rep Power: 0
ricdev is on a distinguished road
Re: Simple GuestBook

Yes, it works on the link. But what does that mean though. Can I get the files on that link? Or they're the same as those I downloaded? By the way, do I still need to change any of the codes for those downloaded files - I'm assuming you've updated them by now? Speaking of which, the codes you said to change on the main.as has some part of it missing - where the codes appeared suddenly 3x bigger - there's definitely something wrong with them. Can you please advice again what I should do? Thanks.

Ric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #15 (permalink)  
Old 07-06-08, 08:02
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,489
Rep Power: 6
Flep is on a distinguished road
Re: Simple GuestBook

Hi ricdev,
donwload the files and change getMessages.php with this code:
PHP Code:
<?php
    
/*
 *************************************
  Flash CS3 Simple Guestbook                            
  http://www.flepstudio.org     
  Author: Filippo Lughi          
  version 1.0                                
 *************************************
 */
    
include('configuration.php');
    
    
$mysql mysql_connect($dbhost,$dbuser,$dbpass);
    
mysql_select_db($dbname);
    
    
$Query="SELECT * from simple_guestbook";
    
$Result=mysql_query$Query );
    
$Return="<?xml version=".'"1.0"'." encoding=".'"UTF-8"?>'."\n"."<items>";
    
    while(
$item=mysql_fetch_object($Result))
    {
     
$Return.="<item><id>".$item->ID."</id><name>".$item->name."</name><message>"."<![CDATA[".$item->message."]]>"."</message><date>".$item->date."</date></item>"
    }
    
$Return.="</items>";
    
mysql_free_result($Result);
    echo (
$Return)
?>
All the rest is fine.
About the send button, I think there is a little bug at this forum board that sometime with some browers the button won't work.
Files are ok, use the guestbook and you'll see
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Flash Multi Gallery
  #16 (permalink)  
Old 15-06-08, 05:46
Junior Member
 
Join Date: Jun 2008
Posts: 3
Rep Power: 0
punchi is on a distinguished road
Re: Simple GuestBook

First off, Thank You for such a wonderful site!

I just really started to learn flash/php/as3/xml. I feel like my head might explode at times from information overload or just plain confusion, but sites like this where i can download and examine the code are great!

just downloaded the guestbook and it works great!

Wondering though is it possible to have alternating row colors?

Like in a data grid, I've seen this to used to make each row a different color.

Code:
dg.setStyle("alternatingRowColors",[0xD8F9FC,0xeeeee6]);
Since the guestbook uses a text area not sure how to go about doing that.

Thanks again

Last edited by punchi; 15-06-08 at 05:50..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #17 (permalink)  
Old 17-06-08, 19:32
Junior Member
 
Join Date: Jun 2008
Posts: 3
Rep Power: 0
serefatka is on a distinguished road
Re: Simple Guestbook

I have a problem with throwing it into my mowie since I am using already PHP and the mowie for me is mad. what can i do with this??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #18 (permalink)  
Old 26-06-08, 15:18
Junior Member
 
Join Date: Jun 2008
Posts: 2
Rep Power: 0
bigdenzil is on a distinguished road
Question Re: Simple GuestBook

hello im a complete nbee to flash and have built a site maddensbars.com I am looking to put a message board on it but cant work out the changing configuration.php could you please explane to me were do i get the database dbhost,dbuser,dbpass and dbname from sorry for the bother but its been doing my head in and would really like to use the message board thanks

Last edited by Onsitus; 26-06-08 at 18:14..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #19 (permalink)  
Old 27-06-08, 02:33
Junior Member
 
Join Date: Feb 2008
Posts: 5
Rep Power: 0
bhatushai is on a distinguished road
Re: Simple GuestBook

Quote:
Originally Posted by bigdenzil View Post
hello im a complete nbee to flash and have built a site maddensbars.com I am looking to put a message board on it but cant work out the changing configuration.php could you please explane to me were do i get the database dbhost,dbuser,dbpass and dbname from sorry for the bother but its been doing my head in and would really like to use the message board thanks
Obviously you need to install a database application. as for this case you need to install mysql or you can use XAMPP, it will install apache webserver, mysql, php and some other stuff that you can choose.if you install on your local machine by default dbhost = localhost, dbuser = root, dbpass = empty. for dbname is actually the name of your database which you created.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #20 (permalink)  
Old 29-06-08, 00:27
Junior Member
 
Join Date: Jun 2008
Posts: 2
Rep Power: 0
bigdenzil is on a distinguished road
Re: Simple GuestBook

thanks i think i will have to read a few more books lol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Actionscript 3 simple image timer jamiewa Actionscript 3.0 newbies 3 07-11-08 12:53
Simple Guestbook Flep Utilità di FlepStudio 32 21-10-08 22:02
Actionscript 2 Stuck with a simple script biggsy Flash CS3 eng 1 07-07-08 15:27
Simple Problem Driving me Crazy nxtgenpro advanced Actionscript 3.0 1 28-05-08 21:23
Simple:Loading external SWF mabron Actionscript 3.0 newbies 1 14-05-08 23:02


All times are GMT. The time now is 19:06.


Powered by vBulletin versione 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap


FlepStudio
by Filippo Lughi
P.IVA 03605860406