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 11:13 PM

Quote:

Originally Posted by Ted S (Post 2361572)
Awesome...

Now to find out how long is too long...

It's a vb setting (for thread title length) so probably wouldnt be hard to find the variable for it from vb and then either truncate or replace the post title if it exceeds that? For us we don't care so much about the post title so we made it just the rating.

GCC LLC 08-31-2012 11:18 PM

Quote:

Originally Posted by Ted S (Post 2361574)
Dude, rock on. For some reason those were hardset the other way.... and yet not breaking things for most forums?

Did this fix the posts and threads?

I've seen stranger things with vbulletin...lol

ashimashi 09-01-2012 01:49 AM

Quote:

Originally Posted by Ted S (Post 2361573)
People should back that up every time they install a mod, but they don't. People should read the install guide for a mod, but they don't. And this isn't about your files, it's your entire forum's data is.

While I totally want to see people grow their sites and make that easy [hence all the free mods], I'm certain that this passes the "risk to reward" threshold. Sorry!

If you want to take your forum beyond a certain point you really have to either learn some code or hire someone who knows it. There's great resources for both here @ vB.org too


What I will do is make a test forum just for this until I can get this working. So if anything does go wrong, it is only a test forum.

Thanks!

1320Nation 09-01-2012 01:55 AM

""Good or bad everyone wants to know what you think. Write a review and share your opinion of ********
Your review comments must be at least 1 characters long.""

This mod on my board is giving the above message for everyone that attempts to give a review for a product. Is there something I can check to stop this?

Ted S 09-01-2012 07:38 AM

1 Attachment(s)
Quote:

Originally Posted by 1320Nation (Post 2361613)
""Good or bad everyone wants to know what you think. Write a review and share your opinion of ********
Your review comments must be at least 1 characters long.""

This mod on my board is giving the above message for everyone that attempts to give a review for a product. Is there something I can check to stop this?

Try this version.

deverill2010 09-02-2012 07:56 AM

Quote:

Originally Posted by Ted S (Post 2361491)
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...

That didn't work ted, still cant approve them in the front end VB moderation.

deverill2010 09-02-2012 08:10 AM

Quote:

Originally Posted by Ted S (Post 2361512)
Mixing normal threads with review threads is just fine. Changing the forumdisplay however changes it for the entire forum... You can tweak the prodforums_threadbit template to adjust however you like.

The code you're looking at is:

Code:

<vb:if condition="!$show['notificationtype']">                   
        <ul class="threadstats td alt" title="<vb:if condition="$thread['dot_count'] > 0">{vb:rawphrase have_x_posts_in_thread_last_y, {vb:raw thread.dot_count}, {vb:raw thread.dot_lastpost}}</vb:if>">
        <li>{vb:rawphrase prodforums_rating,{vb:raw thread.pf_rating}}</li>
        <li>{vb:rawphrase prodforums_reviews,{vb:raw thread.pf_reviews}}</li>
        <li class="hidden">{vb:rawphrase rating}{vb:raw thread.rating} / 5</li>
        </ul>
</vb:if>


Ok thats brilliant, I have managed to change it back to normal which looks ace with your help and a user previously who posted a conditon.

One last question then I am finally done! How can I get the 'thread' icon to look like normal if not a review?


Oh and I've noticed when on the activity stream if I click on the title of a product, it redirects me to a "No Thread specified. If you followed a valid link, please notify the administrator" error. The URL at that point is - http://www.midwiferyonline.co.uk/showthread.php?t=[ARG:4

Ted S 09-02-2012 07:22 PM

1 Attachment(s)
Quote:

Originally Posted by deverill2010 (Post 2361899)
That didn't work ted, still cant approve them in the front end VB moderation.

Try this version as influenced by the oh so helpful GCC LLC

Ted S 09-02-2012 07:23 PM

Quote:

Originally Posted by deverill2010 (Post 2361900)
Ok thats brilliant, I have managed to change it back to normal which looks ace with your help and a user previously who posted a conditon.

One last question then I am finally done! How can I get the 'thread' icon to look like normal if not a review?


Oh and I've noticed when on the activity stream if I click on the title of a product, it redirects me to a "No Thread specified. If you followed a valid link, please notify the administrator" error. The URL at that point is - http://www.midwiferyonline.co.uk/showthread.php?t=[ARG:4

If you don't want the icons and threads why not just remove the hack to forumdisplay.php all together?

The icon is controlled a little higher up in the same template.

deverill2010 09-02-2012 08:45 PM

Because I want them to show for the products just not the normal threads, within the forum.

Or have I completely missed something?

Thanks I'll try that other file tomorrow as on iPad now.

Any idea regarding the product titles in the activity stream?


All times are GMT. The time now is 01:33 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.02159 seconds
  • Memory Usage 1,756KB
  • 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
  • (8)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