Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #31  
Old 10-11-2006, 09:40 PM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great! .thumbsup.
Reply With Quote
  #32  
Old 10-12-2006, 03:44 AM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

--snip--

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

--snip--
Reply With Quote
  #33  
Old 10-12-2006, 10:48 AM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #34  
Old 10-12-2006, 05:42 PM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>).
Reply With Quote
  #35  
Old 10-12-2006, 06:21 PM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #36  
Old 10-12-2006, 06:57 PM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #37  
Old 10-12-2006, 07:46 PM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well that makes sense
I don't see the option in AdminCP though... can you tell me where it's suppose to appear?
Reply With Quote
  #38  
Old 10-12-2006, 07:47 PM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #39  
Old 10-16-2006, 05:37 AM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #40  
Old 10-16-2006, 08:21 AM
ibuddy ibuddy is offline
 
Join Date: Apr 2006
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

look forward to this....
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:22 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04352 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete