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)

LBSources 12-18-2005 07:46 PM

Quote:

Originally Posted by Harald_T
@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.

Herald thanks again ..

As for the image sizing .. im saying when you enter the thread that the images were uploaded in .. the images arent their original size; they are instead stretched ... is this something that _I_ must correct?

As far as the other file types.. yes; nothing is showing up in the thread.. and nothing is able to be downloaded.

Harald_T 12-18-2005 08:31 PM

@LBSource:

- stretched images: No, this is something, i've done... But you can avoid it. Just remove the width-tag in the <IMG SRC.... in the template "gallery_attachment".

LBSources 12-18-2005 10:15 PM

Quote:

Originally Posted by Harald_T
@LBSource:

- stretched images: No, this is something, i've done... But you can avoid it. Just remove the width-tag in the <IMG SRC.... in the template "gallery_attachment".

That did it.. thank you!

now for the other file types.. :)

Lenny

LBSources 12-20-2005 12:44 PM

Harald any idea on the other compat file types?

LBSources

Harald_T 12-20-2005 02:06 PM

Only theoretical. I hope i can add it to the hack over the Christmas-Days, as i'm having not so much free time at the moment.

LBSources 12-20-2005 02:15 PM

Quote:

Originally Posted by Harald_T
Only theoretical. I hope i can add it to the hack over the Christmas-Days, as i'm having not so much free time at the moment.

sounds great and happy holidays to you..

yayvb 12-22-2005 02:56 AM

Hmm, like I said before this hack is perfect because of this reason:
Users don't have to upload photos to a gallery after they've already uploaded as
attachments. But since the hack currently will only allow 1 photo, if more than 1
photo is uploaded, the random gallery thumbnails show all images uploaded, but they
share the caption, description, etc. When the user uploads more than 1 image
attachment, it also squishes all of the images together into 1 big vertical image.

Harald you are suggesting perhaps to just have the last image the one included. I feel
this still would only show some images and not all of the images. There must be some
way so that the script will recognize if more than 1 image is uploaded so that it will
put each image attached into it's own table where the user adds the name, comment,
etc.

Also this seems to add photos to the gallery from this point on. I wish that there was
a way for all previous attached images to get added on, but this can be held off until
later.

I wish that I could help you more Herald with this hack. I am in desperate need of a
photo hack, my photopost members area access expired last month so I can't
download the recent version, and in my opinion your hack is better since as I said I
won't have users showcasing their photos in the gallery and forums. If you want to
put it in the gallery, put it in a message. :)

We just need to work on a way to be able to add all of the photo attachments to the
gallery, atleast, I think that should be our goal. :)
Have a great holiday.

Harald_T 12-22-2005 05:01 PM

@Yavyb: It really isn't easy. There is one big problem on this:

As i used the attachment-system of vb, the normal post, that belongs to the attachment is of course used also.

So, if we want every attachment to have a single comment, rating, and so on, it would mean, that the whole hack has to be rebuild. At the moment, i don't have the time for such a project, that is the problem.

Harald_T 12-22-2005 05:41 PM

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


Scott, was it something like shown in the attachment, what you wanted?

yayvb 12-22-2005 05:51 PM

Ok Herald I see your point. I would've rather have given you $150 for the
hack instead of photopost people since they get more business, and plus
your script would save disk space. I'll just wait to be able to buy vbgallery
and maybe in the future you'll have done something to accept more than 1
photo. Thanks for your hack anyhow though. :) You did a great job.

Harald_T 12-22-2005 05:58 PM

Does vbgallery accept more than one image attached? Just for interest?

ScottC20 12-22-2005 08:48 PM

Quote:

Originally Posted by Harald_T
Scott, was it something like shown in the attachment, what you wanted?

Yes exactly very good. On a side note though I think it would be worth to make sure all the phrases have a colon next to them for consistency.

Harald_T 12-22-2005 09:15 PM

Btw., theoretically the gallery-hack could also be modified for a kind of article-system, i think. Not 100% sure, i'm testing at the moment. For those, who have interest in this, let me know.

DrewM 12-23-2005 01:04 PM

Harald_T I have edited 1 plugin and now you can upload multy pics with out double posting. The plugin forumdisplay_query the new code is:


PHP Code:

if ($foruminfo['gallery']=='1')
{
$gallery true;
}
 

