vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - [AJAX] Helpful Answers - Allow users to rate individual posts (https://vborg.vbsupport.ru/showthread.php?t=204139)

guvner 02-06-2009 10:57 PM

Quote:

Originally Posted by Ted S (Post 1736567)
Are you sure the addon is (1) enabled for the forum with the postbit style and (2) not your own post?

Yes , quite.

I'm running it in my hidden management forum. When I select the style with postbit legacy it shows - when I switch styles to the one using standard postbit it disappears. This confirms that it's switched on and working just fine - just not with one of the templates.

Give me a few secs and I'll post 2 screenies of the same post in the same forum . . .

Ted S 02-06-2009 11:03 PM

Ok, I reviewed the code you posted before and this is strange. While you have the HR tag I don't see the DIV tag that wraps the entire element (it should be <div id="helpfulanswers_box_ ... >). Does that appear?

guvner 02-06-2009 11:04 PM

OK - 2 screenies - same post.

1. Postbit
2. Postbit legacy

I know that it won't provide any clues - just to confirm that the forum's been correctly selected and that the mod is working.

guvner 02-06-2009 11:08 PM

Quote:

Originally Posted by Ted S (Post 1736578)
Ok, I reviewed the code you posted before and this is strange. While you have the HR tag I don't see the DIV tag that wraps the entire element (it should be <div id="helpfulanswers_box_ ... >). Does that appear?

In the template that's working (legacy) yes it does:

Code:

                <div id="helpfulanswers_box_237366">
               
                        <br /><hr size="1" style="color:#D1D1E1" />
                                       
                       
                        1 out of 1 members found this post helpful.
                               
                       
                        </div>

But in the postbit template page source it doesn't appear. :confused:

Ted S 02-06-2009 11:14 PM

Well that makes even less sense. Revert the template helpful_answers in that style and be sure it starts with:

Code:

<if condition="$show['helpfulanswer']">
               
                <div id="helpfulanswers_box_$post[postid]">


guvner 02-06-2009 11:22 PM

Revert wasn't an option so I guess it's still original - and I confirm it starts as you describe.

guvner 02-06-2009 11:24 PM

I've just re-installed and overwritten (just in case) and no change. :(

Ted S 02-06-2009 11:28 PM

I'm sorry to keep making you work on this but I can't duplicate on any of my test sites.

Can you edit the template helpful_answers and change the <hr> line (add some random text) and see if that shows up when you view?

guvner 02-06-2009 11:41 PM

Think I'm getting somewhere - I'll get back to in a few ;)

Thanks for your patience :)

guvner 02-07-2009 08:34 AM

All fixed Ted - I can't really tell you what the problem was but I reverted the faulty template, added back my hacks and then re9nstalled your mod and all's well.

Thanks for your assistance.

One more question - once someone clicks that the post was helpful, is there an easy way to have the cell background change color to highlight it?

Mike :)


All times are GMT. The time now is 06: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.01147 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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