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)

GCC LLC 08-31-2012 10:45 AM

Thanks Ted, appreciate it. Did you forget to attach the file?

GCC LLC 08-31-2012 11:15 AM

mysql> select visible from post where postid = xxxxxxx;
+---------+
| visible |
+---------+
| 1 |
+---------+
1 row in set (0.00 sec)

deverill2010 08-31-2012 11:33 AM

1 Attachment(s)
Right ted this is what mine does when it a review is pisted. I don't have moderation for reviews turned on but yet they end up in moderation as you'll see below -

This was from a review posted earlier and the pictures are all of the SAME review.

The review shows up in moderation -

Attachment 140855

The same review shows up 'unregistered' in the activity stream for some reason.

Attachment 140856

The actual review on the thread, as you can see it isn't 'moderated'.

Attachment 140857

Trying to approve the reviews and the error I get -

Attachment 140858

Attachment 140859




Regarding my request for the stars images on the view forum bit, please see the image below. It would be great if you could show the overall star rating instead of the words "Rated: 0.0 / 5". -

Attachment 140860




And I had a question. Is there a way for the 'normal' threads within the product forum to show normally. I.e don't show the Rated: 0.0 / 5 & reviews column as this looks confusing and messy. They are normal threads not products so shouldn't be interefered with. See image -

Attachment 140861

GCC LLC 08-31-2012 12:45 PM

Deverill, you could probably edit the threadbit with a conditional to check for the thread prefix - it looks like you use Book Review: as a prefix on all reviews. The conditional to look into is $thread[prefix_rich]. Possibly something like <vb:if conditional = "$thread[prefix_rich]">display threadbit with the Rated: code here <vb:else /> show regular threadbit here </vb:if>

The thing I'm not sure about, without diving in and looking at it is that these changes may need to be made inside of forumdisplay.php itself (core vb PHP file hack that you made to have it change the threadbit on product review forums in the first place). Hope this helps at least point you in the right direction!

deverill2010 08-31-2012 01:30 PM

GCC LCC that's great thank you but In reality I have no idea unless someone says find x and replace it with y lol.

Thanks any how.

Ted S 08-31-2012 03:26 PM

1 Attachment(s)
Quote:

Originally Posted by GCC LLC (Post 2361431)
Thanks Ted, appreciate it. Did you forget to attach the file?

Me, forget, never? :eek:

Ted S 08-31-2012 03:27 PM

Quote:

Originally Posted by GCC LLC (Post 2361435)
mysql> select visible from post where postid = xxxxxxx;
+---------+
| visible |
+---------+
| 1 |
+---------+
1 row in set (0.00 sec)

1?? 1 means active, visible post. Hrmm....

Does the post show up to guests / other users and go to moderation at the same time or is treated like a normal thread and completely hidden in the queue?

Ted S 08-31-2012 03:31 PM

1 Attachment(s)
Quote:

Originally Posted by deverill2010 (Post 2361438)
Right ted this is what mine does when it a review is pisted. I don't have moderation for reviews turned on but yet they end up in moderation as you'll see below -

Try this version of upload/productforums.php

It will still put things into moderation I suspect [although i'm not sure why] but I'm wondering if you'll be able to properly approve them afterwords...

ashimashi 08-31-2012 03:41 PM

Quote:

Originally Posted by Ted S (Post 2361383)
It's not insane but it's not a template edit either.

1. Add a column [int or varchar] to the product table in your database for each field.
2. Update the admin php script to include this row in adding & editing products with database hooks to match.
3. Edit the template to display it back.



Not everyone uses US dollars. But you're correct, it's a great idea to add in your local currency sign.

Thank you but sorry that is just a little too complicated for me. You lost me at step one. Where do I find the product table?

Do you think it would be possible for you to make a quick tutorial on how to do this. I Believe many others would like this too if they would like to add their own custom fields to it.

Thanks!

Ted S 08-31-2012 04:43 PM

Quote:

Originally Posted by ashimashi (Post 2361494)
Thank you but sorry that is just a little too complicated for me. You lost me at step one. Where do I find the product table?

Do you think it would be possible for you to make a quick tutorial on how to do this. I Believe many others would like this too if they would like to add their own custom fields to it.

Thanks!

If you don't know where your database tables are you probably shouldn't try and do this, until you learn some mySQL & php that is. :up:

Messing around with your system at this level risks your entire forum if you do the wrong thing. Not the kind of stuff we like to document as the easier it appears, the more likely people are to jump in without paying attention to the warning system.


All times are GMT. The time now is 05:08 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.01986 seconds
  • Memory Usage 1,747KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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