vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Product Review Forums ? Research, Review & Compare Items (https://vborg.vbsupport.ru/showthread.php?t=269808)

Ted S 07-08-2012 07:14 AM

Quote:

Originally Posted by PattiOz (Post 2345983)
No luck yet Kirk. Same error. It's a fresh VB 4.2 install, no other mods, just been skinning the template.

Given the number of people using the mod I think it's safe to assume we should be starting with your download process, server and edits before jumping into the code its self...

What happens if you uninstall the mod completely, remove the files and recreate it without any edits? What version of php do you have?

Ted S 07-08-2012 07:15 AM

Quote:

Originally Posted by PattiOz (Post 2345982)
$templater = vB_Template::create('threadbit');

Replace with:

if($foruminfo['productforumsbits']){
$thread['pf_rating'] = vb_number_format($thread['pf_rating'],1);
$templater = vB_Template::create('prodforums_threadbit');
} else {
$templater = vB_Template::create('threadbit');
}

This refers to forums/productforums.php and has no bearing on the admin files.

PattiOz 07-08-2012 08:12 AM

I am using XAMPP on localhost: PHP (5.3.1)

Attempting to remove all files and reinstall now

OK just removed everything, reinstalled a new download, same error.

Core settings and Style settings work fine.

Here is the code as it looks in Notepad++

<?
}

print_cp_footer();

/*================================================= =====================*\
|| ################################################## ##################
|| Ta Da!
|| ################################################## ##################
\*================================================ ======================*/

?>

nibb 07-08-2012 09:52 AM

This addon is very nice but sadly I think it has a bug. I can only post a review as admin. As users I always get the error about the Minimum Review Length, I changed this setting multiple time and regardless of what you type in the review it will always complain it does not have the minimum characters. As admin I did not had any troubles posting a review.

deverill2010 07-08-2012 10:04 AM

Quote:

Originally Posted by nibb (Post 2346012)
This addon is very nice but sadly I think it has a bug. I can only post a review as admin. As users I always get the error about the Minimum Review Length, I changed this setting multiple time and regardless of what you type in the review it will always complain it does not have the minimum characters. As admin I did not had any troubles posting a review.

This is the trouble I had.

nibb 07-08-2012 10:12 AM

Quote:

Originally Posted by deverill2010 (Post 2346013)
This is the trouble I had.

Had or still have?

Because I read your messages about it and it does not talk about any solution to it. My guess is you still have this issue correct? If not, then could you post what is the problem to this?

deverill2010 07-08-2012 10:54 AM

I ended up uninstalling the mod, I would however like a solution as I'd like to reinstall and get this working.

MySaltyreef 07-08-2012 11:56 AM

Quote:

Originally Posted by Ted S (Post 2345867)
Very politely said given the context :D



Reviews are written through product listings and always by the user. In fact if you looked at the mod you'd see that there's no way for an admin to write one without going into the user interface themselves... The admin only lets you make products.

okay so its me then not understanding, i have the hack installed and appears to be working, so i create the product and a member reviews it ? i don't sell off my forum but if a member buys something cool and wants to show it off as well as do a review on it then this hack would work for me if admin didn't have to create anything if the member could upload his pic with a few things to fill out and select a category set out by admin and so forth, what i was asking is if you are working on extending the hack or keeping it as it is :)

Kirk Fitzgerald 07-08-2012 03:29 PM

Quote:

Originally Posted by PattiOz (Post 2345991)
I am using XAMPP on localhost: PHP (5.3.1)

Attempting to remove all files and reinstall now

OK just removed everything, reinstalled a new download, same error.

Core settings and Style settings work fine.

Here is the code as it looks in Notepad++

<?
}

print_cp_footer();

/*================================================= =====================*\
|| ################################################## ##################
|| Ta Da!
|| ################################################## ##################
\*================================================ ======================*/

?>


That file should be 57kb with 1397 line of code in it, are you using a download accelerator, these very often mess files up, if not trying switching browser just for the download, something is going really wrong during download for you.

deverill2010 07-08-2012 07:23 PM

Woo I've reinstalled this after my troubles last time, have created a product and have managed to leave a review!

The only thing is I don't see the 'star' images anywhere, where are they meant to show up too?


All times are GMT. The time now is 05:40 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
  • Page Generation 0.02751 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete