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)

Kirk Fitzgerald 07-09-2012 11:20 AM

Quote:

Originally Posted by PattiOz (Post 2346301)
Kirk, IT WORKED! Thank you so much!

Well that is good news, I am very pleased for you and you are welcome, now get on and enjoy the mod, it is one of the best here. :)

For others having this problem, was it the alteration to the file that worked?

Ted S 07-09-2012 04:15 PM

Quote:

Originally Posted by nibb (Post 2346279)
This may sound strange but I do prefer to chase the issue. Because Im very curios why it works on most Vbulletin like you said and it does not in my own, in particular when I have no other plugins installed. Just upgraded to the latest VB and issue is still there. I also have basically none customization. Just a theme installed.

The issue must be surely a JavaScript issue or the mod not detecting any data send in the field. It must be a very small and easy to fix bug. My guess its not counting characters correctly and it assumes always the length is not correct.

Yes, waiting for versions is fine, if you have a temporary fix which I don?t. Im even more curious now because the other poster that said had the same issue like me fixed it by uninstalling and re-installing the mod. Something I can?t try because I have products already added and would lose them.

I'll indulge your curoisyt then...

From what we've figured out you're correct, there's something up with the script count and the comments being passed to the right field name.

The solution is to accept the message element directly:

Code:

$backupmessage = $vbulletin->GPC['message'];
and then check if we need to use it later in the script
Code:

if(!$comments AND $backupmessage){ $comments = strip_tags($backupmessage,'<b><br><br /><strong><em><i><u><ul><ol><li><p><font>'); }
[we all filter out all but basic html here, just in case].

Oddly the formatting seems to be the same even if the backup is used indicating that the editor still runs to a certain point.

Ted S 07-09-2012 04:16 PM

Quote:

Originally Posted by deverill2010 (Post 2346303)
Ihave to say I love how easy it is to customise the product page. Nothing like trying to edit colours an shizzle in VB.

I'm quite chuffed with what I've done, fits in with my new skin perfectly :)

Attachment 139628

Woot! Adding a static CSS file was much easier for us too.

Ted S 07-09-2012 04:18 PM

Quote:

Originally Posted by Kirk Fitzgerald (Post 2346285)
The second of which and this one is a real long shot, maybe your localhost PHP setup is a bit quirky, in this case try changing line 1387 of admincp/productforums.php to this

Gah... We'll add this change to 1.3.0 but why short_tags is even an option is beyond me.

Ted S 07-09-2012 04:19 PM

Quote:

Originally Posted by deverill2010 (Post 2346306)
Ha I'm loving it I'm well into it now. Sorry for my over excitement, I have been looking for something like this for ages!

Ted a wee customisation.. Is there anyway to make new reviews post with a prefix? I have a prefix set in the reviews forum but I'm manually having to edit the thread of each review and assign a prefix. I only have one prefix enabled so is there anyway when a review is created, to make it use the prefix?

Um, uh. Yes. But I'm not sure how... we'll have to dig into how prefixes are assigned and see about emulating them in. Maybe after 1.3.0 :D

PattiOz 07-10-2012 06:06 AM

I must say I am having a lot of fun with this Mod. I am trying to customize the productforums.php page and would like to put an x-repeating image into the search bar. How do I edit this code to do that:

Code:

.pf_search .pf_sh {
        background-color:#7D3D46;
        padding:5px;
        font-size:12px;
        color:#ffffff;
}

:)

And Kirk, yes it was the alteration of the file that worked.

deverill2010 07-10-2012 06:25 AM

You may find this useful - http://www.w3schools.com/cssref/pr_b...und-repeat.asp

Kirk Fitzgerald 07-10-2012 09:59 AM

Quote:

Originally Posted by Ted S (Post 2344140)
In the template productforums_listed_bit replace {vb:phrase prodforums_price,{vb:raw price}} with just {vb:raw price} and let me know what happens.

Brilliant, that answered the question I was about to ask. :)

deverill2010 07-10-2012 10:00 AM

Ted if you want to add a link to a live site using this I don't mind you using mine.

Kirk Fitzgerald 07-11-2012 07:07 AM

1 Attachment(s)
Hey Ted,
I made some yellow stars for use on my own site to replace the green stars as they didn't suit my skin, then noticed you are going to make other colours available. You are welcome to make use of these if they are any good to you.

Attachment 139664


All times are GMT. The time now is 09:34 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.04282 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
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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