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

Reply
 
Thread Tools
AutoGal Details »»
AutoGal
Version: 1.00, by Nigh7mar3 Nigh7mar3 is offline
Developer Last Online: Aug 2010 Show Printable Version Email this Page

Version: 3.5.5 Rating:
Released: 08-04-2006 Last Update: Never Installs: 6
Uses Plugins Template Edits
Code Changes Additional Files  
No support by the author.

AutoGal v1.0

About AutoGal
It's my frist mod, I'm a web-developer but it's the first time I modify vB
I tested this mod on 3.5.4 and 3.5.5 with no problems.

What does this do?
Creates a new page where you can display all the attachments of the choosen thread.

How you choose the thread?
The standard paperclip is replaced with a golden paperclip, click to open the AutoGal page.

Features

Next Release Features

Know Bugs
None

Know Issue
The page can be loaded without specify a thread

Requirements
Attachments Thumbnails MUST be enabled.

Installation
  1. Upload the upload folder in your vbulletin root folder
    ex. http://yourbulletinboard.com/
  2. Import autogal.xml into PRODUCTS. Allow Overwrite "YES" (admincp -> Plugin System -> Manage Products -> [Add/Import Product])
  3. Do the template edits

Open "/includes/functions_forumdisplay.php"

FIND: (line 138)
Quote:
$show['paperclip'] = false;
AFTER ADD THIS (linea 139)
Quote:
$show['autogal_paperclip'] = false; //AutoGal v1.0

FIND (line 325)
Quote:
$show['paperclip'] = true;
ADD THIS AFTER (linea 326)
Quote:
if($vbulletin->options['autogal_enable']==true){$show['autogal_paperclip'] = true;} //AutoGal v1.0
Modify "threadbit" in "Threadbit Templates" ( Styles & Templates -> Style Manager )

REPLACE THIS
Quote:
<if condition="$show['paperclip']">
<img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" />
</if>
WITH THIS
Quote:
<if condition="$show['paperclip']">
<if condition="$show['autogal_paperclip']">
<a href="autogal.php?$session[sessionurl]ti=$thread[threadid]" title="AutoGal">
<img class="inlineimg" src="$stylevar[imgdir_misc]/gold-paperclip.gif" alt="AutoGal - <phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /></a>
<else />
<img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" />
</if>
</if>
I hope you like this mod, give me feedback ( do you like it? ) and click install

ENJOY!

Show Your Support

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

Comments
  #2  
Old 08-05-2006, 01:49 AM
Sean S's Avatar
Sean S Sean S is offline
 
Join Date: Jan 2004
Location: Chicago
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very neat hack, especially for your first . Keep up the good work!
Reply With Quote
  #3  
Old 08-05-2006, 04:34 AM
David_R David_R is offline
 
Join Date: Mar 2005
Location: Los Angeles
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice one, i will test this first
Reply With Quote
  #4  
Old 08-05-2006, 04:11 PM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can this be modified so it uses only a plugin and no file hacking?
Reply With Quote
  #5  
Old 08-05-2006, 06:43 PM
Nigh7mar3 Nigh7mar3 is offline
 
Join Date: Nov 2005
Location: Roma
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yinyang
can this be modified so it uses only a plugin and no file hacking?
yes it possible, cause the file mod its needed only to get the golden paperclip.

but its not friendly cause you need to know the thread id and pass it to autogal manually.

maybe in the next release I can put a form where insert threadid, but I dont like this solution.
Reply With Quote
  #6  
Old 08-05-2006, 06:59 PM
OmekaTeam OmekaTeam is offline
 
Join Date: Jul 2004
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nigh7mar3
yes it possible, cause the file mod its needed only to get the golden paperclip.

but its not friendly cause you need to know the thread id and pass it to autogal manually.

maybe in the next release I can put a form where insert threadid, but I dont like this solution.
Complimenti!!!!!!Ciao
Reply With Quote
  #7  
Old 04-26-2007, 09:18 PM
TotalTorque.net TotalTorque.net is offline
 
Join Date: Dec 2006
Location: UK
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed.
Reply With Quote
  #8  
Old 04-26-2007, 09:43 PM
leftie leftie is offline
 
Join Date: Nov 2004
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks neat, i'm going to install this later. Thanks.
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 10:20 PM.


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.04541 seconds
  • Memory Usage 2,274KB
  • Queries Executed 21 (?)
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
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete