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 08-30-2012 06:16 AM

Quote:

Originally Posted by GCC LLC (Post 2361085)
I have everything configured properly. I still get double postings and moderation issues.

Understood. That remark was only intended for the individual who we were quoting as his/her issues are different with that error being explicitly caused by a lack of settings or invalid posting forum.

We should have time to chase these down tomorrow or friday...

GCC LLC 08-30-2012 08:40 AM

Gotcha. Thanks!

ashimashi 08-30-2012 08:37 PM

This is an amazing mod! I have been looking for something like this for almost a year now. I can't believe I missed this.

Thanks for the mod. I just have 2 questions regarding it.
IS it possible to edit a product after it has been published? To change the price for example. Or even delete it

Also, Is it possible to delete a review? I can delete the post but the product page says there is one review. After you click to see the review, it will say: No Thread specified. If you followed a valid link, please notify the administrator

Ted S 08-30-2012 08:39 PM

Quote:

Originally Posted by ashimashi (Post 2361322)
Thanks for the mod. I just have 2 questions regarding it.
IS it possible to edit a product after it has been published? To change the price for example. Or even delete it

Yup. That's the main point of the mod... products are stored in a database table so you can edit them, update them, etc. Edit through the PRF admin options.

Quote:

Originally Posted by ashimashi (Post 2361322)
Also, Is it possible to delete a review? I can delete the post but the product page says there is one review. After you click to see the review, it will say: No Thread specified. If you followed a valid link, please notify the administrator

Delete it through the PRF admin options.

ashimashi 08-30-2012 08:50 PM

Quote:

Originally Posted by Ted S (Post 2361323)
Yup. That's the main point of the mod... products are stored in a database table so you can edit them, update them, etc. Edit through the PRF admin options.



Delete it through the PRF admin options.

Oh I got it. I am supposed to search for it using ID.

Thank you, and thank you again for this great mod. :)

ashimashi 08-30-2012 09:09 PM

Sorry for posting again but I just have one more question. I tried searching in the How to page but I couldn't find a fix to it.

How do I add or remove additional fields when adding a product. For example if I want a field that says Year of release or if I want to remove a field like "UPC / ISBN / EIN Code" which came with the mod.

Thanks

Ted S 08-30-2012 09:27 PM

Quote:

Originally Posted by ashimashi (Post 2361327)
Sorry for posting again but I just have one more question. I tried searching in the How to page but I couldn't find a fix to it.

How do I add or remove additional fields when adding a product. For example if I want a field that says Year of release or if I want to remove a field like "UPC / ISBN / EIN Code" which came with the mod.

Thanks

Removing fields is as simple as editing the review template so they don't show in the display.

Adding fields requires a database modification at this point although you can put anything you like in the description.

ashimashi 08-30-2012 10:13 PM

Quote:

Originally Posted by Ted S (Post 2361334)
Removing fields is as simple as editing the review template so they don't show in the display.

Adding fields requires a database modification at this point although you can put anything you like in the description.

Okay thank you. I found the template needed and was able to edit the unwanted fields out.

But regarding adding fields, is it very complicated to do so? How must I add them? Adding them to the same template I removed fields from will most likely not do it.


Also just a suggestion if you ever do decide to upgrade this mod, I think it would be better if there was a dollar sign next to the Retail Price box when adding product. I noticed that it automatically puts dollar sign for you, so if someone puts it as well, there will be 2 of them displayed.

Ted S 08-31-2012 03:03 AM

Quote:

Originally Posted by ashimashi (Post 2361342)
Okay thank you. I found the template needed and was able to edit the unwanted fields out.

But regarding adding fields, is it very complicated to do so? How must I add them? Adding them to the same template I removed fields from will most likely not do it.

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.

Quote:

Also just a suggestion if you ever do decide to upgrade this mod, I think it would be better if there was a dollar sign next to the Retail Price box when adding product. I noticed that it automatically puts dollar sign for you, so if someone puts it as well, there will be 2 of them displayed.
Not everyone uses US dollars. But you're correct, it's a great idea to add in your local currency sign.

Ted S 08-31-2012 04:43 AM

Quote:

Originally Posted by GCC LLC (Post 2360849)
Yes. User "submits" one review but the content gets posted twice within postbit with a visible <br> in between.

Every review goes into moderation even though I have moderation turned off within the plugin as well as in the forum. I don't think it shows the <br> and duplicate content within the moderation window. I will check and see next time it happen.

Please try the attached version of upload/productforums.php which addresses the dup content issue [note: I couldn't duplicate it so this may take another shot or two].

For moderation I'm honestly stumped and unable to recreate it thus I'll have to unfortunately as for a little help on your part...

Next time a review gets stuck in the queue before you release it please check it's status in your SQL database:

SELECT visible FROM post WHERE postid = XXXX;

We'll keep going from there until it's all fixed.


All times are GMT. The time now is 04:09 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.04010 seconds
  • Memory Usage 1,762KB
  • 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
  • (9)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