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 09-23-2012 07:44 PM

Quote:

Originally Posted by Noerenberg (Post 2368005)
I got no errors , nothing.
I dont know which setting i have to check, the standard editor is the WYSIWYG Editor.

All of them. The mod picks up your forum's settings for the editor.

What's the url to the write a review page?

Subieforums 09-23-2012 08:41 PM

Quote:

Originally Posted by Ted S (Post 2367990)
Did you upload the stars to your images folder? If so, where is it?

Yes, I uploaded it as described. I noticed that the url for the image shows two "-", is that what it's supposed to be?

http://www.subieforums.com/test/images/rating/pf/stars--5.png

When I look in the folder, there is no "stars--5.png".

Thanks! Looking into your other help now.

Subieforums 09-23-2012 08:50 PM

1 Attachment(s)
Quote:

Originally Posted by Ted S (Post 2367992)
That's really not something I can answer as every server is different.

1. This path needs to be from root, so in this case you are stating that /public_html/ is your first level folder, that sounds unlikely for most linux boxes but if you view the folder via FTP you can quickly confirm if anything is actually going into it.

2. The other path is a display link that corresponds to where images in that folder appear relative to your site. Thus if you're placing them in the /forum/ level folder [from web-root] the path would be /forum/productforums/.



If the path is wrong the image can't be created so yes, that would impact things :D



Please read the install guide. This is not done out of the box and requires code hacking.



External urls are not resized. Uploaded or synced images [you can have the script sync urls] are.

Tried different variations. I attached a screen shot.

Ted S 09-23-2012 10:02 PM

Quote:

Originally Posted by Subieforums (Post 2368026)
Tried different variations. I attached a screen shot.

If you don't know your server paths check with your hosting provider ans ask them for the location from root to your forum folder.

There is a literally infinite number of options and thus no way for me to be able to tell you what your individual settings should be.

Ted S 09-23-2012 10:03 PM

Quote:

Originally Posted by Subieforums (Post 2368024)
Yes, I uploaded it as described. I noticed that the url for the image shows two "-", is that what it's supposed to be?

http://www.subieforums.com/test/images/rating/pf/stars--5.png

When I look in the folder, there is no "stars--5.png".

Thanks! Looking into your other help now.

Good catch. The first value is the color of the stars {green or pink} which you need to set in your admin options. This should be a default but those don't always stick.

Subieforums 09-23-2012 10:13 PM

Quote:

Originally Posted by Ted S (Post 2368044)
Good catch. The first value is the color of the stars {green or pink} which you need to set in your admin options. This should be a default but those don't always stick.

Ok, the color was selected, but I changed the colors around in the drop down, saved, and now working so thanks. I'll check on the forum path issue and keep you posted, thanks!

TomasDR 09-25-2012 05:16 AM

Quote:

Originally Posted by Ted S (Post 2360793)
Escaping the string is essential for preventing injections so good call on working through that...

We'll be redoing the search function a bit in light of your bug report and will try to test with a few mySQLi connections as well.

All I did was use VB's standards and it worked.

Replaced all instances of:
Code:

mysql_real_escape_string
With
Code:

$db->escape_string
Works fine now and I believe I am still safe.

Ted S 09-25-2012 05:53 AM

Quote:

Originally Posted by TomasDR (Post 2368328)
All I did was use VB's standards and it worked.

Replaced all instances of:
Code:

mysql_real_escape_string
With
Code:

$db->escape_string
Works fine now and I believe I am still safe.

That's a totally safe approach which uses mysql_real_escape_string or whatever version is relevant for your mySQL / db install. We'll move over to this for best practices in the next version...

Subieforums 09-29-2012 02:57 PM

Got this just about ironed out and absolutely love it!

Just one question however, I am trying to get it so the "Post New Thread" button actually is "Add New Product" like in this screenshot: https://vborg.vbsupport.ru/attachmen...1&d=1342151619

Any quick answer to that, thanks!

Noerenberg 09-29-2012 09:07 PM

Quote:

Originally Posted by Ted S (Post 2368015)
All of them. The mod picks up your forum's settings for the editor.

What's the url to the write a review page?

EDIT

DELETE

After 10 days of waiting tzzzzzzzzz


All times are GMT. The time now is 01:31 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.02338 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_code_printable
  • (9)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