vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Quick Attachments Host (https://vborg.vbsupport.ru/showthread.php?t=91777)

07-06-2005 10:00 PM

vB Quick Attachments Host
 
Hack Title: vB Quick Attachments Host a.k.a QAH
Compatibility: 3.0.x
Tested On: 3.0.7

[high]What does the hack do?[/high]

This simple hack uses Image Shack ( A free image hosting website ) built in uploading tool as a quick way to host your members attachments on Image Shack, which is a huge bandwith saver!

[high]Features:[/high]
-Permission to be able to use it
-Works on both New Post and New Thread

[high]Install Process:[/high]

There are two versions of this hack. One is with Permissions, which takes longer to install since it has more file edits and a query that needs to be executed. And the other doesn't have permissions, and has less file edits. The complete process of both versions are below:

With Permissions

Files to edit(4)
Templates to edit(2)
New Template (2)
New Phrase (1)
Queries (1)


Without Permissions
Files to edit(2)
Templates to edit(2)
New Template (2)
New Phrase (1)

[high]Install Time[/high]: Quick, ~5-10 minutes

Please note, Image Shack only provides hosting for images.
Supported Image Types: jpeg jpg png gif bmp tif tiff swf

Sister-Hack:vB Quick Sig Host

Please click https://vborg.vbsupport.ru/;)

Screen Shots Can Be Seen Below


UPDATES:
Error in both versions of the hack, please click here for a fix. Zips have been fixed and uploaded.

Stifler 07-07-2005 05:56 AM

very nice!
/installed

bigcurt 07-07-2005 06:46 AM

umm..this is already a mod for vB 3 I believe Danny, exact same one....maybe you made it lol I dont know, I just know that there is.

bigcurt 07-07-2005 06:47 AM

EDIT: I am sorry, I just looked at screenshots and everything, sorry about that danny..good work...really good work.

/me installs

Guest190829 07-07-2005 06:50 AM

lol. That's okay, they're very similiar with almost the exact same name.

Guest190829 07-07-2005 07:04 AM

I've attached two versions of the hack. One version has permissions, so you can let certain usergroups have the feature, and not let others. This versions has 2 more file edits, and a required query to be run.

The other version doesn't have permissions and has two less file edits, and no queries.

I attached both versions because I don't see a high demand for permissions on such a simple hack. The choice is yours. :)

Selene 07-07-2005 09:49 AM

can someone test this code, cuz i did install it correctly but got some error when i was making new thread and same with new post.

Guest190829 07-07-2005 09:52 AM

What error are you getting? And do you have the mod with permissions or without?

Selene 07-07-2005 10:05 AM

ahhh i uninstalled itnow...shall i install again and post error? and it was the mod without perm.

Guest190829 07-07-2005 10:13 AM

Quote:

Originally Posted by Selene
ahhh i uninstalled itnow...shall i install again and post error? and it was the mod without perm.

Yes, if you would like too. I have tested both versions numerous times, and they both work for me. Posting the error will help me find out if something is wrong with the qah_install.txt file for the version without the permissions.


All times are GMT. The time now is 01:17 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.01129 seconds
  • Memory Usage 1,731KB
  • 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
  • (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