vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Resolved Threads (https://vborg.vbsupport.ru/showthread.php?t=71415)

Logikos 11-05-2004 10:00 PM

Resolved Threads
 
Resolved Threads


====================
Author: Ken 'LiveWire' Iovino
Site: www.initialz.com
Version: 1.0
====================

Updates
  • None at this moment

Add Ons
Close thread after thread is considered resloved. Click Here for this Addon (Thanks to BeerMonster)

What this does
This will give thread starters the option to click a link to make a thread considered resolved. The way it works is simple. It will change the title of the post from 'I Need Help' to '[resloved] I Need Help'. This works as per forum basis and you can have this turned on/off on any forum you want. Only thread starters will see this option. If you want admins to see this option also, see This Thread Here

If you would like to change the text, open 'resolved.php' look at line 35.

To do list...
  • Time to install: 3-5 minutes
  • Queries to run: 2
  • File Mods: 2
    • /admincp/forum.php
    • /showthread.php
  • Templates to edit: 1
    • SHOWTHREAD
  • Templates to add: 1
  • New Phrases: 2

Please read carefully and make all the necessary changes as stated. This is will work if installed properly.
PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack

Click It

Help & Support
Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here.

Please post bugs and errors here. Hope you like, feedback welcomed.



HiDeo 11-06-2004 07:09 AM

Really nice job, thanks Live Wire

Bozkurtum 11-06-2004 07:28 AM

Nice hack. thanks ;)

SnowBot 11-06-2004 09:48 AM

Do admins see the option and change it?

dethfire 11-06-2004 01:57 PM

this will work great for one of my homework forums, anyone try it out, any problems?

Logikos 11-06-2004 03:09 PM

Quote:

Originally Posted by SnowBot
Do admins see the option and change it?

If you want admins to beable to see this option you just need to edit the SHOWTHREAD template and find:
HTML Code:

<if condition="$firstpostinfo[userid] == $bbuserinfo[userid]">
        $resolvedlink
</if>

And change to:
HTML Code:

<if condition="$firstpostinfo[userid] == $bbuserinfo[userid] OR $bbuserinfo[usergroupid] == 6">
        $resolvedlink
</if>


danrak 11-06-2004 03:23 PM

I went to install it but looking at the install file where it says to run this query all I see is this:

+---------------------+

+---------------------+

Logikos 11-06-2004 03:48 PM

Oppsiee, The query you want to run is
[sql]
ALTER TABLE forum ADD (
isresolved smallint(3) not null default ''
)
[/sql]

Zip Updated.

danrak 11-06-2004 04:21 PM

I've run the query and did all the hacks. Now I'm getting
Database error in vBulletin 3.0.3:

Invalid SQL:
SELECT resolved
FROM thread
WHERE threadid = 21760

mysql error: Unknown column 'resolved' in 'field list'

mysql error number: 1054

Date: Saturday 06th of November 2004 01:17:59 PM
Script: http://www.techsupportforum.com/showthread.php?t=21760
Referer: http://www.techsupportforum.com/forumdisplay.php?f=98
Username: danrak
IP Address: 68.200.117.30


Sorry to be a pain. I think this would be a great addition to one of my sites.

GamerJunk.net 11-06-2004 07:10 PM

Can you change the word so it doesn't say "Resolved" but rather "SOLD" ?


All times are GMT. The time now is 01:54 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.01155 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
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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