![]() |
Quote:
The code you're looking at is: Code:
<vb:if condition="!$show['notificationtype']"> |
Ok, next up.. lol. Sorry to make it seem like all I'm doing is pointing out problems - because overall this is an excellent product. We have an issue where a user submitted their own new product which we approved. That seemed to work fine. However, when the user (or anyone for that matter) go to leave a review of the product, we (including myself as an admin) get this error:
We had an issue posting your review, please try again or contact support and use code 164251-E. That error, according to your code seems to relate to something having to do with not being able to add new posts to the thread (build_new_post() function not adding the post?). When I turn on debugging, the only additional info I get in the error is Array (not the contents of the array). The thread appears to be open and able to be posted in, according to mysql: mysql> select open from thread where threadid = xxxxxx; +------+ | open | +------+ | 1 | +------+ 1 row in set (0.00 sec) mysql> select visible from thread where threadid = xxxxxx; +---------+ | visible | +---------+ | 1 | +---------+ 1 row in set (0.00 sec) |
Quote:
That message means vB was not able to build a reply. We can diagnose this further if open up productforums.php and go to around like 544 Replace eval(standard_error(fetch_error('prodforums_review _critdebug','164251-E',$errors))); with: Code:
echo "debug code:<br>"; |
Thanks, it was due to the length of the post title. The product itself had a long name, then when you added on the "x out of 5 rating for" plus the product name, it exceeded vB's length.
As a hack, I just edited the construction on newpost['title'] to make it much shorter. |
Quote:
|
Ok, moderation issue fixed. Just before your build_new_post() function is called, I added the following two lines:
$forumperms = fetch_permissions($foruminfo['forumid']); $foruminfo['moderatenewthread'] = 0; |
Quote:
Well I don't think there would be a mistake if there was a step by step guide on what to do. Besides I always back up files before doing something like this. thanks anyways |
Quote:
Now to find out how long is too long... |
Quote:
While I totally want to see people grow their sites and make that easy [hence all the free mods], I'm certain that this passes the "risk to reward" threshold. Sorry! If you want to take your forum beyond a certain point you really have to either learn some code or hire someone who knows it. There's great resources for both here @ vB.org too |
Quote:
Did this fix the posts and threads? |
All times are GMT. The time now is 04:54 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|