Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBRecycle for 3.8.x Details »»
vBRecycle for 3.8.x
Version: 1.00, by Computer_Angel Computer_Angel is offline
Developer Last Online: Nov 2010 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.2 Rating:
Released: 06-07-2009 Last Update: Never Installs: 93
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files Is in Beta Stage  
No support by the author.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-= vBRecycle
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-= Version : 1.00
=-=-=-=-=-=-=
-= Main Author: LNTT
-= Upgrade by : Computer_Angel
=-=-=-=-=-=-=
-= For vBulletin: 3.8.x
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

::::::::::::::::::::::::::::::::::::::::
::::FEATURES
::::::::::::::::::::::::::::::::::::::::
  • Easily install & uninstall with Product Installer. *NEW
  • Main Settings
    • Quick active or disable recycle.*NEW
    • Select default recycle.
    • Auto convert normal forum => recycle forum.*NEW
    • Set type move(Copy thread to destination forum, Move and leave redirect in previous forum and Move to destination forum)
  • Recycle Manager
    • Easily edit settings.
    • Delete forum recycle.
    • Unlimited recycle.
    • Set default recycle.
    • Select recycle for special forum.
  • Empty Recycle Bin.
  • Link After Moved.
    • Options in showtheard, inline mod.
  • Quick Create Recycle*NEW
  • Scheduled Tasks Recycle*NEW
    • Auto empty recycle*NEW
  • Set permissions for each usergroup.
  • Add "vBRecycle Options" in "Add New Forum" & "Edit Forum" *NEW

::::::::::::::::::::::::::::::::::::::::
::::INSTALL
::::::::::::::::::::::::::::::::::::::::

==================================
[Step 1][Upload Files]
==================================


Copy all files to their respective location:
  • admincp/vbrecycle_admin.php
  • images/misc/vbrecycle_lock.gif
  • images/misc/vbrecycle_default.gif
  • images/misc/vbrecycle_scheduledtask.gif
  • images/misc/vbrecycle_edit.gif
  • images/misc/vbrecycle_empty.gif
  • includes/adminfunctions_vbrecycle.php
  • includes/cron/vbrecycle_clean.php
  • includes/xml/bitfield_vbrecycle.xml
  • includes/xml/cpnav_vbrecycle.xml

==================================
[Step 2][Run the Product Installer]
==================================

URL: http://www.yoursite.com/admincp/plug...?do=productadd
Select product-vbrecycle***.xml.

==================================
[Installation Completed]
==================================


::::::::::::::::::::::::::::::::::::::::
::::HISTORY
::::::::::::::::::::::::::::::::::::::::

Download Now

File Type: zip VBRecycle100.zip (638.3 KB, 896 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 06-29-2009, 09:18 AM
freeoffline freeoffline is offline
 
Join Date: Dec 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

10q
Reply With Quote
  #23  
Old 07-06-2009, 10:38 AM
lordi lordi is offline
 
Join Date: Dec 2005
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

man u r the best

OH GOD i've been waiting this to be updated to 3.8 long long time ago

I hated my forum without it

10xxxxxxx
Reply With Quote
  #24  
Old 07-06-2009, 03:05 PM
Sayid Sayid is offline
 
Join Date: Jan 2009
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/attachment.php?attachmentid=34461&d=1126703822" target="_blank">https://vborg.vbsupport.ru/attac...1&d=1126703822</a>

I think we can move threads from forumdisplay,

The future is available in the older versions

btw, thanks man , installed
Reply With Quote
  #25  
Old 09-03-2009, 01:11 PM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this new upgrade for my new and latest vb 3.8.4.

but as the other said...can't view it or the Move to Recycle into Inline Moderation....to my skin styles

below forumdisplay page...

well manage to look around and test everything to make it appear on that place and make it work...pls. view my code below and try it also guys if you have the same problem...and hope it works also to your side...

ACP > Styles & Templates > Style Manager > CHOOSE YOUR SKIN STYLES > FIND FORUMDISPLAY TEMPLATE:

Find Code Below:

Code:
		 </optgroup>
		</if>
<optgroup label="____________________">
Above: Add The Code Below:


Code:
<!-- vBRecycle Code Start--> 
<option 
value="moverecycle">$vbphrase[vbr_move]</option> 
<!-- / vBRecycle Code End -->
Save And Make A Test!


hope this help anyone who got problem too...and if works...please don't forget
Thank you for supporting this modification -> Click to Mark as Installed

best regards

:up:
Reply With Quote
  #26  
Old 10-05-2009, 01:58 PM
f4vn f4vn is offline
 
Join Date: Apr 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sayid View Post
https://vborg.vbsupport.ru/attachmen...1&d=1126703822

I think we can move threads from forumdisplay,

The future is available in the older versions

btw, thanks man , installed
My friend helped me fix it so I will show you how to fix .

Find plugin *vBRecycle v3* - Forum Display - Edit Template end replace with:
HTML Code:
///////////////////////////////// 
// Start - FD - Edit Template // 
/////////////////////////////// 

if ($foruminfo[forumid]) $vbr_ifr = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "forum WHERE forumid = $foruminfo[forumid]"); 



