Photopost 2.4.3 and Vbulletin 3.8.1

pantah

New Member
Can anyone fill in this code that's vital to fixing errors with the new version of VB? I'd rather now wait for Photopost 2.5 coming any day now because it's broke right now.

This is the thread on Photopost:
Can't Quick Reply or Post Reply - PhotoPost Community

Can't Quick Reply or Post Reply
Not sure what all has changed with vbulletin anymore, but now i can't post comment's to pictures posted in the gallery.

If i try to quick reply, it refreshes to this error:


The following errors occurred with your submission:
1. Please complete both the subject and message fields.

and on the new page, it shows a 0 in the message box. When i remove the 0 and type in a message, it refreshes to the error above.
------------------------
Yep.. you are right.. this comes from an inconsistency in fetching the variables..

vbgallery does not use $vbulletin->GPC['message'] but cleans the post vars earlier with $message = $vbulletin->input->clean_gpc('p', 'message', TYPE_STR); . Thats ok.. but if somewhere in 3.8 init or global.php the postvar is cleaned allready or set to 0 if you are not in forums.. it cant be fetched twice..

anyway to fix that issue try following:
open gallery/newreply.php:
find:
Code:

Content visible to verified customers only.

and replace with:
Code:

Content visible to verified customers only.

I think this should fix the problem.

Luc

--------------------------------
I found another problem (but it can be selfmade -- so test if you have it also) (its only cosmetic)

if quickreply is empty.. and you click on "go advanced" you get to main editor.. but you also have an error message.
Quote:
1. Please complete both the subject and message fields.
2. The message you have entered is too short. Please lengthen your message to at least 0 characters.
this is normal.. because quick reply was empty.. but it should only be there if you actually posted and NOT if you come from quickreply..
If you can reproduce it do following:

open gallery/newreply.php and find:
Code:

Content visible to verified customers only.

and ABOVE add:
Code:

Content visible to verified customers only.

but again.. i checked some other installs.. some have the problem.. some dont.. so check if you have it before fixing..
 
I have downloaded PhotoPost PHP Pro 5.6 from Demonoid, Now I have no clue how to install this

I didn't even spend time with it. so here it is and share the knowledge too :D
 
Back
Top