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)

AGIRABI 12-05-2005 08:33 AM

Harald you are owesame buddy, i owe you a big one...
If you ever thinking about coming istanbul, turkey dont even think about you are my quest...

Thank you so much...

Harald_T 12-05-2005 08:34 AM

Quote:

Originally Posted by AGIRABI
Dear Harald i have tried to install the vba CMPS and almost did it.

Only picture is not showing, this is how its look like:


I am sending you the user details from PM,

Could you please take a look at it where i am making wrong '

Thank you so much buddy...


O.k., works now.

Harald_T 12-05-2005 08:36 AM

Quote:

Originally Posted by AGIRABI
Harald you are owesame buddy, i owe you a big one...
If you ever thinking about coming istanbul, turkey dont even think about you are my quest...

Thank you so much...


Could be. You know, german makes lot's of holiday in turkey.... :D

zzzxxzzz 12-05-2005 02:49 PM

Klicken Sie bitte auf das Bild, um es in Originalgr?zu sehen << what this mean

and this : Kommentare:

zzzxxzzz 12-05-2005 03:08 PM

one more: Diese Einstellung definiert, wieviele Bilder nebeneinander in einer Reihe angezeigt werden.

sorry i dont understand

zzzxxzzz 12-05-2005 03:42 PM

sorry, i have no pic show up in the thread. but i do have pic show up in forumhome

how can i fix it?

sorry the pic below i translate to my language already

Dollah 12-05-2005 06:44 PM

Quote:

Originally Posted by Dollah
ok i have 3.5.1 now how do i edit queries i'm very new to this need to be explained in more detail for me. i'm trying to get off the porch and run with the big dawgs


sorry but still waiting on how to do this

Harald_T 12-05-2005 06:55 PM

Quote:

Originally Posted by Dollah
ok i have 3.5.1 now how do i edit queries i'm very new to this need to be explained in more detail for me. i'm trying to get off the porch and run with the big dawgs

I wrote it in the installation manual. You have to change your includes/config.php as described and after that you can run a query from your AdminCP (i don't know how it called in english but you find it in the last menu of your AdminCP).

ScottC20 12-07-2005 02:45 PM

Harald I seem to be having some problems with the individual category appearance after updating to 3.5.2 can we get an update on this please

yayvb 12-07-2005 04:05 PM

Just a quick question. I read that this hack currently only supports threads with 1 image. Well, other than that 1 aspect the script is perfect. This way people don't have to upload to two different places, ie. photo album, and message attachments.

The only problem is that when I tested it with for instance 4 images, it shows the 4 random images, but they're all named the same, etc. and I forget where but somewhere I saw all 4 images stacked and distorted because I guess it only wants 1 photo at a time.

I love this hack but I can't limit my users to 1 image per post. Any ideas or can this be fixed?

Harald_T 12-07-2005 08:50 PM

I'm working on this. I'm not sure if i got a solution for this. But I'll try. It's more an idea at the moment.

@ScottC20: I have to look. I personally didn't upgrade yet.

nexus851 12-08-2005 08:59 AM

can u cache the random and latest gallery templates too please... its not cached yet...

Harald_T 12-08-2005 05:44 PM

They should be cached. Do you still use the old templates? Or those for the vBadvanced CMPS? If so, you have to edit the plugin "forumcache-->Gallery" and insert the names of the templates.

The Chief 12-08-2005 05:49 PM

I have just switched to vB 3.5.2 and my photos aren't appearing in the forums...they are appearing on the main page but in the forums we see nothing....

have a look...

http://www.myetalk.com

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

Harald_T 12-08-2005 06:05 PM

@ScottC20: Did you edit the forumdisplay.php again? If you updated then you it's possible that you have a new file forumdisplay.php.

The Chief 12-08-2005 06:07 PM

Quote:

Originally Posted by Harald_T
It may be the bug on vB 3.5.2. There seems to be some problems with the new version. I'm looking at it.

Glad you'll have a look at it harald, thanks ;)

Harald_T 12-08-2005 06:09 PM

Quote:

Originally Posted by gamebgs
I have just switched to vB 3.5.2 and my photos aren't appearing in the forums...they are appearing on the main page but in the forums we see nothing....

have a look...

http://www.myetalk.com

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

Would you be so kind an contact me by pm? I guess i must have a look inside.

The Chief 12-08-2005 06:27 PM

Quote:

Originally Posted by Harald_T
Would you be so kind an contact me by pm? I guess i must have a look inside.

I just sent you a pm, do you want some screenshots or what?

The Chief 12-09-2005 03:25 AM

I don't know if anybody else is getting this error with vB 3.5.2??

nexus851 12-10-2005 04:37 AM

Quote:

Originally Posted by Harald_T
O.k. i've got it.

For vertical view of the latest/random pictures:

Change in the plugin: "gallery_images_forumhome" the following code

Code:

while ($gallery = $db->fetch_array($thumbs))
{
eval('$latestgallery .= "' . fetch_template('latestgallery') . '";');
}

to this one:

Code:

while ($gallery = $db->fetch_array($thumbs))
{
eval('$adv_latestgallery .= "' . fetch_template('adv_latestgallery') . '";');
eval('$latestgallery .= "' . fetch_template('latestgallery') . '";');
}

Do the same for the random_gallery:

Code:

while ($rand_gallery = $db->fetch_array($random_thumbs))
{
eval('$adv_random_gallery .= "' . fetch_template('adv_random_gallery') . '";');
eval('$random_gallery .= "' . fetch_template('random_gallery') . '";');
}

Now, create two the following two templates:

adv_latestgallery:
Code:

<tr>
<td align="center">
<table class="tborder" align="center">
<tr>
<td class="thead" height="100" width="120" 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 valign="center" align="center" width="120" height="40">
<br />
<a href="showthread.php?t=$gallery[threadid]">
$gallery[title]
</a>
</td>
</tr>
</table>
</td>
</tr>

adv_random_gallery:
Code:

<tr>
<td align="center">
<table class="tborder">
<tr>
<td class="thead" height="100" width="120" align="center">
<a HREF="attachment.php?attachmentid=$rand_gallery[attachmentid]">
<img src="attachment.php?attachmentid=$rand_gallery[attachmentid]&stc=1&thumb=1" border=0 align="center"></a>
</td>
</tr>
<tr>
<td valign="center" align="center" width="120" height="40">
<br />
<a href="showthread.php?t=$rand_gallery[threadid]">
$rand_gallery[title]
</a>
</td>
</tr>
</table>
</td>
</tr>

now, change the code for adv_portal_gallery (s. post of christianb):

Code:

<if condition="$vboptions['show_latest']==1">
    <tr>
          <td colspan=$gal_num_rows align="center">Latest pictures in the gallery:
</td>
</tr>
$adv_latestgallery
</if>

<if condition="$vboptions['show_latest']==1">
    <tr>
          <td colspan=$gal_num_rows align="center">Random pictures from the gallery:
</td>
</tr>
$adv_random_gallery
</if>

Of course, it could be better for handling, if you make two modules, one with the latest pictures and one with the random pictures.

Second: Forget those file-edit on vba_cmps_include_bottom.php. It's not neccessary anymore.



I CANT seem to get the Vertical to work at all... i made those above templates but nothing is showing up at all in my homepage... please help...

LoOnEyToOnZ 12-10-2005 02:09 PM

Any updates if this is working for 3.5.2 ?

ScottC20 12-10-2005 04:03 PM

I needed to re-edit forumdisplay.php and now it's working again. However, the phrases need some tidying up in the next version there are inconsistencies in size etc. Also I reccomend using a "not rated" image when a picture hasn't been rated rather than having just a blank space.

Something like attached

The Chief 12-11-2005 12:31 AM

Quote:

Originally Posted by LoOnEyToOnZ
Any updates if this is working for 3.5.2 ?

well for me its not working on vb 3.5.2, but you say that you re-edited the forumdisplay.php scott?

ScottC20 12-11-2005 08:26 AM

Yes, because it was replaced when I upgraded to 3.5.2

nexus851 12-11-2005 08:53 AM

if anyone else figures out how to get the vertical gallery to work meanwhile let us know or post it here....

J.P

Harald_T 12-11-2005 09:33 AM

Sorry for letting you waiting, but at the moment I have a very bad cold, so i can't concentrate on anything.

Harald_T 12-11-2005 09:39 AM

Quote:

Originally Posted by ScottC20
I needed to re-edit forumdisplay.php and now it's working again. However, the phrases need some tidying up in the next version there are inconsistencies in size etc. Also I reccomend using a "not rated" image when a picture hasn't been rated rather than having just a blank space.

Something like attached

Great idea. This will be in the next version.

ScottC20 12-11-2005 12:37 PM

Quote:

Originally Posted by Harald_T
Sorry for letting you waiting, but at the moment I have a very bad cold, so i can't concentrate on anything.

No problem, get well soon!

nexus851 12-12-2005 04:45 AM

Quote:

Originally Posted by Harald_T
Sorry for letting you waiting, but at the moment I have a very bad cold, so i can't concentrate on anything.

understand, get well, and let us know when you figure out how to get it to work vertically.... thanks!

ScottC20 12-12-2005 02:22 PM

This is a really important problem as far as I'm concerned. Some of my members have been linking images to photobucket rather than posting as an attachment but there is no way I can edit it from the new interface so in the next version there simply must be a clear edit button, thanks.

The Chief 12-12-2005 02:35 PM

Quote:

Originally Posted by ScottC20
This is a really important problem as far as I'm concerned. Some of my members have been linking images to photobucket rather than posting as an attachment but there is no way I can edit it from the new interface so in the next version there simply must be a clear edit button, thanks.

yeah, I agree that this would be nice to have ;)