if ($vbr_ifr['recycle']==1) { 
$vbr_id=$vbr_ifr['forumid']; 
eval('$vbrecycle_tools = "' . fetch_template('vbrecycle_tools') . '";'); 
} else { 
eval('$vbrecycle_fdt = "' . fetch_template('vbrecycle_fdt') . '";'); 
eval('$vbrecycle_tools = "' . fetch_template('vbrecycle_blank') . '";'); 
} 

$vbulletin->templatecache['FORUMDISPLAY'] = str_replace( 
    array( 
        '$vbphrase[delete_threads]</option>', 
                '$navbar' 
    ), 
    array( 
        '$vbphrase[delete_threads]</option> $vbrecycle_fdt', 
                '$navbar $vbrecycle_tools' 
    ), 
    $vbulletin->templatecache['FORUMDISPLAY'] 
); 


///////////////////////////////// 
// End - FD - Edit Template   // 
///////////////////////////////  
Click save.

Done !

It is working well on my forum !
Reply With Quote
  #27  
Old 05-06-2010, 12:23 PM
OcR Envy's Avatar
OcR Envy OcR Envy is offline
 
Join Date: May 2008
Location: Boston
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works with 4.x ?
Reply With Quote
  #28  
Old 07-12-2010, 01:20 PM
washingtonboise washingtonboise is offline
 
Join Date: Mar 2009
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Subscribed to thread, standing by for updates to 4.x
Reply With Quote
  #29  
Old 08-13-2010, 06:46 AM
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Location: MSK-RU
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this one really works for others in AdminCP?

In file:
./includes/adminfunctions_vbrecycle.php

There is function:

PHP Code:
function cache_styles($getids false$styleid = -1$depth 0){
...

But there is already such function in vBulletin's code:

File:
includes/adminfunctions_template.php

PHP Code:
function cache_styles($getids false$styleid = -1$depth 0)
{
...

So when in AdminCP you try to access "vBRecycle Options -> Main Settings" or any other you just get an error:
Code:
Fatal error: Cannot redeclare cache_styles() (previously declared in /.../includes/adminfunctions_template.php:2410) in /.../includes/adminfunctions_vbrecycle.php on line 219

Also there is second function in file:
./includes/adminfunctions_vbrecycle.php

PHP Code:
function print_style_chooser_row($name 'parentid'$selectedid = -1$topname NULL$title NULL$displaytop true)
{
...

which also gives the same error.

Solution for me:

I have just removed both functions from file ./includes/adminfunctions_vbrecycle.php

PHP Code:
function cache_styles($getids false$styleid = -1$depth 0){
...

PHP Code:
function print_style_chooser_row($name 'parentid'$selectedid = -1$topname NULL$title NULL$displaytop true)
{
...

Reply With Quote
  #30  
Old 08-13-2010, 07:44 AM
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Location: MSK-RU
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by f4vn View Post
My friend helped me fix it so I will show you how to fix .

Find plugin *vBRecycle v3* - Forum Display - Edit Template end replace with:
I just wanted to note that it is better to replace with this one below.

This will also
  1. will move the option in Moderation menu to the first place so there was no any need to select it from there
  2. not allow to show the option to move to Recycle bin inside the Recycle forum

HTML Code:
/////////////////////////////////
// Start - FD - Edit Template //
///////////////////////////////

if ($foruminfo[forumid]) $vbr_ifr = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "forum WHERE forumid = $foruminfo[forumid]");

if ($vbr_ifr['recycle']==1) {
	$vbr_id=$vbr_ifr['forumid'];
	eval('$vbrecycle_tools = "' . fetch_template('vbrecycle_tools') . '";');
} else {
	eval('$vbrecycle_tools = "' . fetch_template('vbrecycle_blank') . '";');
	eval('$vbrecycle_fdt = "' . fetch_template('vbrecycle_fdt') . '";');

	$vbulletin->templatecache['FORUMDISPLAY'] = str_replace(
		array(
			'<option value=\"deletethread\">$vbphrase[delete_threads]</option>',
                '$navbar'
		),
		array(
			'$vbrecycle_fdt <option value=\"deletethread\">$vbphrase[delete_threads]</option>',
                '$navbar $vbrecycle_tools'
		),
		$vbulletin->templatecache['FORUMDISPLAY']
	);
}

/////////////////////////////////
// End - FD - Edit Template   //
///////////////////////////////
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 02:07 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.04920 seconds
  • Memory Usage 2,348KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (2)bbcode_html
  • (5)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete