PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old November 6th, 2005, 01:03 PM   #1 (permalink)
Member
 
Join Date: Oct 2005
Posts: 77
quick reply error

Please complete both the subject and message fields.
1. The message you have entered is too short.
2. Please lengthen your message to at least 0 characters.

that is what I get after hitting submit. This has never happened before... does it no matter how much text I put in the wuickreply box. This is after upgrade to 3.5.1
twitch is offline  
Old April 7th, 2006, 02:45 PM   #2 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
I think I got it

I think I got WYSIWYG fixed
I have tested this on my DEV box and my live site.

Vbgallery 1.0.1, 1.0.2


Backup current Files.
- newreply.php
- showimage.php

Feedback please

- Unzip ajax.zip (gallery/ajax.php)
- Use QRFix.txt to update - newreply.php, showimage.php
Attached Files
File Type: zip ajax.zip (522 Bytes, 44 views)
File Type: txt QRFix.txt (3.3 KB, 71 views)

Last edited by Zachariah; April 7th, 2006 at 03:39 PM.
Zachariah is offline  
Old April 7th, 2006, 07:38 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Posts: 48
AWESOME FIX!!!! ..... no errors so far.... THANKS Zachariah....

the quickreply behaves a bit diff than vbs but it still works fine!
OtAkU is offline  
Old April 8th, 2006, 07:14 PM   #4 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Quote:
Originally Posted by OtAkU
AWESOME FIX!!!! ..... no errors so far.... THANKS Zachariah....

the quickreply behaves a bit diff than vbs but it still works fine!
A little fine tune needs to be done but good to hear it is worken
Zachariah is offline  
Old April 13th, 2006, 04:17 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jul 2004
Location: UK
Posts: 90
Hi,

This looks exactly like what I need to fix my Gallery, unfortunately looking at the instructions in the .txt file, I can't find the parts I have to replace in my "newreply.php" file.

I've searched all through the file but I can't find any reference to:

Quote:
$message = $vbulletin->input->clean_gpc('p', 'message', TYPE_NOHTML);
or the second part:

Quote:
/// no WYSIWYG quick fix
$post['message'] = $vbulletin->GPC['message'];
/*
// WYSIWYG
if ($wysiwyg)
{
require_once('./includes/functions_wysiwyg.php');
$post['message'] = convert_wysiwyg_html_to_bbcode($message);
}

// Normal editor
else
{
$post['message'] = $vbulletin->GPC['message'];
}
*/

// Quote from quickreply
if ($_POST['quickreply'])
{
$postinfo = $db->query_first("SELECT username, title, pagetext FROM " . TABLE_PREFIX . "adv_gallery_posts WHERE postid = '$postid'");

$vbulletin->options['quotetitle'] = 0;
if ($vba_options['images_quotetitle'] AND !$post['title'])
{
$vbulletin->options['quotetitle'] = 1;
}
$post['title'] = fetch_quote_title($post['title'], $postinfo['title']);

$originalposter = fetch_quote_username($postinfo['username']);
$pagetext = strip_quotes($postinfo['pagetext']);
eval('$quotemessage = "' . fetch_template('newpost_quote', 1, 0) . '";');
$post['message'] = "$quotemessage $post[message]";
$newpost['message'] = "$quotemessage $post[message]";
}
Any help would be appreciated.
JoyB is offline  
Old April 13th, 2006, 05:58 PM   #6 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
The code has changed a few times.

gallery/newreply.php

1) Change to look like this: (BOLD)

About: lines 124-135
Code:
Content visible to verified customers only.
2) About: Lines 150-199
Find:
Code:
Content visible to verified customers only.
Above that from:

Code:
Content visible to verified customers only.
all the way up to

Code:
Content visible to verified customers only.
Remove that code and replace the code in the txt file.

Last edited by Zachariah; April 13th, 2006 at 06:02 PM.
Zachariah is offline  
Old April 14th, 2006, 03:38 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jul 2004
Location: UK
Posts: 90
Thank you very much - this worked a treat
JoyB is offline  
Old April 15th, 2006, 05:15 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2006
Posts: 4
Works for me too!!
albertsch9 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
RP 3.0 and Vbulletin 3.5 - Quick Reply and Post Reply are differant(FIXED) indiamike ReviewPost Bug Reports 1 August 31st, 2005 08:46 AM
Quick Reply Template Underlab Photopost Pro How Do I...? 1 June 28th, 2005 02:18 PM
Quick Reply clearchannel Installs and Upgrade - vBulletin 3.0.X 21 April 24th, 2005 05:30 PM
Quick reply weirdpixels How Do I? - vBulletin 3.0.X 2 February 27th, 2005 10:50 AM


All times are GMT -5. The time now is 06:54 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0