if (
$gallery==true)
{
    
$hook_query_fields .= ", attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid "
    
$hook_query_joins .= "LEFT JOIN " TABLE_PREFIX "attachment as attachment ON(attachment.postid = thread.firstpostid) "
    
$hook_query_where .= "GROUP BY thread.threadid "



Harald_T 12-23-2005 07:28 PM

That's great! Thanks a lot.

wrang 12-25-2005 06:14 AM

Can someone help me with this. When i run the Query i get a error that says
An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'db00XXXXXX.forum' doesn't exist

What do i do wrong?

I dosent now how i can do it on the phpadmin instead but i find a text vb3_forum

Harald_T 12-25-2005 08:00 AM

You must use the prefix in the query. Instead of

ALTER table 'forum'

you must write

ALTER table 'vb3_forum'

That should do it.

tuanluu 12-26-2005 03:24 AM

Merry X-Mass and happy new.... hope the new version release soon

Harald_T 12-26-2005 06:26 AM

At the moment i'm thinking of how to implement other files like .doc, .pdf, and so on.

Also i try to find out, how to integrate in Joomla.

Brandon Sheley 12-26-2005 06:49 AM

imo i don't know why you keep changing Harald.
the version i have on my board is the 2nd you came out with,, 1.0.3 i think ?
maybe its getting to complicated, but i haven't read thu the last 20 pages of post..
either way I love the way it looks on my board and I Am glad you still give support for it :)

LBSources 12-26-2005 02:18 PM

Quote:

Originally Posted by Harald_T
At the moment i'm thinking of how to implement other files like .doc, .pdf, and so on.

Also i try to find out, how to integrate in Joomla.

thats what id like to do with this.. all other file types also..

Harald_T 12-26-2005 03:28 PM

Quote:

Originally Posted by Loco.M
imo i don't know why you keep changing Harald.
the version i have on my board is the 2nd you came out with,, 1.0.3 i think ?
maybe its getting to complicated, but i haven't read thu the last 20 pages of post..
either way I love the way it looks on my board and I Am glad you still give support for it :)

The answer for it is only: Improvement. I only want to improve it a little bit more. But also i'm trying to keep it as simple as possible. That's all. ;)

Brandon Sheley 12-27-2005 06:41 AM

well I take back what i said :p
after upgrading to 3.5.2 i had to make the php edit, and i see what you've changed.
I like it :) it's very easy to configure and installed like a dream :)
great work bud, you've really helped my site and saved me a few $..hehe


*edit,, spoke a little soon,, where can I edit this to English :p

and I'd like to remove that black bar, but I'm guessing its forum description

Harald_T 12-27-2005 03:47 PM

@Loco: Thanks.

The missing phrases: You can edit the words in your phrases. Just look for phrases which will start with: gal_

Big_Ad 12-27-2005 07:38 PM

Hi there, having a little problem with your hack!

Installed it as supposed to, edited index as supposed to, but when I go to my forum index I get displayed with a database error! The only way I could get my site working again was to remove your hack totally.

I really want to use this in conjunction with my photopost software, can you advise anything to help me fix this issue?

Thanks!!

sorroy 12-27-2005 08:11 PM

Did you run the query and changed the forumdisplay.php file like in the read me? Work fine here with 3.5.2 followed instructions and works fine here.

Can we get this to pop up on main forum index like showed in the screen shots?

Thanks for the great work put in to this Harald_T.

vsd 12-27-2005 09:26 PM

I had this installed by a programmer, that does not work with VB. He did the install and asked that I complete the rest.

Well, I can't get it to work and I have tried a variety of things.

At the moment no images appear on the home page. The Gallery link on the title bar is going to a new page, but the images do not show up.

I figure this is a simple thing to fix for a VB expert (which I am not)

I have read the instructions and most of the posts in this forum.

Any help would be appreciated

Thanks in advance
:disappointed:

http://www.vintagesnaredrums.com/forums/index.php?

wrang 12-28-2005 01:15 PM

Quote:

Originally Posted by Harald_T
You must use the prefix in the query. Instead of

ALTER table 'forum'

you must write

ALTER table 'vb3_forum'

That should do it.

Okey thanks for the help!
When i write it this "error" came up, what does this meen?
Affected Rows: 48 (0.0640s)

Regards C

Big_Ad 12-28-2005 03:26 PM

Quote:

Originally Posted by sorroy
Did you run the query and changed the forumdisplay.php file like in the read me? Work fine here with 3.5.2 followed instructions and works fine here.

Can we get this to pop up on main forum index like showed in the screen shots?

Thanks for the great work put in to this Harald_T.

I did change the forumdisplau file, and I imported the XML file. I thought this ran the queries for you? Or do I have to go to my VB admin panel, view the imported product, and look at the installation queries and execute them manually??

Brandon Sheley 12-28-2005 05:07 PM

Quote:

Originally Posted by Harald_T
@Loco: Thanks.

The missing phrases: You can edit the words in your phrases. Just look for phrases which will start with: gal_

thank you :)

Harald_T 12-28-2005 05:18 PM

Quote:

Originally Posted by Big_Ad
I did change the forumdisplau file, and I imported the XML file. I thought this ran the queries for you? Or do I have to go to my VB admin panel, view the imported product, and look at the installation queries and execute them manually??


Just do as described in the install-manual:

Run the query from the AdminCP
Edit forumdisplay.php
Import the product.

nexus851 12-29-2005 09:26 AM

I need to temporarily uninstall because i have a conflict in the modules ...


so how did u uninstall this Gallery without giving DB errors in the main page????


It seems like the XML file modded my DB. This is the error im getting after i uninstalled when i try to access my website URL:


PHP Code:

Database error in vBulletin 3.5.0:

Invalid SQL:
SELECT gallerythreadidfirstpostidvb_thread.titleattachmentidvb_attachment.dateline FROM vb_attachmentvb_threadvb_forum
WHERE gallery
='1' AND vb_thread.forumid=vb_forum.forumid AND vb_thread.firstpostid vb_attachment.postid AND vb_attachment.dateline 1135856125 ORDER BY vb_attachment.dateline DESC LIMIT;

MySQL Error  You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2
Error Number 
1064
Date         
ThursdayDecember 29th 2005 05:35:25 AM
Script       
: [url]http://xxxx/forum/index.php?styleid=12[/url]
Referrer     : [url]http://xxxx/template.php?do=modify[/url]
IP Address   24.4.188.93
Username     
xxxxx
Classname    
vb_database 


4number8 12-29-2005 10:07 AM

nexus851, looks like you still have a file edit in one of your files, you might try checking your class_bbcode in your includes folder and updating it

Harald_T 12-29-2005 04:20 PM

Strange, the syntax-error says that there should be an error near ' ', but there isn't any in the query...

Maybe the error is a collision between my hack and the other one.

My XML-File has no instructions for modifying the DB, therefore you have to run the query first, that is described in the manual.

texasasl 12-29-2005 08:32 PM

Harald I have recently installed this modification. Everything is going smooth but I have a small problem: While the pictures are displayed in the gallery when you are going into the theme no picture is displayed.
For your ease reference http:www.phoenix-radio.gr (user:test1 pass:test) pages: http://www.phoenix-radio.gr/forumdisplay.php?f=12 and http://www.phoenix-radio.gr/showthread.php?t=22. Is there any possibillity to have a look I do not know whether or not is corect as is or a false one. I'll be appreciated for your reply.

Harald_T 12-29-2005 08:41 PM

Seems to be a problem with the user-rights. Did you maybe set it so, that your users can't download attachments? Could be an explanation.

texasasl 12-29-2005 10:21 PM

Thanks for your quick reply but I double checked and the rights are there.That means thereis not any restriction for the users. Something else should be.But what??

Big_Ad 12-30-2005 01:52 PM

Will this work for PhotoPost or am I confused??

Harald_T 12-30-2005 02:26 PM

No, this is a seperate gallerysystem.

vsd 12-30-2005 04:04 PM

Sorry to bother you, but I have no where to turn for help.


Quote:

Originally Posted by vsd
I had this installed by a programmer, that does not work with VB. He did the install and asked that I complete the rest.

Well, I can't get it to work and I have tried a variety of things.

At the moment no images appear on the home page. The Gallery link on the title bar is going to a new page, but the images do not show up.

I figure this is a simple thing to fix for a VB expert (which I am not)

I have read the instructions and most of the posts in this forum.

Any help would be appreciated

Thanks in advance
:disappointed:

http://www.vintagesnaredrums.com/forums/index.php?



All times are GMT. The time now is 09:16 PM.

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.03188 seconds
  • Memory Usage 1,851KB
  • 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_php_printable
  • (12)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