Harald_T 12-12-2005 04:33 PM

Oh, yes. I see. O.k., i'll fix it in the next days.

Btw, i was at a doctor today and beginning to feel better.

Devil006 12-12-2005 04:34 PM

"Click Install"

But I have a problem
The images do not appear when I modify the sizes of attachments in admincp after having installed the gallery. When I click it that function but they do not appear :(

However the images upload before the modification appear correctly. Can you help me please?

Thanks you in advance

Harald_T 12-12-2005 04:45 PM

You mean, you changed the width and height-settings for the thumbs?

Did you rebuild the thumbnails in the AdminCP after that?

Devil006 12-12-2005 05:25 PM

I modified this:
In my admincp
Attachments > Extensions & Sizes > JPG Maximum Filesize

In order to be able to import larger images, of origin I was limited to 39ko

What do I have to rebuild? while preserving a big size for upload

Thanks Harald for this greet hack

colicab-d 12-12-2005 05:29 PM

So am I right in saying this works by the admin setting up say a set of forums e.g forum ids 1,5,21 and it will show the images in the first post of these forums as images in the gallery and then links back to the original thread.

Im wanting to have so when a user posts a new image in my gallery forums, it will show these images in the gallery and link to the original thread where the image is posted for comments and such.

Lamby1973 12-12-2005 05:41 PM

Installed, and is working better now, one question...I have English Forum, this is in German....not a good match....how do i change it to english?

The Chief 12-12-2005 05:43 PM

Quote:

Originally Posted by Lamby1973
Installed, and is working better now, one question...I have English Forum, this is in German....not a good match....how do i change it to english?

You need to change all your phrases manually for the english translation.

The Chief 12-12-2005 05:44 PM

Quote:

Originally Posted by colicab-d
So am I right in saying this works by the admin setting up say a set of forums e.g forum ids 1,5,21 and it will show the images in the first post of these forums as images in the gallery and then links back to the original thread.

Im wanting to have so when a user posts a new image in my gallery forums, it will show these images in the gallery and link to the original thread where the image is posted for comments and such.

Have a look at my gallery for an example ;)

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

The Chief 12-12-2005 05:45 PM

Quote:

Originally Posted by Devil006
I modified this:
In my admincp
Attachments > Extensions & Sizes > JPG Maximum Filesize

In order to be able to import larger images, of origin I was limited to 39ko

What do I have to rebuild? while preserving a big size for upload

Thanks Harald for this greet hack

AdminCP / Maintenance / Update Counters / Rebuild Attachment Thumbnails


All times are GMT. The time now is 08:00 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.01878 seconds
  • Memory Usage 1,840KB
  • 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
  • (16)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