vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Moderators Functions - [AJAX] Edit Attachment Filenames (https://vborg.vbsupport.ru/showthread.php?t=126928)

Abe1 09-17-2006 10:00 PM

[AJAX] Edit Attachment Filenames
 
CLICK HERE FOR A LATER VERSION OF THIS HACK

Edit Attachment Filenames 2.0

About this hack:
This hack is a pretty useful hack. It lets you edit filenames of attachments. Only users with 'canmoderateattachments' permissions on the forum that the attachment it posted by will be allowed to edit the filenames.

You access the edit by double clicking right near the filename of an attachment. It will bring up an edit box similar to the edit thread title vb feature. You will get an option to save or cancel the edit.

Now that you can see a list of all attachments in one thread, you would want to name some attachments differently so they can be identified with out looking at the post.

The filename extension cannot be edited.

Installation information on hack:
  • Files edited: 0
  • Templates edited: 2
  • Files to upload via FTP: 1
  • Time to install: 1 minute max
Updates:

Version 1.0 (09/18/06):
  • First release of this hack.

Version 2.0 (04/16/07):
  • Re-wrote most of the code to optimize AJAX code.

Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

Spiceworld 09-18-2006 01:36 PM

Hi

Have installed, but noticed that the first <tr> statements in each template edit are both missing the ending >

Cheers

Richard

FleaBag 09-18-2006 01:44 PM

Great addition! I'll definately install. Thanks. :)

Abe1 09-18-2006 02:14 PM

Quote:

Originally Posted by Spiceworld
Hi

Have installed, but noticed that the first <tr> statements in each template edit are both missing the ending >

Cheers

Richard

I'll look into it.

DPSR 09-18-2006 03:49 PM

Wah, i really need this a loooot!!

Thanks a lot Abe1 for the hack :)

and Spiceworld, its working that way only :)

Abe1 09-18-2006 05:20 PM

Quote:

Originally Posted by Spiceworld
Hi

Have installed, but noticed that the first <tr> statements in each template edit are both missing the ending >

Cheers

Richard

I think I know what you mean. The end '>' is right after the </if>

harmor19 09-18-2006 05:30 PM

Great hack.

Snake 09-18-2006 06:00 PM

That's pretty good. Thanks!

Milad 09-19-2006 06:33 AM

This is very good

Basboss 09-19-2006 06:55 AM

This one is should be a standard vb's option...thanks!


All times are GMT. The time now is 01:02 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.03525 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
  • (2)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