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)

dreck 10-27-2005 06:57 PM

I love this, great hack.

Thanks Harald_T

[high]* dreck install
[/high]

I do wonder why under the picture I have 2 stats that the titles don't show up?

Harald_T 10-27-2005 07:01 PM

There are two phrases missing, i wrote it before. Look at page 15.

dreck 10-27-2005 09:34 PM

Quote:

Originally Posted by Harald_T
There are two phrases missing, i wrote it before. Look at page 15.

k... Sorry I only made it to page 13 :(

Thanks, dreck

Aaron RV 10-28-2005 10:00 AM

:nervous: work on vb 3.5 gold?

Allan 10-28-2005 11:02 AM

Quote:

Originally Posted by Aaron RV
:nervous: work on vb 3.5 gold?

yes, perfectly ;)

ThePimp 10-28-2005 11:42 AM

Quote:

Originally Posted by ThePimp
Is there a way to set a default thumbnail? For example, most users aren't the brightest bulb in the bunch, and I frequently get people posting incorrectly, or posting topics in the gallery forums... and what happens is that a broken "Red X" image is displayed in those posts on the gallery as well as on the ForumHome page. I'm wondering if there's a way to detect improperly posted / no image topics and replace the thumbnail with a default graphic?


Bueller... Bueller

ScottC20 10-29-2005 09:08 AM

Quote:

Originally Posted by ThePimp
Bueller... Bueller

Harald, is there a way so as each new pic upload isn't displayed in the New Posts section??

Also, my picture boxes don't look anything like yours, looks like something went wrong somewhere?? http://www.bushcraftliving.com/forum...splay.php?f=41

Harald_T 10-29-2005 11:05 AM

The phrases are missing, that is all i can see at the moment. And can it bee, that the pictures can only be seen by members?

ScottC20 10-29-2005 12:03 PM

The pictures used to only be seen by members, but I just edited the forums permissions so guests can see it, should I have done that??

What phrases are missing?

ScottC20 10-29-2005 12:19 PM

I see the phrases on page 15, but where/how do I insert them?

Harald_T 10-29-2005 02:16 PM

Just create those two phrases, that's all.

Permissions: If you want to show guests an thumbnail which tells them, that they should register first, you have to change the code. I've already posted this, i think it was about page 8, or so.

ScottC20 10-29-2005 07:34 PM

I will do that then. Do you know if I can make it so when a new picture is uploaded it isn't displayed in the New Posts area, my members are getting terribly confused by the short threads??

ScottC20 10-31-2005 05:00 PM

Think I have that sorted ^^ but how can I increase the amount of thumbnails displayed on the forum index to say six or seven?

lexx27 10-31-2005 09:03 PM

Quote:

Originally Posted by Harald_T
I haven't done yet. As i said, it shouldn't be much work. It's mostly template-work (normaly you only have to copy most of the code into the template-code of those boxes of vBadvanced). I will install vBadvanced on Wednesday and fix the problem.

I know you havent install it yet but can you give me some hypothetical solution to start. Like which templates to use, if i willl need a php file. Thank you

ThePimp 11-01-2005 02:38 PM

Is there a way to set a default thumbnail? For example, most users aren't the brightest bulb in the bunch, and I frequently get people posting incorrectly, or posting topics in the gallery forums... and what happens is that a broken "Red X" image is displayed in those posts on the gallery as well as on the ForumHome page. I'm wondering if there's a way to detect improperly posted / no image topics and replace the thumbnail with a default graphic?

dreck 11-01-2005 02:52 PM

Quote:

Originally Posted by ThePimp
Is there a way to set a default thumbnail? For example, most users aren't the brightest bulb in the bunch, and I frequently get people posting incorrectly, or posting topics in the gallery forums... and what happens is that a broken "Red X" image is displayed in those posts on the gallery as well as on the ForumHome page. I'm wondering if there's a way to detect improperly posted / no image topics and replace the thumbnail with a default graphic?

Thats a great ideas. I can see my members do the same thing. :)

Harald_T 11-01-2005 03:16 PM

Sorry for late reply.

O.k., if you want to to have a thumb displayed, if no picture is attached, then you have to change the code in threadbit_gallery:

Find

Code:

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

and replace it with:

Code:

<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="$stylevar[imgdir_misc]/nothumb.gif" width=75 height=56 border="0">
                            </if>
</if>
<br />
</td>

And don't forget to upload an :gif-File called "nothumbs.gif". That should do it.

ScottC20 11-01-2005 04:04 PM

Quote:

Originally Posted by ScottC20
how can I increase the amount of thumbnails displayed on the forum index to say six or seven?

????

Harald_T 11-01-2005 04:09 PM

You just have to change the plugin: latest_gallery_images_forumhome.

Inside the query you find

Code:

ORDER BY ". TABLE_PREFIX . "attachment.dateline DESC LIMIT 5");
Just change the letter 5 to your prefered amount. That's all.

dreck 11-01-2005 05:14 PM

What if I wanted to put a bit more space between the 5 forum home thumbnails?

Harald_T 11-01-2005 05:36 PM

Then use this code for template "latestgallery"

Code:

