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)

colicab-d 12-12-2005 06:16 PM

Quote:

Originally Posted by gamebgs
Have a look at my gallery for an example ;)

http://etalk.gamebgs.com/forums/forumdisplay.php?f=91

I am and all i see is blank images.... take it i must register :p to view them?

The Chief 12-12-2005 06:19 PM

Quote:

Originally Posted by colicab-d
http://etalk.gamebgs.com/forums/forumdisplay.php?f=91

yup, you do I guess, but it is supposed to allow people to view them, I will fix this asap ;)

Devil006 12-12-2005 06:32 PM

Ohhh yeah!!! Gamebgs, that functions correctly now
Thanks you

Harald_T 12-12-2005 06:35 PM

About the english phrases: I've translated them all, but i think, i've made a mistake on that. This will be fixed also, be sure.

The Chief 12-12-2005 06:41 PM

Quote:

Originally Posted by Devil006
Ohhh yeah!!! Gamebgs, that functions correctly now
Thanks you

haha, no probs ;)

Lamby1973 12-12-2005 10:19 PM

Quote:

Originally Posted by gamebgs
You need to change all your phrases manually for the english translation.

But if i dont understand German....thats hard innit?

The Chief 12-12-2005 10:37 PM

Quote:

Originally Posted by Lamby1973
But if i dont understand German....thats hard innit?

No, you will see that every phrase has something like $vbphrase in, in your Gallery Templates...note all those and then go and search the phrases by Variables, then you will be able to translate them, if you want an example go to my gallery.

http://etalk.gamebgs.com/forums/index.php

LoOnEyToOnZ 12-13-2005 10:39 AM

Quote:

Originally Posted by gamebgs
haha, no probs ;)

Is the next update coming soon? Not sure if i should install now or wait..

DA KING 12-13-2005 12:02 PM

I have installed it. It's working fine. How can I change the settings so that when I open up a Post in the Gallery, it doesn't show the pictures ALL BIG. Because the default is setup to show the pics BIG and you have to click on the pic for the original size. Is there anyway I set it up so that it automatically displays the original size?

The Chief 12-13-2005 02:15 PM

Quote:

Originally Posted by LoOnEyToOnZ
Is the next update coming soon? Not sure if i should install now or wait..

I have no idea, you may have to ask that to the creator of the extension (harald_t) :D

The Chief 12-13-2005 02:15 PM

Quote:

Originally Posted by DA KING
I have installed it. It's working fine. How can I change the settings so that when I open up a Post in the Gallery, it doesn't show the pictures ALL BIG. Because the default is setup to show the pics BIG and you have to click on the pic for the original size. Is there anyway I set it up so that it automatically displays the original size?

This is something I will try to figure out myself as I find it pretty annoying also, maybe Harald_T will be able to help us out on that one also ;)

wrang 12-13-2005 04:14 PM

what do i do wrong when i get this error after i done the SQL query
An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'dbxxxxxxxxxxxxx.forum' doesn't exist

The Chief 12-13-2005 04:20 PM

Quote:

Originally Posted by wrang
what do i do wrong when i get this error after i done the SQL query
An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'dbxxxxxxxxxxxxx.forum' doesn't exist

wpw, that isn't normal, didn't experience that before...try uninstalling and reinstall after...

ScottC20 12-13-2005 06:48 PM

if you have a table prefix make sure to add it in to the query.

yayvb 12-13-2005 06:57 PM

I installed this and liked it, but had to uninstall because when my users uploaded more than 1 pic it would sort of get messed up. Has anyone found a work around for this yet? (other than to limit 1 photo per msg :squareeyed: )

The Chief 12-13-2005 07:09 PM

Quote:

Originally Posted by yayvb
I installed this and liked it, but had to uninstall because when my users uploaded more than 1 pic it would sort of get messed up. Has anyone found a work around for this yet? (other than to limit 1 photo per msg :squareeyed: )

nope, not yet, I think harald is trying to find a way to fix this...and maybe add it in the next versions.

ScottC20 12-13-2005 07:29 PM

Isn't your website illegal..

The Chief 12-13-2005 07:31 PM

Quote:

Originally Posted by ScottC20
Isn't your website illegal..

you talking about mine?

Harald_T 12-13-2005 09:03 PM

About more pictures in one post:
I'm aware of this problem and trying to fix it. I think, i've found a solution, but that's theoretical yet.

For changing the phrases a bit faster: Search for all phrases starting with "gal_", that should make it easier.

The BIG size of pictures: I'm aware of this also. What i did was: Showing the pictures with a fix size (for showing bigger pictures it's an easier, but not better way, i know). The problem is that smaller pictures are "blown" up in that way. But i'm looking for a solution on this problem.

The Chief 12-13-2005 10:20 PM

Quote:

Originally Posted by Harald_T
About more pictures in one post:
I'm aware of this problem and trying to fix it. I think, i've found a solution, but that's theoretical yet.

For changing the phrases a bit faster: Search for all phrases starting with "gal_", that should make it easier.

The BIG size of pictures: I'm aware of this also. What i did was: Showing the pictures with a fix size (for showing bigger pictures it's an easier, but not better way, i know). The problem is that smaller pictures are "blown" up in that way. But i'm looking for a solution on this problem.

Thank you Harald, looking forward to helping and testing out your products ;)

ScottC20 12-14-2005 06:29 AM

Quote:

Originally Posted by gamebgs
you talking about mine?

No, yayvb.

DrewM 12-14-2005 08:15 PM

Harald_T,
I have asked you about making it possible to have a file uploaded and not have it diplay as multiy post well I have looked around the forums and found this: Thread Thubnial I think this may help you with that ;)

yayvb 12-15-2005 02:17 AM

Quote:

Originally Posted by ScottC20
No, yayvb.

It may be illegal to possess Marijuana but not to have a website regarding it.

ScottC20 12-15-2005 09:05 AM

Quote:

Originally Posted by yayvb
It may be illegal to possess Marijuana but not to have a website regarding it.

Your website is advocating it's use and even if it's not illegal is it morally right? Is it a good role model for children? Anyway, I'm not going to be drawn into a debate here and bring the thread off subject so this is the end of the matter.

Rick Grunwald 12-15-2005 09:25 AM

Quote:

Originally Posted by ScottC20
Your website is advocating it's use and even if it's not illegal is it morally right? Is it a good role model for children? Anyway, I'm not going to be drawn into a debate here and bring the thread off subject so this is the end of the matter.

Good move :squareeyed: There are a lot of posts with great information from people who have websites whose subject matter doesn't exactly ring MY chimes.

I'm here for the help and information ...:rolleyes:

jarod1981? 12-15-2005 11:53 AM

Hi all

My Gallery for Vb 3.5.1 dont' work

1) I have run following query on database : ALTER TABLE `forum` ADD `gallery` TINYINT( 4 ) NOT NULL

2) I have edit forumdisplay.php

3) I have edit the template FORUMHOME

4) I have import the attached XML-File in the product-manager

5) I have add the template threadbit_gallery:

$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">
<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="$stylevar[imgdir_misc]/nothumb.gif" width=75 height=56 border="0">
</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">
Benutzer:
</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">$vbphrase[gallery_comments]</td>
<td class="smallfont">$thread[replycount]</td>
</tr>
<tr class="alt1">
<td class="smallfont">$vbphrase[gallery_views]</td>
<td class="smallfont">$thread[views]</td>
</tr>
<tr class="alt2">
<td>
<div class="smallfont">
Bewertung:
</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="images/misc/register.jpg">
</td>
</if>
</tr>
</table>
</td>
</if>

6) I have add a link of Gallery on Navbar

7) I have setting the Gallery:

I have make a category, call it "Gallery" and change Display-Order to "0", so it's not visible = Ok

I have make two Subforums,which will be the gallery.

---------------------------------------------------------
But it is dont' work and i don't see image on my forum

Where is the problem?

Very thanks

Harald_T 12-15-2005 05:44 PM

@Jarod: Better use the new version of the gallery (included in the zip-file). The version you where using, is the old one.

And could you post your URL, so i could have a look what isn't exactly working?

@LarrySW: I know what you asked me, but i couldn't work in the last week on the gallery. I will look after it,as i said. I know the hack, i've ported it also for vB 3.5.

jarod1981? 12-15-2005 11:00 PM

Hi Harald

But, Where is the new version of Gallery?
I have download the files attachment on this topic, and I have following all passage for the installation ( file: install_gallery_vb3.5.1 in the zip file) but my Gallery don't work.

The site is this : http://p2psin.altervista.org/forum/index.php?

When i go on my Gallery, I see this error : http://p2psin.altervista.org/forum/forumdisplay.php?f=

Very Thanks :ermm:

The Chief 12-16-2005 12:50 AM

Quote:

Originally Posted by jarod1981?
Hi Harald

But, Where is the new version of Gallery?
I have download the files attachment on this topic, and I have following all passage for the installation ( file: install_gallery_vb3.5.1 in the zip file) but my Gallery don't work.

The site is this : http://p2psin.altervista.org/forum/index.php?

When i go on my Gallery, I see this error : http://p2psin.altervista.org/forum/forumdisplay.php?f=

Very Thanks :ermm:

yeah, you have definaetly, didn't install it correctly, upload the new product and run the query, and it should work, its pretty simple ;)

jarod1981? 12-16-2005 07:47 AM

Hi Game

Excusme, but where is the new product?

I have only a product, that in the zip file, I don't find another udpate product in this topic...

Thanks

ScottC20 12-16-2005 04:24 PM

Is it possible to release a fix to make the edit button show or atleast a brief tutorial on how to fix it It's pretty urgent.

colicab-d 12-16-2005 04:54 PM

Installed on a fresh vb 3.5.2 and no joy, it works but no images in the showthread etc :S

Harald_T 12-16-2005 11:43 PM

@Scott: I've fixed it already and will release it tomorrow.

@Jarod: The included file is the latest. Please contact me by PM, i'll see, what i can do.

@Coliab-d: The reason for seeing no thumbs can be a setting on your vB. Please check your attachments-settings, if vB generates any thumbnails for an attachment. And please check, if GD or Image-Magick is installed.

ScottC20 12-17-2005 08:24 AM

Excellent thanks.

nexus851 12-17-2005 11:05 AM

let us know when it's updated and recent talked about bugs takened care of so i can download it again...

BiReL41r 12-18-2005 11:48 AM

Does this take up excessive bandwith?

Harald_T 12-18-2005 12:43 PM

For inserting the missing Edit-Button:

In the template "gallery_postbit" find

<br />
<hr>

insert after the <br /> the following code:

<if condition="$post['editlink']">
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>

Now the edit-button is back again.

yayvb 12-18-2005 06:36 PM

Harald can I help you figure out a way to allow more than 1 post per
page?
To me this hack is better than the other hacks, just because I
don't have to have people posting huge pics in some gallery, and also in the
forums, it's all combined, saving disk space!!! :)

LBSources 12-18-2005 06:59 PM

Outstanding job Herald..

Few things id like to ask, suggest or ask about the hack or the next release..

- Can you create an english and german template file so that we dont have to manually change the phrases?

- Any way to prevent when clicking in the uploaded thread the stretching of images?

- Is this compatible with listing all file types instead of just images? ( i tried with .mp3 and nothing is in the thread)

Thanks again! wonderful job..

Harald_T 12-18-2005 07:32 PM

@LbSources:

The english phrases will be definately in the next version. I only did a mistake, when i created the phrases, i believe. Normaly, the english versions should be already inside the phrase, but not as the standard-text, i think.

About the stretched images: This is something to be completly recoded, i fear. It will mean that images which are larger than the width of the forum have to be "downsized" for the displayed image. This is the only way to prevent, that smaller images will be stretched.

- The hack itself should be compatible. As soon, as i have a bit more freetime, i'll do a solution for it.

@Yavyb: Feel free! I think, a solution would be, to display the last attached image of the first post.


All times are GMT. The time now is 01:29 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.02327 seconds
  • Memory Usage 1,846KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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