vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Gallery for vBulletin 3.5.X (https://vborg.vbsupport.ru/showthread.php?t=92875)

bhxtyrant 09-03-2006 06:12 AM

Hey guys,
Just had a few questions about this great looking mod.First and most important is does this have a mass import option?I have been looking for a gallery that has this and i dont really like Photopost.

In case anyone didnt uderstand my question i want to know if i can upload all images to a folder via FTP then mass import them into a catagory on the gallery.

yj_enquirer 09-04-2006 05:46 AM

Many thanks for such a gr8 release.. I have been trialling this and it really makes my site very very professional.

Now, as one would, I have got two questions....

1. I had the older version of this, and can see that the new one is available. To upgrade, is it just a simple update, i.e.
Plugin System ==> Add/Import Product ==> {Point to the .xml file} and allow overwrite?

Will I have to modify the $navbar, $header etc templates as mentioned in the installation guide.

2.
I am trying to modify the "upload.gif" image to another one that i have used and calling it "upload_new.gif". I am making this change in the "gallery_display" template in the following place..

PHP Code:

<td class="smallfont">
  <if 
condition="$show['newthreadlink']">
    <
a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]">
    <
img src="$stylevar[imgdir_button]/upload.gif" alt="$vbphrase[post_new_thread]border="0" />
    </
a>
  <else />&
nbsp;
  </if>
</
td

i.e. changing upload.gif in the above code to upload_new.gif. Saving the template , it still just picks up the upload.gif in the gallery. Is there anywhere else I need to make this change?

Thanks in advance for any replies.

Baku 09-04-2006 06:55 AM

Is anyone able to help me with the thumbnail not displaying problem I'm having?

Having the thumbnails on the forum home page, and not in the gallery is driving me nuts! I don't want to have to go for something like photopost, but I'm gonna end up having no choice. :(

mgs 09-04-2006 07:02 AM

I've just installed this inot vb354 and mySQL server hangs up almost instantly. after exploratin i've found this code
Code:

$thumbs = $db->query_read("SELECT gallery, threadid, firstpostid, ". TABLE_PREFIX . "thread.title, attachmentid, ". TABLE_PREFIX . "attachment.dateline FROM ". TABLE_PREFIX . "attachment, ". TABLE_PREFIX . "thread, ". TABLE_PREFIX . "forum
WHERE gallery='1' AND ". TABLE_PREFIX . "thread.featured!='1' AND ". TABLE_PREFIX . "thread.forumid=". TABLE_PREFIX . "forum.forumid AND ". TABLE_PREFIX . "thread.firstpostid = ". TABLE_PREFIX . "attachment.postid AND ". TABLE_PREFIX . "attachment.dateline < " . TIME() ."
GROUP BY ".TABLE_PREFIX ."thread.threadid
ORDER BY ". TABLE_PREFIX . "attachment.attachmentid DESC LIMIT $gal_num_rows");

and some similair ones inside global_start hook. Why there? Why not in forumdisplay_start?

Thanx for answer.

mgs 09-04-2006 08:22 AM

And anothe issue: gallery_index template is missing!!!

bhxtyrant 09-05-2006 12:37 AM

Hmm still no answer,can someone who uses his mod please let me know if it has the option to mass import a folder of images from FTP to a gallery catagory?

brvheart 09-05-2006 02:00 AM

Quote:

Originally Posted by Shazz
There is another version for this in the 3.6 section


the one in 3.6 is not a full gallery I dont think....I think that one is just for adding images to Forum_home when using photopost for vbulletin

can be found by clicking here

DeMiNe0 09-05-2006 02:26 AM

Quote:

Originally Posted by Shazz
There is another version for this in the 3.6 section

I looked all over the 3.6 section. I cannot find one.

Baku 09-05-2006 11:10 AM

Does anyone know if Harald_T is around? I tried sending him a mail, but I've had no reply. :(

Can anyone help at all and let me know why the thumbnails aren't displaying??

Here's the code for my gallery_threadbit template... I've tried fiddling with the code to get the thumbs to display, but no joy.

Code:

$ids[forumids]
        <if condition="$rows">
        <if condition="$rows == 1">
        </tr><tr>
        </if>       
        <td class="alt1Active" id="t$thread[threadid]" title="$thread[preview]" align="center" width="170" height="170">
<table>
<tr>
<if condition="$show['member']">
<td width="170" height="170" align="center">
                            <if condition="$displaythumbs">
<if condition="$thread[attachmentid]">
                                    <a HREF="attachment.php?attachmentid=$thread[attachmentid]">
                                          <img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" border=0 align="center"></a><br>
                            <else />
                                <img src="http://www.huxkeysource.com/forums/images/misc/nothumb.gif" width=75 height=56 border="0">
                            </if>
</if>
<br />
</td>
</tr>
<tr>
<td class="tborder">
                <table width="100%" cellpadding="3" cellspacing="0">
        <tr class="tcat">
        <td colspan='2' align="center">
        <div class="smallfont" align="center">
                        $thread[movedprefix]
                        $thread[typeprefix]
               
                        <a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]">
                        $thread[threadtitle]
                        </a>
                </div>
        </td>
        </tr>
        <tr class="thead">
        <td class="smallfont" align="left">
        Uploaded by:
        </div>
        </td>
                                <td>
        <div class="smallfont">
                        <if condition="$show['guestuser']">
                                $thread[postusername]
                        <else />
                                <span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span>
                        </if>
                </div>
        </td>
                        </tr>
<tr class="alt1">
<td class="smallfont">Comments:</td>
<td class="smallfont">$thread[replycount]</td>
</tr>
<tr class="alt1">
<td class="smallfont">Views:</td>
<td class="smallfont">$thread[views]</td>
</tr>                       
<tr class="alt2">
<td>
<div class="smallfont">
Rating:
</div>
</td>
<td>
<if condition="$show['threadratings'] AND $show['threadrating']">
                        <span style="float:$stylevar[right]">
                        <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" />
                        </span>
</if>
</td>
</tr>
<tr class="alt2">
<td>
<div class="smallfont">
Filesize: $attachment[filesize]
</div>
</td>
<td>
&nbsp;
</td>
</tr>
</table>
</td>
<else />
<td>
<img src="http://www.huxleysource.com/forums/images/misc/register.jpg">
</td>
</if>
</tr>
</table>
</td>
</if>


Jon. 09-05-2006 11:34 AM

Quote:

Originally Posted by Shazz
There is another version for this in the 3.6 section

Where?!


All times are GMT. The time now is 12:59 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.02228 seconds
  • Memory Usage 1,765KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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