<td class="thead" align="center">
<table align="center">
<tr>
<td align="center">
<a HREF="attachment.php?attachmentid=$gallery[attachmentid]">
<img src="attachment.php?attachmentid=$gallery[attachmentid]&stc=1&thumb=1" border=0 align="center"></a>
</td>
</tr>
<tr>
<td align="center">
<br />
<a href="showthread.php?t=$gallery[threadid]">
$gallery[title]
</a>
</td>
<td>
&nbsp;&nbsp;
</td>
</tr>
</table>
</td>


dreck 11-01-2005 05:52 PM

hmm, maybe I did something wrong? But it didn't seem to change anything.

And the nothumb.gif works like an charm. ;)

Harald_T 11-01-2005 08:51 PM

I only added some space between the thumbs, if you want more, add some more &nbsp;. I'll post a better solution tomorrow.

Harald_T 11-03-2005 05:58 PM

Try this, i think this one is better:

Code:

<td class="thead" align="center">
<table align="center">
<tr>
<td align="center">
<a HREF="attachment.php?attachmentid=$gallery[attachmentid]">
<img src="attachment.php?attachmentid=$gallery[attachmentid]&stc=1&thumb=1" border=0 align="center"></a>
</td>
</tr>
<tr>
<td align="center">
<br />
<a href="showthread.php?t=$gallery[threadid]">
$gallery[title]
</a>
</td>
</tr>
</table>
</td>
<td width="20" height="100%">
&nbsp;
</td>


mwhoob 11-03-2005 07:33 PM

hi

i install this plugin

but the order in the forumdisplay
show like this picture

row is unfinity

what the problem??
solve me plz :ermm:

dreck 11-04-2005 12:39 PM

Quote:

Originally Posted by Harald_T
Try this, i think this one is better:

Code:

<td class="thead" align="center">
<table align="center">
<tr>
<td align="center">
<a HREF="attachment.php?attachmentid=$gallery[attachmentid]">
<img src="attachment.php?attachmentid=$gallery[attachmentid]&stc=1&thumb=1" border=0 align="center"></a>
</td>
</tr>
<tr>
<td align="center">
<br />
<a href="showthread.php?t=$gallery[threadid]">
$gallery[title]
</a>
</td>
</tr>
</table>
</td>
<td width="20" height="100%">
&nbsp;
</td>


Thanks, much better.

dreck

Harald_T 11-04-2005 09:30 PM

Quote:

Originally Posted by mwhoob
hi

i install this plugin

but the order in the forumdisplay
show like this picture

row is unfinity

what the problem??
solve me plz :ermm:

Did you set the number of rows in the gallery-options?

tuanluu 11-05-2005 07:40 AM

take a look at Attachment to see what I mean plz

Gizmo5h1t3 11-05-2005 07:44 AM

still no luck on the missing filesize????

tuanluu 11-05-2005 08:15 AM

Never mind I know what wrong. stupid me forgot to edit forumhome file. It work perfect for now

mwhoob 11-05-2005 05:57 PM

Quote:

Originally Posted by Harald_T
Did you set the number of rows in the gallery-options?

how to edit gallery-options?

Harald_T 11-05-2005 07:56 PM

You find them beneath your forums-options.

Brandon Sheley 11-06-2005 06:40 AM

this looks great i clicked install

do u see what i missed or why the images are broken in thread view ? but if u look at post view you can see the image fine ?

http://locoforum.com/forums/f42-posters.html thread

http://locoforum.com/forums/showthread.php?t=410 post

thx
-loco m

Brandon Sheley 11-07-2005 03:52 AM

anything on my problem ? I'll check back in a day or 2 then.
i really hope to get this working,, I've moved the gallery to the forums/ header,, I want to use it as a banner, I'm looking foward to fixing the error

mwhoob 11-07-2005 06:46 AM

Quote:

Originally Posted by Harald_T
You find them beneath your forums-options.

thankx
its ok now :squareeyed:

Harald_T 11-07-2005 07:38 PM

Quote:

Originally Posted by Loco Macheen
this looks great i clicked install

do u see what i missed or why the images are broken in thread view ? but if u look at post view you can see the image fine ?

http://locoforum.com/forums/f42-posters.html thread

http://locoforum.com/forums/showthread.php?t=410 post

thx
-loco m

Seems to me, that your vBulletin doesn't create any thumbs. This i would guess at the first look.

Brandon Sheley 11-08-2005 02:31 AM

ah, how/where would i check for this ?
thx for replying

Brandon Sheley 11-08-2005 12:00 PM

Generate PNG Thumbnails
On some installations, the creation of PNG thumbnails (with GD) will fail due to incompatible libraries.

This only applies if GD is your chosen image library.

is it here ? cuz this is a yes.. and everything i see says it should work..

lexx27 11-08-2005 02:50 PM

Quote:

Originally Posted by lexx27
I know you havent install it yet but can you give me some hypothetical solution to start. Like which templates to use, if i willl need a php file. Thank you

Please someone. I need a hint! Something to start with because i am not a coder

Harald_T 11-08-2005 03:58 PM

Be patient. I've downloaded vBA CMPS and will check it out in the next days.


All times are GMT. The time now is 08:07 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.01792 seconds
  • Memory Usage 1,832KB
  • 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
  • (6)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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