PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Bugs - vBulletin 3.5.X (http://www.photopost.com/forum/bugs-vbulletin-3-5-x/)
-   -   quick reply error (http://www.photopost.com/forum/bugs-vbulletin-3-5-x/119563-quick-reply-error.html)

twitch November 6th, 2005 01:03 PM

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

Zachariah April 7th, 2006 02:45 PM

I think I got it
 
2 Attachment(s)
I think I got WYSIWYG fixed :D
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

B=0 Feedback please

- Unzip ajax.zip (gallery/ajax.php)
- Use QRFix.txt to update - newreply.php, showimage.php

OtAkU April 7th, 2006 07:38 PM

AWESOME FIX!!!! ..... no errors so far.... THANKS Zachariah....

the quickreply behaves a bit diff than vbs but it still works fine!

Zachariah April 8th, 2006 07:14 PM

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 :cool:

JoyB April 13th, 2006 04:17 PM

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. :)

Zachariah April 13th, 2006 05:58 PM

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.

JoyB April 14th, 2006 03:38 PM

Thank you very much - this worked a treat :)

albertsch9 April 15th, 2006 05:15 PM

Works for me too!!


All times are GMT -5. The time now is 03:41 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97