vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Mark thread as "solved" (https://vborg.vbsupport.ru/showthread.php?t=69153)

JohnBee 10-11-2006 09:40 PM

Great! .thumbsup.

Adrian Schneider 10-12-2006 03:44 AM

It's not really "tested" in its current state... but here I go anyway.

--snip--

https://vborg.vbsupport.ru/showthread.php?t=129737

--snip--

JohnBee 10-12-2006 10:48 AM

I downloaded and imported the product but received this error.

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
        (`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
        ('1', '5', 'Support Forum - Sort By Open', 'forumdisplay_query_threadid', '$supportForums = explode(\' \', $vbulletin->options[\'supportforum_ids\']);\r\nif (in_array($foruminfo[\'forumid\'], $supportForums) and $sqlsortfield == \'lastpost\')\r\n{\r\n        $sqlsortfield = \"thread.open desc, $sqlsortfield\";\r\n        $hook_query_where .= \' and thread.open <> 10\';\r\n        $openAtTop = true;\r\n}', 'siradrian_supportforum');

MySQL Error  : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date        : Thursday, October 12th 2006 @ 04:46:12 AM
Script      : http://www.website.com/forum/admincp/plugin.php
Referrer    : http://www.website.com/forum/admincp/plugin.php?do=productadd
IP Address  : 112.108.15.132
Username    : dbuser
Classname    : vb_database


Adrian Schneider 10-12-2006 05:42 PM

They added execution order in 3.6...

In the XML file, you can just remove any instances of it (I beleive it is an attribute for each <plugin>).

JohnBee 10-12-2006 06:21 PM

Okay I changed
Code:

<plugin active="1" execution order="5">
to
Code:

<plugin active="1">
Did the template changes.

Is there anything else I need to do other than close a thread for the separator to appear? So far nothing is happening.

Adrian Schneider 10-12-2006 06:57 PM

Did you set the option in the AdminCP (new option group at the bottom)?

BTW I also have a showthread edit which shows a friendly message to staff/thread starter/other people depending on what they can do.

JohnBee 10-12-2006 07:46 PM

Well that makes sense :)
I don't see the option in AdminCP though... can you tell me where it's suppose to appear?

Adrian Schneider 10-12-2006 07:47 PM

It should have added a new setting group to the bottom of the list of setting groups. I can help you over MSN if you'd like.... far faster lol

my contact info is in my profile

Adrian Schneider 10-16-2006 05:37 AM

Just an update for anyone else who is interested:

We have it working on John's site now, as well as 2 of my own boards. When a thread is closed, thread starters see a notice saying they can open/close the thread, regular users see a notice saying if they should create their own thread if they have a similar issue, and staff see a notice saying that the thread starter can open/close it.

I'm also going to make a simple script to open/close the thread so I can add a simple link/button saying Open Issue or Close Issue.

When I get some spare time I'll package it all up and release it here.

ibuddy 10-16-2006 08:21 AM

look forward to this....


All times are GMT. The time now is 04:39 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.01012 seconds
  • Memory Usage 1,734KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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