 | |  | |
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
|
| |
April 7th, 2006, 02:45 PM
|
#2 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
| 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
Last edited by Zachariah; April 7th, 2006 at 03:39 PM.
|
| |
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!
|
| |
April 8th, 2006, 07:14 PM
|
#4 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
| 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 |
| |
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. |
| |
April 13th, 2006, 05:58 PM
|
#6 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
|
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.
|
| |
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 |
| |
April 15th, 2006, 05:15 PM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2006
Posts: 4
|
Works for me too!!
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 06:54 AM. | |