Back to vBulletin 3.5 Add-ons

AutoGal
Mod Version: 1.00, by Nigh7mar3

This modification is in the archives.
vB Version: 3.5.5 Rating: (1 vote - 5.00 average) Installs: 6
Released: 05 Aug 2006 Last Update: Never Downloads: 8
Not Supported Uses Plugins Template Edits Code Changes Additional Files  

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)
$show['paperclip'] = false;
AFTER ADD THIS (linea 139)
$show['autogal_paperclip'] = false; //AutoGal v1.0

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

REPLACE THIS
<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
<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

ENJOY!

Download

This modification is archived and cannot be downloaded.

Screenshots

     


vblts.ru supports vBulletin®, 2022-2025