vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Mark Threads As 'Solved' (https://vborg.vbsupport.ru/showthread.php?t=211020)

SVTCobraLTD 05-09-2011 09:51 AM

1 Attachment(s)
See attached screen shot.

This is what the thread looks like before you click "Mark Sold" Once clicked, that thread refreshes and is marked as sold (or solved), however, there will be no image where the current button is. There is supposed to show a button saying "Mark Unsold".

If you go to thread tools, it works fine both ways via that menu.

radiofranky 07-06-2011 06:13 PM

will this work on vb4.14?

thanks

Black Tiger 08-07-2011 04:31 PM

Please help me I'm having a problem uninstalling. I got this mod on one forum and tried it on a second, but then wanted to uninstall it again.
Now this is happening:
Quote:

Fatal error: Existing data passed is not an array
Called set_existing in [path]/admincp/plugin.php(1522) : eval()'d code on line 20
Called eval in [path]/admincp/plugin.php on line 1522
in [path]/includes/class_dm.php on line 235
#0 vb_error_handler(256, Existing data passed is not an array
And a lot more error codes.

I had a look at the solution given in post #34 but this is not good because the uninstall code for 1.1.2 is only:
Quote:

$db->hide_errors();

$db->query_write("ALTER TABLE " . TABLE_PREFIX . "usergroup DROP solvedthread_permissions");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "thread DROP is_solved");

require_once(DIR . '/includes/class_bitfield_builder.php');
vB_Bitfield_Builder::save($db);
build_forum_permissions();

// ################################################## #####################
require_once(DIR . '/includes/adminfunctions_prefix.php');
require_once(DIR . '/includes/functions_prefix.php');

$prefixsetdm =& datamanager_init('PrefixSet', $vbulletin, ERRTYPE_CP);
$prefixset = $db->query_first("
SELECT *
FROM " . TABLE_PREFIX . "prefixset
WHERE prefixsetid = 'solvedthread'
");
$prefixsetdm->set_existing($prefixset);
$prefixsetdm->delete();

build_prefix_datastore();

$db->show_errors();
So the text from the solution in post #34 is not present.

How can I fix things so I can uninstall this mod?

Black Tiger 08-07-2011 04:40 PM

Problem can be ignored because it is fixed.

The prefix was removed before the uninstall.
So I deleted the lines below the //#### which uninstalled the prefixset and now the mod uninstalled.

dendrob 10-05-2011 11:52 AM

Great mod. I installed it and modified things a bit so I can have "Solved" or "Unsolved" showing. It works great and in the thread listing in that forum all threads are correctly marked as "Solved" or "Unsolved", but on FORUMHOME, even though the thread has been changed it shows with it's old prefix when it was created. I then Have to go to Maintenance->Update Counters->Rebuild Forum Information for it to show correctly.

Black Tiger 10-05-2011 01:03 PM

@Dendrob: Correct. Have a look at post #204 from sheppardzwc, you can use that as a fix. Worked for me too.

RTMdotORG 10-06-2011 06:43 PM

How come I can't add html to the "SOLVED"?

Simon Lloyd 10-08-2011 09:01 PM

what do you mean add html?

Akangage 10-30-2011 06:49 AM

Not worked for vB 4.1.7 :(

Simon Lloyd 10-30-2011 08:49 AM

Quote:

Originally Posted by Akangage (Post 2262843)
Not worked for vB 4.1.7 :(

did you read the mod description???? it showed you this link for vb4 https://vborg.vbsupport.ru/showthread.php?t=234935


All times are GMT. The time now is 11:32 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.01589 seconds
  • Memory Usage 1,740KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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