vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Admin Functions (https://vborg.vbsupport.ru/showthread.php?t=23692)

tubedogg 07-25-2001 10:00 PM

String -> MD5 Encrypted String function added. To upgrade just reupload convert.php to your admin directory.

----------------------------------------------------------------

2 bugs fixed. To upgrade just reupload the files.

----------------------------------------------------------------

This is a series of four adminstration scripts covering two functions. They are:
Attachment Management
--Find and view attachments with ease, remove with two clicks
--Remove multiple attachments by forum, extension, and other options
Conversion/Encryption Functions
--Converts to and from Unix Timestamp format, which is used by vBulletin in the database
--Encrypt a text string with md5 - useful for comparing a string to an encrypted password in the database

Screenshots

For version: 2.0.3 and above

Files needed: rematt.php, browseatt.php, convert.php, viewatt.php

Files to edit: admin/index.php

Instructions are in the zip file - look for att.txt

DO NOT PM or email me about this hack - it will be ignored!

I will not support you if you edit these files.

You may not redistribute these scripts, edited or unedited, without my prior permission.

Disclaimer: I disclaim all responsibility for your use of this hack. It has been extensively tested but still may screw something up. It is recommended that if you are going to be deleting a lot of attachments you have a recent database backup on hand.

moonfish 07-26-2001 02:40 AM

Then find
Code:

<a href="misc.php?s=<?php echo $session[sessionhash]; ?>"> Update counters... </a>
And right below it, add
Code:

<a href="misc.php?s=<?php echo $session[sessionhash]; ?>"> Update counters... </a><br>

may i ask the point of this is... surely you made a mistake... isn't it just the same thing...??

tubedogg 07-26-2001 02:43 AM

*Doh* Sorry yeah. I'll update the instructions above.

VirtueTech 07-26-2001 03:53 AM

Great job Tubedogg!!!

This will be very helpful :)

Martz 07-26-2001 10:22 AM

Nice work :)

janw 07-26-2001 11:17 AM

Great Hack, as usual :rolleyes:

floleb7 08-05-2001 08:28 AM

delete attachement doesn't work

tubedogg 08-05-2001 08:08 PM

Um...yeah it does...? :confused:

floleb7 08-07-2001 11:48 AM

not for me everything work but when i click on delete the attachment is still there

Fryzid 08-07-2001 05:43 PM

In rematt.php
Code:

$DB_site->query("UPDATE post SET attachment=0 WHERE postid='$postid'");
should be
Code:

$DB_site->query("UPDATE post SET attachmentid=0 WHERE postid='$postid'");
Don't know why noone else discovored this.


All times are GMT. The time now is 11:01 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.01800 seconds
  • Memory Usage 1,729KB
  • 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
  • (4)bbcode_code_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