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)

jorgejgm 02-05-2012 08:41 AM

Hello,

Congratulations on your mod.

Can I extend the limit of characters in the url of the product? My affiliate links occupy nearly 400 characters.

Thank you.

Ted S 02-05-2012 09:04 AM

Quote:

Originally Posted by jorgejgm (Post 2296355)
Hello,

Congratulations on your mod.

Can I extend the limit of characters in the url of the product? My affiliate links occupy nearly 400 characters.

Thank you.

You will need to alter the database structure to change the url field from a varchar to a text field.

Killhunter 02-05-2012 09:54 AM

Hi Ted S,

i went back to 1.1.2, but now I have that problem that new reviews have to be activated manually by an admin. Is there a fix?

Ted S 02-05-2012 10:25 AM

Quote:

Originally Posted by Killhunter (Post 2296373)
Hi Ted S,

i went back to 1.1.2, but now I have that problem that new reviews have to be activated manually by an admin. Is there a fix?

Yes, that's the main reason for new releases -- to fix bugs. If for some reason you want to run an old version you can compare the code to see what changed.

Killhunter 02-05-2012 11:48 AM

Quote:

Originally Posted by Ted S (Post 2295452)
Code:

if(strlen($comments) < $vbulletin->options['prodforums_minreview']){ $errors .= "Your review comments must be at least ". $vbulletin->options['prodforums_minreview'] ." characters long.<br />"; } // must have rating picked

So where do i have to implement or delete this code? Sorry, im not a coder :(

Killhunter 02-05-2012 03:45 PM

By the way I would love to see a feature with enables to sort products by reviews (stars).

Killhunter 02-05-2012 03:46 PM

And it would also be nice to see a feature, with displays the 5 best reviewed (most stars) products in the sidebar (with picture, name and link to reviews). Or the 5 newest or 5 chosen as "hottest"

morrow 02-05-2012 04:17 PM

Ok... I re-uploaded all of the files. I rebuilt my forums.

I found the option to enable this mod and it is enabled. The forum does allow posting and is setup just like my other forums.

I'm not seeing a link anywhere for the forum products though. When I go into the forum it looks just like all the other forums. The modification is enabled.

This is driving me nuts! I still get the same thing when attempting to create a new product. "something terrible wrong....etc..."

Ted S 02-05-2012 07:55 PM

Quote:

Originally Posted by Killhunter (Post 2296401)
So where do i have to implement or delete this code? Sorry, im not a coder :(

You can find it in productforums.php - learning to hack code is a good skill for improving your forum but if you're not familiar with how to make changes you should head over to the programming area of this community for help.

Ted S 02-05-2012 08:00 PM

1 Attachment(s)
You've got two different issues so let's break them apart...

Quote:

Originally Posted by morrow (Post 2296479)
This is driving me nuts!

The option is at the end of your forum's settings and is called Enable Product Review Forum Features?

Screenshot attached

Quote:

Originally Posted by morrow (Post 2296479)
I still get the same thing when attempting to create a new product. "something terrible wrong....etc..."

The error comes when the script can't get information on the forum you are posting too. So again I have to ask; does the forum you have selected in the options accept new posts and if so, have you rebuilt your forum cache? [Maintenance -> Update Counters]

morrow 02-05-2012 08:21 PM

1 Attachment(s)
Quote:

Originally Posted by Ted S (Post 2296568)
You've got two different issues so let's break them apart...
The option is at the end of your forum's settings and is called Enable Product Review Forum Features?

Screenshot attached

The error comes when the script can't get information on the forum you are posting too. So again I have to ask; does the forum you have selected in the options accept new posts and if so, have you rebuilt your forum cache? [Maintenance -> Update Counters]

See my attachment. Yes, I've rebuilt my forum cache too.

Thanks for the help

Ted S 02-05-2012 10:20 PM

Quote:

Originally Posted by morrow (Post 2296575)
See my attachment. Yes, I've rebuilt my forum cache too.

Thanks for the help

This is an issue no one else has had after fixing their settings so I'll have to dive in further. Please post a screenshot of your core settings for us to debug with.

And fyi, without any products created, your threads will appear exactly like a normal thread. Only products appear differently.

morrow 02-05-2012 11:57 PM

1 Attachment(s)
Quote:

Originally Posted by Ted S (Post 2296598)
This is an issue no one else has had after fixing their settings so I'll have to dive in further. Please post a screenshot of your core settings for us to debug with.

See attachment

Quote:

And fyi, without any products created, your threads will appear exactly like a normal thread. Only products appear differently.
Understood but I can't enter any products!

Ted S 02-06-2012 06:24 AM

Quote:

Originally Posted by morrow (Post 2296614)
See attachment

You have not specified a forum for new products to be posted too [for users]. Are you having issues adding them as an admin or a front-end user?

morrow 02-06-2012 03:25 PM

1 Attachment(s)
I've now changed that to 178 which is the forum (only forum at the moment) I intend to use this in.

Even after changing that, I get the following (See attachment):

Killhunter 02-06-2012 04:20 PM

Quote:

Originally Posted by Ted S (Post 2296563)
You can find it in productforums.php - learning to hack code is a good skill for improving your forum but if you're not familiar with how to make changes you should head over to the programming area of this community for help.

Thank you very much, I got it.


Another problem: http://file1.npage.de/002827/87/bilder/proproblem.png

This problem does only appear at this style. But this style works great with everything, just your mod doesnt seem to appear correctly. Do you have an idea, what the problem could be and where i could search for it and fix it?

Killhunter 02-06-2012 04:23 PM

another thing is that the search bar is pretty annoying on small forums: http://file1.npage.de/002827/87/bilder/proprob2.png

Ted S 02-06-2012 05:57 PM

Quote:

Originally Posted by Killhunter (Post 2296856)
another thing is that the search bar is pretty annoying on small forums: http://file1.npage.de/002827/87/bilder/proprob2.png

My philosophy on mods is simple... a mod is a starting place to give you a feature that will work anywhere but making it work best, and match, your site, will always require some tweaking. You can change the template prodforums_matches to look however you like.

Ted S 02-06-2012 06:26 PM

Quote:

Originally Posted by morrow (Post 2296828)
I've now changed that to 178 which is the forum (only forum at the moment) I intend to use this in.

Even after changing that, I get the following (See attachment):

The mod is pulling up the default vBulletin create post function which is failing. At a glance I don't see a debug tool to figure out why but we'll find a way to figure out what's going wrong and be back in touch.

Killhunter 02-06-2012 08:33 PM

Would love to see pictures of the most reviewed and best reviewed products at the product....php

Ted S 02-06-2012 11:39 PM

1 Attachment(s)
Quote:

Originally Posted by morrow (Post 2296828)
I've now changed that to 178 which is the forum (only forum at the moment) I intend to use this in.

Even after changing that, I get the following (See attachment):

Give the attached version of admincp/productforums.php a try... it should throw out an error when you go to create a product which we can use to debug the issue.

Killhunter 02-07-2012 01:01 PM

In productforums.php the price isnt display. like your example: https://vborg.vbsupport.ru/attachmen...7&d=1327272084

Killhunter 02-07-2012 02:07 PM

Finally after 1 hour, i found the mistake.. your addon is not compatible with that one: https://vborg.vbsupport.ru/showthrea...ght=breadcrumb

I would love, if you could fix that.

Breadcrumb hack activated:

https://vborg.vbsupport.ru/external/2012/02/54.png

Breadcrumb hack not activated:

https://vborg.vbsupport.ru/external/2012/02/55.png


If you please could find the mistake... i really love this breadcrumb hack :)

Ted S 02-07-2012 06:30 PM

Quote:

Originally Posted by Killhunter (Post 2297162)
If you please could find the mistake... i really love this breadcrumb hack

I'm not sure why you'd use the word mistake. Mods write code to make their mod work... neither code is intended to impact the other... But given the open nature of addons it's not always possible to avoid collisions.

Our mods are always designed to let others integrate but when it comes to stepping on the same code bits, it's not always something we can avoid... there's just no way to try a mod against every other possible install.

As always, we have to measure the total requests vs one instance and see what makes sense to do.

Killhunter 02-08-2012 03:41 PM

Sorry, my english is bad.

I dont think that i am the only one which is using this hack? Is there no simple way to avoid this?

Killhunter 02-08-2012 03:50 PM

Isn?t it possible to comment the hack out for this site of your addon? :)

Ted S 02-08-2012 05:35 PM

Quote:

Originally Posted by Killhunter (Post 2297566)
Isn?t it possible to comment the hack out for this site of your addon? :)

It depends on how it overlaps. Mostly it's pretty simple, sometimes it's not so easy but neither our team nor the other mod's author can reasonably go through every addon out there to find and remove conflicts. That's the downside of an open network.

Instead we try to find bugs that may cause issues with addons overall and kill those as well as build integration points so other mods can take data out or access our functions to extend into the mod.

Killhunter 02-09-2012 07:27 AM

Could you please have a look? The hack isnt that big ;)

Ted S 02-09-2012 07:52 AM

1 Attachment(s)
Quote:

Originally Posted by Killhunter (Post 2297822)
Could you please have a look? The hack isnt that big ;)

There is nothing in that mod that alters how the Product Forums overview page looks on the default vBulletin style... not even by a pixel. However the mod does add <div> tags around each link which, depending on your site's styles may change how the page renders.

You will need to debug what attributes from your style are altering the page layout. It may be as simple as needed to clear the area under your navbar template or you may discover that your styles are conflicting by assigning other elements to our page.

While we will of course fix any open issue that effects sites at large, we can not diagnose individual site customizations, styles or mods.

sgbmad 02-10-2012 09:42 AM

Great but I receive allways the same error:

"Oh great, you had to go and press THAT button. There goes the whole site. Just kidding... We had an issue posting your review, please try again or contact support and use code 164250-E"

My settings:

http://i.imgur.com/ylia1.png

I tried to use different configurations without success.

I would like to use this hack....

Thanks.

sivaganeshk 02-10-2012 10:56 AM

please update a demo/Live link in the first post !!

ludachris 02-10-2012 02:35 PM

A couple questions on this add-on:

1. Can you have multiple Affiliate Shop URL/Title fields (for multiple vendors who sell the product in question)? If not, can this be suggested for a future release? For car enthusiast sites, this would be gold. We will almost always have multiple shops carrying the same products.

2. Would it be easy for the admin to quickly pull down all affiliate links for a single vendor if necessary?

ludachris 02-10-2012 02:43 PM

Another suggestion would be to give certain vendor usergroups the ability to add their own affiliate links to each product on the front end... if you have sponsors who will add their own links, this would be huge for admins.

sgbmad 02-10-2012 04:12 PM

Quote:

Originally Posted by sgbmad (Post 2298183)
Great but I receive allways the same error when I submit a review:

"Oh great, you had to go and press THAT button. There goes the whole site. Just kidding... We had an issue posting your review, please try again or contact support and use code 164250-E"

My settings:

http://i.imgur.com/ylia1.png

I tried to use different configurations without success.

I would like to use this hack....

Thanks.

Somebody knows some solution for this? :(

Thanks.

Ted S 02-10-2012 04:15 PM

Quote:

Originally Posted by sgbmad (Post 2298183)
Great but I receive allways the same error:

"Oh great, you had to go and press THAT button. There goes the whole site. Just kidding... We had an issue posting your review, please try again or contact support and use code 164250-E"

My settings:

http://i.imgur.com/ylia1.png

I tried to use different configurations without success.

I would like to use this hack....

Thanks.

You have not filled out the settings for where to put new products thus the mod can't add them.

sgbmad 02-10-2012 04:53 PM

Quote:

Originally Posted by Ted S (Post 2298307)
You have not filled out the settings for where to put new products thus the mod can't add them.

Thanks Ted.

Well, with this settings I have the same error :(

http://i.imgur.com/uZSb1.png

Ted S 02-10-2012 06:11 PM

1 Attachment(s)
Quote:

Originally Posted by sgbmad (Post 2298323)
Thanks Ted.

Well, with this settings I have the same error :(

http://i.imgur.com/uZSb1.png

Try this version of productforums.php which will print debugging code.

sgbmad 02-10-2012 06:29 PM

Quote:

Originally Posted by Ted S (Post 2298341)
Try this version of productforums.php which will print debugging code.

Thank you so much Ted.

I commented "Your review comments must be at least " line and I added a ";" in the line 460.

But does not show something different.

https://vborg.vbsupport.ru/external/2012/02/34.png

Thank you again Ted.

Ted S 02-10-2012 07:28 PM

1 Attachment(s)
Your forum is throwing errors every time the script goes to create a post.

Here's a debug version that traps all of the errors in that routine.

sgbmad 02-10-2012 08:29 PM

Quote:

Originally Posted by Ted S (Post 2298371)
Your forum is throwing errors every time the script goes to create a post.

Here's a debug version that traps all of the errors in that routine.

Now it shows this error:

"something failed at 164250-B...
Array ( [0] => The message you have entered is too short. Please lengthen your message to at least 5 characters. ) "

Thanks for your help Ted. :o


All times are GMT. The time now is 09:07 PM.

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.02703 seconds
  • Memory Usage 1,845KB
  • 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
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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