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)

Goatpod 03-22-2012 10:24 PM

Thanks for that, Ted. Any advice on which hook to use? The plugin only seems to want to run on Global Start but that seems to fire to soon so it doesn't pick up the $product['mfrg']. I've tried lots of other hooks and nothing appears.

Quote:

Originally Posted by Ted S (Post 2312166)
The variable you're looking for is mfrg which, in the context of viewing a post is accessible as $product['mfrg']

You can add that to your array of the code is going into this mod directly. If you're placing it elsewhere like in another plugin be sure it's after this mod runs so it's available too you.


myco 03-22-2012 11:18 PM

works perfect in 4.1.10 - thank you - great work.

But one thing I do not get out.
I can`t change the $ in ? .
The $vbphrase[prodforums_priced] ist changed :confused:
thank you

Ted S 03-23-2012 03:21 AM

Quote:

Originally Posted by myco (Post 2312287)
works perfect in 4.1.10 - thank you - great work.

But one thing I do not get out.
I can`t change the $ in ? .
The $vbphrase[prodforums_priced] ist changed :confused:
thank you

Where is it showing up with the wrong format?

Ted S 03-23-2012 03:22 AM

Quote:

Originally Posted by Goatpod (Post 2312270)
Thanks for that, Ted. Any advice on which hook to use? The plugin only seems to want to run on Global Start but that seems to fire to soon so it doesn't pick up the $product['mfrg']. I've tried lots of other hooks and nothing appears.


The mod runs on the hook showthread_post_start in executionorder 5 so if you put yours higher than that, you should be able to see the value.

You can test by echoing it back.

myco 03-23-2012 11:05 AM

Quote:

Sorry, you can edit this with the phrase manager... Just change prodforums_priced
Sorry, but where can i find "prodforums_priced" ?

Ted S 03-23-2012 05:02 PM

Quote:

Originally Posted by myco (Post 2312430)
Sorry, but where can i find "prodforums_priced" ?

In the phrase manager. Just search by phrase name.

myco 03-23-2012 08:48 PM

Sorry for my bad english, i habe read "you can`t edit this with the phrase manager"

i have changed the prodforums_priced Phrase in Phrasemanager
Priced: ${1} to Preis: ?{1} but it still show Priced: $
any solution ?
thx

Ted S 03-23-2012 11:44 PM

Quote:

Originally Posted by myco (Post 2312615)
Sorry for my bad english, i habe read "you can`t edit this with the phrase manager"

i have changed the prodforums_priced Phrase in Phrasemanager
Priced: ${1} to Preis: ?{1} but it still show Priced: $
any solution ?
thx

Where is it showing this?

UK CHI3F 03-24-2012 06:04 PM

Hi Ted
Firstly let me say thanks for the great mod we took our time to install and work through all the posts but solved all the issues like $ or £ empty threads etc.
Great work

My question is hopefully simple and I did read some comments on it but couldn't find a firm answer.

Is there a possibility of a WYSIWYG editor or is there a way for me to do that kind of stuff?
I did try to use the normal forum editor and then switch the WYSIWYG to code then copy it all in but it just shows the code in the actual review.


Appreciate any help comments you could provide.

Ted S 03-24-2012 09:42 PM

Quote:

Originally Posted by UK CHI3F (Post 2312889)
Is there a possibility of a WYSIWYG editor or is there a way for me to do that kind of stuff?
I did try to use the normal forum editor and then switch the WYSIWYG to code then copy it all in but it just shows the code in the actual review.

Writing reviews will use the WYSIWYG editor unless you disable that option.

In the admin you get an HTML enabled editor for one off changes but bulk importing is really the best way to go.


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