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)

qpurser 03-25-2013 05:39 PM

Ted,
any idea how I can solve the small issues I mentioned in post #1516?

Thanks
Michael

Ted S 03-25-2013 05:54 PM

Quote:

Originally Posted by qpurser (Post 2412213)
Ted,
any idea how I can solve the small issues I mentioned in post #1516?

Thanks
Michael

I'm not entirely sure why it's happening at all. The editor should strip out any tags it doesn't like...

What are your HTML settings for posts?

qpurser 03-25-2013 06:04 PM

Quote:

Originally Posted by Ted S (Post 2412219)
I'm not entirely sure why it's happening at all. The editor should strip out any tags it doesn't like...

What are your HTML settings for posts?

For this particular forum HTML = No and BB code = yes.
Always thought for safety reasons you never should turn HTML ON. That's the reason I never turned it on

Ted S 03-25-2013 08:57 PM

1 Attachment(s)
Quote:

Originally Posted by qpurser (Post 2412231)
For this particular forum HTML = No and BB code = yes.
Always thought for safety reasons you never should turn HTML ON. That's the reason I never turned it on

Filtering should stop any real abuse from HTML but from a design perspective it's certainly a smart call in my book.

More importantly however your settings should allow everything to parse properly.

If you don't mind, give this version of productforums.php a try (backup your current version first).

qpurser 03-26-2013 12:45 AM

Quote:

Originally Posted by Ted S (Post 2412267)
Filtering should stop any real abuse from HTML but from a design perspective it's certainly a smart call in my book.

More importantly however your settings should allow everything to parse properly.

If you don't mind, give this version of productforums.php a try (backup your current version first).

This one does work for the formatting. No issues even when HTML is off but it seems every review needs moderation even when I said NO in the options

Ted S 03-26-2013 01:35 AM

1 Attachment(s)
Quote:

Originally Posted by qpurser (Post 2412310)
This one does work for the formatting. No issues even when HTML is off but it seems every review needs moderation even when I said NO in the options

Ok one more try using the most current public version with just the tweak made for this issue (the version I posted before probably had a few other new changes included as well).

miket1234 03-28-2013 09:25 AM

I got some problems with this plugin.
One is that path where I put the imagines.
I set it like this:
Quote:

/var/www/www.talkpoint.ro/imagini
But when I try to Sync them i get this error:
Quote:

couldnt save the image for - skipping
All Done!
That folder has 777 permisions. If i try other combinations of path i get this error:
Quote:

Couldnt save the image. Check your upload folder permissions.
In the first case, i find in folder IMAGINI some strange named jpg files with something_full.jpg,thumb and small at the end.

But nothing happens here. Still no pics:
http://talkpoint.ro/productforums.php?langid=1

Other questions:
Where I can remove SKU and EIN fields?
and it's possible to ADD pictures in "Full Description" field? If yes, how?
Thanks in advance

Ted S 03-28-2013 05:16 PM

Quote:

Originally Posted by miket1234 (Post 2412656)
I got some problems with this plugin.
One is that path where I put the imagines.
I set it like this:

Very strange that something is getting saved as these errors occur when the script can't access a file at the end of the process. Try adding a trailing / to the end of your folder name.

Quote:

Originally Posted by miket1234 (Post 2412656)
Where I can remove SKU and EIN fields?

Pull them out of the product page template and, if you're letting users add products, out of the add product template. You should know however that without an identifier you can't import products.

Quote:

Originally Posted by miket1234 (Post 2412656)
and it's possible to ADD pictures in "Full Description" field? If yes, how?

Nope.

miket1234 03-30-2013 12:42 PM

Quote:

Originally Posted by Ted S (Post 2412750)
Very strange that something is getting saved as these errors occur when the script can't access a file at the end of the process. Try adding a trailing / to the end of your folder name.

