• [MOD] Shoutbox 4 0 5 1
Currently:  

Author Topic: [MOD] Shoutbox  (Read 309797 times)

0 Members and 1 Guest are viewing this topic.

Offline bjorn666

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Shoutbox
« Reply #105 on: August 09, 2007, 08:16:41 PM »
Ok, this is not easy i see....

I cant delete tha shouts.... I want to delete my shoust... but i can.. the delete button do not work :roll: :roll:

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Shoutbox
« Reply #106 on: August 09, 2007, 08:32:33 PM »
Quote
the delete button do not work

The mean of not work ? Is do ?  :roll:
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline bjorn666

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Shoutbox
« Reply #107 on: August 09, 2007, 08:33:59 PM »
I can only edit them!

When i click "delete" (direct in the post or in the Admin) nothing works!

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Shoutbox
« Reply #108 on: August 09, 2007, 08:35:22 PM »
Quote
nothing works!

Result of nothing work ? Error message (precise) ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline bjorn666

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Shoutbox
« Reply #109 on: August 09, 2007, 08:36:27 PM »
No error message, no nothing....

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Shoutbox
« Reply #110 on: August 09, 2007, 08:38:19 PM »
Which version 4images - PHP - mySQL use ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline bjorn666

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Shoutbox
« Reply #111 on: August 09, 2007, 08:41:15 PM »
4images1.7.4
PHP version 5.2.3
MySQL version 5.0.27

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Shoutbox
« Reply #112 on: August 09, 2007, 08:45:28 PM »
One of new PHP version. My gues is this. Validate diff before PHP old version. ;)

I go first post - no download can ... have the ZIP file of MOD ? If so, please attach. Will look.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline bjorn666

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Shoutbox
« Reply #113 on: August 09, 2007, 08:47:33 PM »
Okay, here is the zip.
Thank you for the help.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Shoutbox
« Reply #114 on: August 09, 2007, 08:58:15 PM »
Ok, shout_editor.php file - for you:

Quote
if ($shout['0']['usrid']

replace:

Quote
if ($shout[0]['usrid']

Quote
"sh_name" => $shout['0']['name'],
"sh_message" => $shout['0']['message'],

replace:

Quote
"sh_name" => $shout[0]['name'],
"sh_message" => $shout[0]['message'],

Quote
$site_template->register_vars(array(
    "lang_deleted" => $lang['sh_deleted']
  ));

replace:

Quote
$site_template->register_vars(array(
    "lang_deleted" => $lang['sh_deleted']
  ));

if (isset($result) && $result) {
    redirect(ROOT_PATH . "shout.php");
}

Done.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline bjorn666

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Shoutbox
« Reply #115 on: August 09, 2007, 09:06:33 PM »
ok, then i get this:

Parse error: syntax error, unexpected $end in .../shout_editor.php on line 80

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Shoutbox
« Reply #116 on: August 09, 2007, 09:18:22 PM »
Quote
if (isset($result) && $result) {
    redirect(ROOT_PATH . "shout.php");
}

add:

Quote
}
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline bjorn666

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Shoutbox
« Reply #117 on: August 09, 2007, 09:31:02 PM »
ok, When i click "delete" i get 404 -not found
When i click "edit" i get the editor up but nothing happends when i click the buttons.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Shoutbox
« Reply #118 on: August 09, 2007, 09:33:51 PM »
404 not found ? Check web error logs in cPanel. What say ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline bjorn666

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] Shoutbox
« Reply #119 on: August 09, 2007, 09:39:18 PM »
 File does not exist: .../shout.php