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)
-   -   Show Thread Enhancements - Answer Forums 1.0.0 (https://vborg.vbsupport.ru/showthread.php?t=190990)

fitaholic 09-17-2008 01:26 PM

Quote:

Originally Posted by 4x4 Mecca (Post 1623949)
I edited the .xml and found the part that places "answered" or "unanswered" in the thread title, and replaced it with the path to the red or green flag

Then I found the template for the answer under the first post, and tweaked it to my liking. If the original mod creater doesn't care, I'll upload the file here, but you'll need to get your own green and red flag, because I might move mine soon.

Gio-ologist Please approve this! or show us the code on how to add an icon under the answered post

Hannan 09-17-2008 01:38 PM

It's look interesting, I'll try out!

kevinfx 09-17-2008 02:45 PM

yeah why not integrate it with vbcredit? or make it so that it can be integrated with any cash system

Gio~Logist 09-17-2008 03:01 PM

Quote:

Originally Posted by Pirat3 (Post 1623906)
Can you tell me how you got your thing to show up " Accepted Solution " ? I really like it like that

The "answered" and "unanswered" text is phrased ;)

Quote:

Originally Posted by 4x4 Mecca (Post 1623816)
I've customized this a little bit for my forums http://www.4x4mecca.com/forum/4x4-te...89-blazer.html

If you view the forum display for the tech forum http://www.4x4mecca.com/forum/4x4-tech-talk red flag = not solved, green flag = solved, and I made a better (in my opinion) postbit for the solution post.

I'm looking forward to the premium version to see what it has. I'd like only admin and the thread starter to be able to choose solution.

I'm going to include this in the light version to allow you guys to get more of an impact of the script ;) Will be added in the next release, already made the fix. The premium solution will be made available once i see you all here are completely satisfied with the effect of existing features. After this, an update will be made to the light version and the premium will be released on the same day!

For those looking to integrate this themselves till the next release, here's the simple fix:

Edit the following plugin: Answer Forums - Is question answered?

Search for:
PHP Code:

$thread['postuserid'] = $this->registry->userinfo['userid'

Replace it with:
PHP Code:

$thread['postuserid'] == $this->registry->userinfo['userid'

Quote:

Originally Posted by kevinfx (Post 1624144)
yeah why not integrate it with vbcredit? or make it so that it can be integrated with any cash system

Already planned for future versions. Still up in the air as to whether it will be available in the light or not. However, i will try my best to provide it in the upcoming version of the light.

Quote:

Originally Posted by Hannan (Post 1624100)
It's look interesting, I'll try out!

:up:

Gio~Logist 09-17-2008 03:04 PM

Quote:

Originally Posted by fitaholic (Post 1624091)
Gio-ologist Please approve this! or show us the code on how to add an icon under the answered post

This should do the trick within postbit templates :up:
HTML Code:

<if condition="$thread[g_answer_forum_answer] == $post[postid]">
Icons/html you'd like to show in the answer post
</if>


Gio~Logist 09-17-2008 03:08 PM

I'm seeking feedback on the ideal solution for giving credit for members who have provided answers (via vbplaza).

My idea is to simply make it so that user's can't change the best marked answer once they've selected it. Or should i just make it so that they can, but it'd take back the points given to the last user? This would be in attempt to prevent abuse of course. Admins will also always be able to change the answer however.

Ideas/comments/suggestions on this feature?

fitaholic 09-17-2008 04:04 PM

Quote:

Originally Posted by gio~logist (Post 1624156)
This should do the trick within postbit templates :up:
HTML Code:

<if condition="$thread[g_answer_forum_answer] == $post[postid]">
Icons/html you'd like to show in the answer post
</if>


Sorry I am a nube.

Please tell me exaclty where to place the code and if the code should look like this:

PHP Code:

<if condition="$thread[g_answer_forum_answer] == $post[postid]"><a href"
http://www.fitaholic.com/forum/images/misc/answer1.gif " 
/></a>
</if> 


inciarco 09-17-2008 06:44 PM

One Question: How can the Best Answers be Removed? :confused:

I don't see an Option to do that, and is Very Important to Provide one so that if by Mistake Chosing a Post the User can Take that Back and leave the Thread as Unanswered.

:)

TimberFloorAu 09-17-2008 10:12 PM

hmm.

all we get after importing is:

vbulletin options>answers

Show Question Status on Forumdisplay?
This will enable the question's status to show right before the title.

yes or no

thats it?

docs are light.. have i missed something

STRIKE THAT
found it at very bottom

Gio~Logist 09-18-2008 04:50 AM

Quote:

Originally Posted by fitaholic (Post 1624185)
Sorry I am a nube.

Please tell me exaclty where to place the code and if the code should look like this:

PHP Code:

<if condition="$thread[g_answer_forum_answer] == $post[postid]"><a href"
http://www.fitaholic.com/forum/images/misc/answer1.gif " 
/></a>
</if> 


In postbit or postbit_legacy next to $post[title]

Quote:

Originally Posted by inciarco (Post 1624299)
One Question: How can the Best Answers be Removed? :confused:

I don't see an Option to do that, and is Very Important to Provide one so that if by Mistake Chosing a Post the User can Take that Back and leave the Thread as Unanswered.

:)

This feature has been added to the next release which will be done once the other additional features are complete (will be done before you know it!)

Quote:

Originally Posted by TimberFloorAu (Post 1624417)
STRIKE THAT
found it at very bottom

:up:


All times are GMT. The time now is 05:50 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.01375 seconds
  • Memory Usage 1,764KB
  • 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_html_printable
  • (4)bbcode_php_printable
  • (10)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