Didnt worked :(
What else can i do?

Ted S 03-30-2013 08:10 PM

Quote:

Originally Posted by miket1234 (Post 2413113)
Didnt worked :(
What else can i do?

Change to a new folder. Set the permissions. Check if the images are created in it and, if so, that they load.

miket1234 04-01-2013 01:11 PM

Quote:

Originally Posted by Ted S (Post 2413162)
Change to a new folder. Set the permissions. Check if the images are created in it and, if so, that they load.

Can you help me in other way by telling me what i need to have installed and which versions, like php 5, egg
Maybe i dont use the correct library/version or something

Ted S 04-01-2013 03:38 PM

Quote:

Originally Posted by miket1234 (Post 2413590)
Can you help me in other way by telling me what i need to have installed and which versions, like php 5, egg
Maybe i dont use the correct library/version or something

PHP5 with GD should do it.

miket1234 04-03-2013 01:15 PM

It was because I was using URLs for the pics. If i upload the imagines from the computer the sync runs perfectly.
I start to adapt your addon for my needs, making him from products manager to Recipes manager.
Here is my status:
all recipes: http://talkpoint.ro/productforums.php?langid=7
an individual recipe: http://talkpoint.ro/retete-din-bucat...1212/?langid=7

If you are kind, can you help me with 2 more things?

1. Its SEO problem. When I search on Google a recipe from my site, the return look like this:
Quote:

Subiect: Tort de 1 Aprilie - Talk Point Forum
talkpoint.ro/retete-186/tort-de-1-aprilie-1221/ - Translate this page
Informatii despre reteta... Vizualizeaza mai multe detalii.
which is the equivalent with returning this:
Varname $vbphrase[productforums_emptyproduct]
Text Product information... View for more details

I want to return that variable with short description. Where I can do this modification? and which is the name of that variable.

2. When I create a new recipe I want to slip in 2 the Full Descrition block: 1 area where i put the Ingredients and 1 where i explain how to prepare it. Which are the files/templates that I have to modify.

Thanks in advance!

Ted S 04-03-2013 02:27 PM

Quote:

Originally Posted by miket1234 (Post 2414056)
1. Its SEO problem. When I search on Google a recipe from my site, the return look like this:

I'm not understanding what you hope to change?

Quote:

Originally Posted by miket1234 (Post 2414056)
2. When I create a new recipe I want to slip in 2 the Full Descrition block: 1 area where i put the Ingredients and 1 where i explain how to prepare it. Which are the files/templates that I have to modify.

prodforums_product_details holds the product details for user display

Ted S 04-06-2013 09:21 PM

Quote:

Originally Posted by ScratchMang (Post 2414102)
Can this MOD handle more then one area for Reviews, and can it handle more then one Admin of the Reviews.

I have multiple vendors who use my forums, and I would like to be able to setup a "Product Review' area for each of them to maintain and Admin. As well as having a Global "Open" review area for forum members to use for things which the vendors do not supply. (If any of that makes sense)

So Vendor "A" has his own Product review area, where he can list his "Stuff" and allow (Or not) people to give him feedback on said Item.

Same would go for Vendor "B" and his area would not interfere or display anything for Vendor "A" (And visa versa)

Add to this an "Open" area for members to add stuff to if they so choose.

So when a Member comes into the forums, they can look at everything that Vendor "A" has to offer (And nothing from Vendor "B" etc..) and read people opinions on Vendor "A"'s stuff only.

Scratch

The mod will work across an unlimited number of forums each of which can have any standard forum settings you like although the product / review elements will be constant (i.e. all custom fields show up on all reviews).

Where things get tricky is in adding products when you want selectivity.

I'd suggest you add all of the "authorized" people to a custom usergroup and grant just that group access to add items with a hidden "pending products" forum for them to go to (user generated products all go to one forum). As you approve them you can move them to the right vendor area.

Make sense?

Burnt 04-16-2013 05:01 PM

Okay I tried looking at code which looks quite foreign to me to figure out what I want to do. Where would I begin to look at for the price to be a drop down box that shows $, $$, $$$, $$$$ for the min and max? I'm trying to do a bar reviewing site

Thanks!

Ted S 04-16-2013 06:05 PM

Quote:

Originally Posted by Burnt (Post 2416712)
Okay I tried looking at code which looks quite foreign to me to figure out what I want to do. Where would I begin to look at for the price to be a drop down box that shows $, $$, $$$, $$$$ for the min and max? I'm trying to do a bar reviewing site

Thanks!

Do you want price in the products or reviews?

Burnt 04-17-2013 04:17 PM

Quote:

Originally Posted by Ted S (Post 2416723)
Do you want price in the products or reviews?

http://tron3k.com/webimages/drinks.gif

Where I have circled I'd like it to be drop down menu's just like the 1-5 star ratings is so people can easily select $, $$,$$$, $$$$. Well thats the ultimate goal atm.

Ted S 04-17-2013 04:56 PM

Quote:

Originally Posted by Burnt (Post 2416951)
Where I have circled I'd like it to be drop down menu's just like the 1-5 star ratings is so people can easily select $, $$,$$$, $$$$. Well thats the ultimate goal atm.

$ is not a value that searches particularly well so you'd essentially have to do a few things...

1. Create a ranking system where $ = 1, $$ = 2, $$$ = 3, etc.

2. Modify all instances of the add product page (admin in php and user side in templates) to use these values with the associated names

3. Modify the search page to show the same dropdown (template) and then search on it rather than ranges (php)

It's not crazy code but it certainly takes some tweaking.

setishock 04-18-2013 01:18 PM

Just reopend my computer forum and this is going to make mine different from the rest. I'm gonna nab this and play on my test forum first. I'm on 4.1.2 pl8 so hopefully it works right.
Film at 11:00...

Ted S 04-18-2013 03:53 PM

Quote:

Originally Posted by setishock (Post 2417134)
Just reopend my computer forum and this is going to make mine different from the rest. I'm gonna nab this and play on my test forum first. I'm on 4.1.2 pl8 so hopefully it works right.
Film at 11:00...

Using that old of a version of vB there are likely things that will be a bit off.

setishock 04-19-2013 04:06 AM

Well you helped a guy on 4.0.4 using this. If mines old his is ancient. I'll let you know.

Ted S 04-19-2013 04:21 AM

Quote:

Originally Posted by setishock (Post 2417267)
Well you helped a guy on 4.0.4 using this. If mines old his is ancient. I'll let you know.

We'll always try to help but as you'll see, while most things worked for him, there were a few backwards compatibility issues. There's usually no issue within versions but 4.2 takes a major jump in a few templates & core components that are well used by this addon.

wisemasterchief 04-28-2013 02:00 PM

uninstalled product as it trashed activity.php and member.php .. generating blank pages whenever those two scripts were be used. please advise

Ted S 04-28-2013 05:49 PM

Quote:

Originally Posted by wisemasterchief (Post 2418935)
uninstalled product as it trashed activity.php and member.php .. generating blank pages whenever those two scripts were be used. please advise

Hrmm.... Not much I can do with blank page errors. What does your server error log say?

MoveOver.cc 05-09-2013 09:54 AM

I cannot see my "Exclude Product Review Forum Features" in my admin, forums section.

Can anyone please advise.

Thanks

Ted S 05-10-2013 12:18 AM

Quote:

Originally Posted by MoveOver.cc (Post 2420842)
I cannot see my "Exclude Product Review Forum Features" in my admin, forums section.

Can anyone please advise.

Thanks

PRF is inclusive. If you don't want it in a forum, don't enable it there (or if you did, turn it off).

miket1234 05-16-2013 11:47 AM

Hi!. I made this
Quote:

Open: forumdisplay.php in a text editor

Find:

$templater = vB_Template::create('threadbit');

Replace with:

if($foruminfo['productforumsbits']){
// adjust this to your images folder, for products w/o an image
if(!$thread['mainphoto_small']){ $thread['mainphoto_small'] = '/images/rating/pf/noimage-40.png'; }
$thread['pf_rating'] = vb_number_format($thread['pf_rating'],1);
$templater = vB_Template::create('prodforums_threadbit');
} else {
$templater = vB_Template::create('threadbit');
}
but i also want to see the "Views". What I hade to do to see that info beside ratings&reviews. Thanks in advance!

Ted S 05-16-2013 05:50 PM

Quote:

Originally Posted by miket1234 (Post 2422450)
Hi!. I made this
but i also want to see the "Views". What I hade to do to see that info beside ratings&reviews. Thanks in advance!

Just change the variables shown in the PRF forum display template.

addamroy 06-08-2013 01:59 AM

How do I change the fields? Is it possible to add custom ones?

One thing I can think of right off the bat is I really don't want the 'manufacturers' field there at all that one does me no good.

Any options or workarounds to add, customize or at least remove fields? I'd like to change a few in the 'additional options' as well.

Also, after trying to submit a product to the product forums I set up on my test site, all my thread says is this,
"Product information... View for more details "

No images no rating things no nothin

addamroy 06-08-2013 02:26 AM

Marked as installed but had to uninstall. As another poster said, it's destroying the activity stream.

When using this mod on the test site, I get the following error when trying to view activity.php (EVEN if I disable the activity stream option in the product review settings)

Fatal error: Declaration of vB_ActivityStream_View_Perm_Product_Review::fetchT emplate() must be compatible with that of vB_ActivityStream_View_Perm_Base::fetchTemplate() in /home/xxxx/public_html/testvb/vb/activitystream/view/perm/product/review.php on line 19

Edit** I disabled the add-on and I'm STILL getting that error when I try to view the activity stream... argh how do I fix it? Somehow I assume I have to remove the product review entries from the activity stream somehow or something. Help please

Ted S 06-08-2013 08:22 AM

Quote:

Originally Posted by addamroy (Post 2426557)
How do I change the fields? Is it possible to add custom ones?

Additional fields can be setup in your admin control panel under the PRF options. Existing fields must be removed by editing the templates.

Quote:

Originally Posted by addamroy (Post 2426557)
Also, after trying to submit a product to the product forums I set up on my test site, all my thread says is this,
"Product information... View for more details "

Did you follow up the setup guide to enable the mod in the forum you're posting products to?

Ted S 06-08-2013 08:22 AM

Quote:

Originally Posted by addamroy (Post 2426559)
Marked as installed but had to uninstall. As another poster said, it's destroying the activity stream.

What version of vB are you using?

And yes, if the mod is causing conflicts, you should remove it and / or any associated postings it has made.

addamroy 06-08-2013 10:31 AM

Quote:

Originally Posted by Ted S (Post 2426585)
What version of vB are you using?

And yes, if the mod is causing conflicts, you should remove it and / or any associated postings it has made.

I'm using 4.2.1 fresh install.

Any plans on fixing the activity stream bug?

Also how do I remove the entry from the activity stream so its not broken? I've disabled the mod but the stream is still broken.

Toorak Times 06-08-2013 12:27 PM

Ted, deadset mate, it has caused me all sorts of grief and still trying to delete, but won't go away, it is a brilliant idea, but I couldn't get it working 4.2.1

sadiq6210 06-08-2013 01:34 PM

Quote:

Originally Posted by sadiq6210 (Post 2409469)
I try to uninstall the mod but I got this error

Database error in vBulletin 4.1.12:

Invalid SQL:
DELETE FROM activitystreamtype WHERE section = 'product' AND type = 'review';

MySQL Error : Table 'dbname_testforum2.activitystreamtype' doesn't exist
Error Number : 1146
Request Date : Tuesday, March 12th 2013 @ 02:25:48 PM
Error Date : Tuesday, March 12th 2013 @ 02:25:48 PM
Script : http://www.domain.com/vbtest/admincp...do=productkill
Referrer : http://www.domain.com/vbtest/admincp...duct_forums&s=
IP Address :
Username : sadiq6210
Classname : vB_Database
MySQL Version : 5.1.68-cll

_________________________________________

In 4.1.12 there is no activity stream

I will use it soon but I want to test it first and have all information about it.
Thank you for the great mod

Quote:

Originally Posted by Ted S (Post 2409538)
The perils of using a significantly outdated version of vB with mods...

We'll be sure to code in db error suppression to avoid this bug but in the meantime you can comment out the lines in the .xml file, update and then uninstall.

I updated my forum to 4.2.1 and I tried to uninstall this mod
I uninstalled it and I didn't face any error during the un-installation process.

But after If I uninstalled it, the forum is not working at all (Database Error)! I receive many database errors in my email like this:

Code:

Database error in vBulletin 4.2.1:

Invalid SQL:

SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_global AS phrasegroup_global,
language.phrasegroup_activitystream AS phrasegroup_activitystream,
language.phrasegroup_holiday AS phrasegroup_holiday,
language.phrasegroup_adv_gallery_int AS phrasegroup_adv_gallery_int,
language.phrasegroup_bop5iframer AS phrasegroup_bop5iframer,
language.phrasegroupinfo AS lang_phrasegroupinfo,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep
, ppgal_user.ppicount, ppgal_user.pppcount, ppgal_user.lastimageid, ppgal_user.lastimagetitle, ppgal_user.lastimagedate, ppgal_user.lastpostid, ppgal_user.lastposttitle, ppgal_user.lastpostdate, ppgal_user.profile_active, ppgal_user.profile_exclude, ppgal_user.profile_include, ppgal_user.profile_orderby, ppgal_user.profile_cutoff, ppgal_user.profile_tabfirst, ppgal_user.profile_autosel, ppgal_user.profile_tabstats, ppgal_user.profile_tabhighlight, ppgal_user.profile_showtitle, ppgal_user.profile_showcat, ppgal_user.profile_showcontext, ppgal_user.profile_contextfirst, ppgal_user.profile_showhtitle, ppgal_user.profile_husername, ppgal_user.profile_showhcat, ppgal_user.profile_showhcontext, ppgal_user.ppfavcount, ppgal_user.upload_readpolicy, ppgal_user.profile_tabthumbs, ppgal_user.profile_limit
FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 5, user.languageid))

LEFT JOIN ppgal_user AS ppgal_user ON (ppgal_user.userid = user.userid)
WHERE user.userid = 1 LIMIT 1;

MySQL Error : Unknown column 'language.phrasegroup_activitystream' in 'field list'
Error Number : 1054

I installed it again and the forum is working.
Again I tried to uninstall it >> the forum not working (database error)
Install it again >> the forum working.
...........

How can I uninstall it? :(

Toorak Times 06-08-2013 01:50 PM

seek the files in your forumroot mate and delete, still looking for it all. I hate bagging products and Teds seems to be around...speak to Christos Teriakis mate

sadiq6210 06-08-2013 02:21 PM

Fixed

I uninstalled the product then I run (forum/install/upgrade.php) and the forum is working now. :)

Toorak Times 06-08-2013 03:02 PM

I had it working in 4.1.2 but use it, thaks Sadiq, it is an important vB mod I reckon

Ted S 06-08-2013 06:29 PM

Quote:

Originally Posted by sadiq6210 (Post 2426646)
Fixed

I uninstalled the product then I run (forum/install/upgrade.php) and the forum is working now. :)

Nicely done....

After you remove a mod, bits of information lingers in the activity system and a cleanup (whether an upgrade or just clearing the system stuff) should help.


All times are GMT. The time now is 10:55 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.02656 seconds
  • Memory Usage 1,876KB
  • 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
  • (1)bbcode_code_printable
  • (35)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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