Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vbTrash Details »
vbTrash
Mod Version: 1.2, by Dismounted (Coder) Dismounted is offline
Developer Last Online: Nov 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.x Rating: (23 votes - 4.70 average) Installs: 221
Released: 19 Apr 2007 Last Update: Never Downloads: 1482
Not Supported Uses Plugins Template Edits  

vbTrash

Description:
This mod adds functionality with a 'trash' forum.

Installation:
All the installation information is in the package.

Changes:
10 Plugins
17 Phrases

Change Log:
22/04/2007 - Version 1.2
- Fixed Non-Array Bug

20/04/2007 - Version 1.1
- Fixed Poll Bug

19/04/2007 - Version 1.0
- Initial Release

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	Preview 1.png
Views:	1440
Size:	9.5 KB
ID:	63351   Click image for larger version

Name:	Preview 2.png
Views:	1571
Size:	17.5 KB
ID:	63352   Click image for larger version

Name:	Preview 3.png
Views:	1288
Size:	13.8 KB
ID:	63353   Click image for larger version

Name:	Preview 4.png
Views:	1056
Size:	4.7 KB
ID:	63354  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 19 Apr 2007, 20:30
LadyHoney LadyHoney is offline
 
Join Date: Jul 2006
when that bug is fixed im definately interested in this mod!!!
Reply With Quote
  #17  
Old 19 Apr 2007, 21:10
NolF's Avatar
NolF NolF is offline
 
Join Date: Nov 2006
The bug seems to be placed on the plugin called "Edit Template (showthread)". When disabled the polls show correctly ^^
Reply With Quote
  #18  
Old 19 Apr 2007, 22:58
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Uhh what is this? I have already made a hack such as this one. :\

*looks at sig*
Reply With Quote
  #19  
Old 20 Apr 2007, 01:16
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
I've got an issue with this addon. When enabled, no poll option displays.
Reply With Quote
  #20  
Old 20 Apr 2007, 01:24
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
I think it's because it is using $option which is reserved for the poll
Reply With Quote
  #21  
Old 20 Apr 2007, 01:27
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
yeah! I replaced $option with $trashoption and that fixed it

plugin: Edit Template (showthread)

if ($threadinfo['forumid'] != $vbulletin->options['vbtrash_forumid'] AND (is_member_of($vbulletin->userinfo, explode(',', $vbulletin->options['vbtrash_usergroups'])) OR ($vbulletin->options['vbtrash_modallow'] == 1 AND can_moderate($foruminfo['forumid'], '', $vbulletin->userinfo['userid']))))
{
$trashoption = '<div><label for="ao_vbt"><input type="radio" name="do" id="ao_vbt" value="trash" />' . $vbphrase[vbtrash_movet] . '</label></div>';
$vbulletin->templatecache['SHOWTHREAD'] = str_replace(
'$vbphrase[remove_redirects]</label></div>',
'$vbphrase[remove_redirects]</label></div>$trashoption',
$vbulletin->templatecache['SHOWTHREAD']
);
}

Last edited by Lionel; 20 Apr 2007 at 01:31.
Reply With Quote
  #22  
Old 20 Apr 2007, 02:24
Charlie98902 Charlie98902 is offline
 
Join Date: Dec 2006
So is the official code updated now? I'm interested in this myself.
Reply With Quote
  #23  
Old 20 Apr 2007, 03:12
Get Shorty's Avatar
Get Shorty Get Shorty is offline
 
Join Date: Jun 2006
Real name: Nick
Originally Posted by Lionel View Post
yeah! I replaced $option with $trashoption and that fixed it

plugin: Edit Template (showthread)
There are four instances of $option in the xml. I changed them all to $trashoption and it works perfectly now.

Thanks!
Reply With Quote
  #24  
Old 20 Apr 2007, 03:12
Get Shorty's Avatar
Get Shorty Get Shorty is offline
 
Join Date: Jun 2006
Real name: Nick
Originally Posted by Charlie98902 View Post
So is the official code updated now? I'm interested in this myself.
The code isn't updated, but it's simple to change until the author releases it.

Just find & replace all instances of $option with $trashoption in the XML file.
Reply With Quote
  #25  
Old 20 Apr 2007, 03:38
tehPARADOX tehPARADOX is offline
 
Join Date: Feb 2007
Originally Posted by Get Shorty View Post
The code isn't updated, but it's simple to change until the author releases it.

Just find & replace all instances of $option with $trashoption in the XML file.
thanks, fix works great.
__________________
Reply With Quote
  #26  
Old 20 Apr 2007, 09:39
fsakbas fsakbas is offline
 
Join Date: Oct 2006
Real name: Selcuk
cool. thanks a lot.
Reply With Quote
  #27  
Old 20 Apr 2007, 11:44
bjhuang bjhuang is offline
 
Join Date: Jul 2006
i'd like to trash single posts.
Reply With Quote
  #28  
Old 20 Apr 2007, 11:53
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
Originally Posted by bjhuang View Post
i'd like to trash single posts.
That would make it unmanageable. Use soft delete for that instead.

Hack Updated!
Version 1.1 (20 Apr 2007)
- Fixed Poll Bug
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
  #29  
Old 20 Apr 2007, 11:55
Red Matrix Red Matrix is offline
 
Join Date: Jun 2006
Real name: David
You're a big help GetShorty!

Last edited by Red Matrix; 20 Apr 2007 at 12:02.
Reply With Quote
  #30  
Old 20 Apr 2007, 15:10
C_P's Avatar
C_P C_P is offline
 
Join Date: Sep 2004
I just installed this 1.1 version after creating a forum called Thread Review. I set the vB options for this to point to that forum and set permissions in the 'vbTrash' options. I then created a test thread and sent it to Trash Thread. I clicked on Thread Review link and receive:
Fatal error: [] operator not supported for strings in /home/cpfools/public_html/forum/forumdisplay.php(106) : eval()'d code on line 54
Now, if I select the Go To Last Post arrow, I can see this post. However, when I attempt to delete it, I get
Fatal error: [] operator not supported for strings in /home/cpfools/public_html/forum/forumdisplay.php(106) : eval()'d code on line 54
again. It does delete the post, but these errors are an issue.
Here is the thread:
http://www.cpfools.com/forum/forumdisplay.php?f=97
Note, you too will receive an error.
http://www.cpfools.com/forum does not show the error
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 04:00.

Layout Options | Width: Wide Color: