vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - vBi-Gallery for vB 3.6.X (https://vborg.vbsupport.ru/showthread.php?t=128598)

Greyshark 11-20-2006 06:32 AM

Quote:

Originally Posted by Harald_T (Post 1120992)
@Greyshark: Hast Du auch an die ?nderungen an forumdisplay.php durchgef?hrt?

DANKE DIR! Ich hatte ?bersehen, dass wohl die .php neu ist in der version 3.63. Alles arbeitet prima!

cu Christian

MotMann 11-25-2006 10:08 PM

Harald, warum habe ich das Update erst jetzt gefunden?

Trotzdem sind immer noch alte Probleme vorhanden, wie das "aufbl?hen" von kleinen Bildern.

Wenn ich diesen Code nutze:
Code:

<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>>

<if condition="$attachment[filename]!=$vboptions[gal_feat_name]">
<img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;stc=1&amp;thumb=0&amp;d=$attachment[thumbnail_dateline]" border="0" align="center"></a>
&nbsp;<if condition="$show['br']"><br /><br /></if>
</if>

Werden die Bilder in Originalgr?sse dargestellt, also nicht verkleinert.
Oder tritt der Effekt erst bei neu geladenen Bildern auf? W?re schlecht, weil ich ja ugedatet hatte.

Ebenso besteht das Problem der kleinen Bilder, dass diese nicht angezeigt werden.

Und dan fehlen noch einige Phrasen und manche Feautures von vb 3.6 (wie direkt antworten usw.) werden nicht unterst?tzt.

Passiert da was? Irgendwo stand doch, dass Du das tolle Progamme v?llig umschreiben wolltest ;)

yesfans 11-26-2006 02:03 AM

What do the directions mean when they say SET UP NEW CATEGORY??

yesfans 11-26-2006 02:11 AM

I am getting lost at this point!

......

So far, so good. Now it's time to setup the gallery.

1. First of all, create a category and call it "Gallery" (or anything else, if you like). Please remember the ID of this category, it's needed.
2. Create a new forum. Call it, what you like (for example "Pictures of flowers"). Just beneath the "SAVE"-Button you'll find a new option,
called "Act as gallery". Set this to yes. It should now look like this:

Harald_T 11-26-2006 04:04 PM

@MotMann: Stimmt, ich hänge momentan ziemlich hinten dran, habe aber privat zuviel um die Ohren, um mich dran zu setzen. Ich hoffe, übernächste Woche endlich das Ganze anzugehen, wenn ich Urlaub habe.

Das nächste Update wird wohl als erstes überarbeitete Queries enthalten, so das dann wohl auch die Serverlast reduziert wird.

english: I know, i'm there where no response in the last weeks, but my private time is spent to solve out urgent problems. I hope to start working again on the gallery in the first two december-weeks, in my holidays.

The next update will be hopefully one with better queries, so the server-load will be reduced.

MotMann 11-26-2006 05:16 PM

That's nice :)

krazycivik 11-26-2006 11:16 PM

so there is no english version of this ugh.. wish there was.

MotMann 11-27-2006 06:24 AM

Than you must translate it self ;)

Whe do it also...... i know, it's terrible.

Englisch is not the one language in the world :D

yesfans 11-27-2006 10:27 AM

Quote:

Originally Posted by yesfans (Post 1125228)
I am getting lost at this point!

......

So far, so good. Now it's time to setup the gallery.

1. First of all, create a category and call it "Gallery" (or anything else, if you like). Please remember the ID of this category, it's needed.
2. Create a new forum. Call it, what you like (for example "Pictures of flowers"). Just beneath the "SAVE"-Button you'll find a new option,
called "Act as gallery". Set this to yes. It should now look like this:

Quote:

Originally Posted by yesfans (Post 1125222)
What do the directions mean when they say SET UP NEW CATEGORY??

Can anyone make this clearer for me?

buurman 11-27-2006 11:04 AM

Quote:

Originally Posted by willisbryan (Post 1092957)
Million Dollar Question, is there a module to display via vbAdanced? If not is there anyone who would be willing to take a shot at creating one?

Great Mod dude.... Nice Work!

First of all, great work!! love this gallery!

Is the CMPS random gallery picture block already made by someone?
Cant seem to find out how its working.

The gallery is installed and working nicely, thx!

Edit: Uhm, guess I found it, had to look in the original version post. sorry :)

buurman 11-27-2006 11:06 AM

Quote:

Originally Posted by yesfans (Post 1126292)
Can anyone make this clearer for me?

Just "add new Forum" and set the setting to "Act as forum" to NO.

You can als set the setting "Forum is active" to NO

Hope this helps.

peacestgt 11-27-2006 12:33 PM

ive installed this produkt and now i get this error..
whats wrong?

Code:

Datenbankfehler in vBulletin 3.6.3:

Invalid SQL:
SELECT thread.featured, threadid, firstpostid, thread.title, MAX(attachment.attachmentid)AS attachmentid, attachment.dateline FROM attachment, thread, forum
WHERE thread.featured='1' AND thread.forumid=forum.forumid AND thread.firstpostid = attachment.postid AND attachment.dateline < 1164637904
GROUP BY thread.threadid
ORDER BY attachment.attachmentid DESC LIMIT;

MySQL-Fehler : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4
Fehler-Nr.  : 1064
Datum        : Monday, November 27th 2006 @ 03:31:44 PM
Skript      : http://..../vb/index.php
Referrer    : http://.../vb/forumdisplay.php?f=
IP-Adresse  : ...
Benutzername :
Klassenname  : vb_database

Regards

Mike

bonzer 11-27-2006 12:47 PM

I Installed as directed and cannot get to work ?? Help would be kindly taken
Thanks

Harald_T 11-27-2006 03:49 PM

Quote:

Originally Posted by peacestgt (Post 1126355)
ive installed this produkt and now i get this error..
whats wrong?

Code:

Datenbankfehler in vBulletin 3.6.3:

Invalid SQL:
SELECT thread.featured, threadid, firstpostid, thread.title, MAX(attachment.attachmentid)AS attachmentid, attachment.dateline FROM attachment, thread, forum
WHERE thread.featured='1' AND thread.forumid=forum.forumid AND thread.firstpostid = attachment.postid AND attachment.dateline < 1164637904
GROUP BY thread.threadid
ORDER BY attachment.attachmentid DESC LIMIT;

MySQL-Fehler : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4
Fehler-Nr.  : 1064
Datum        : Monday, November 27th 2006 @ 03:31:44 PM
Skript      : http://..../vb/index.php
Referrer    : http://.../vb/forumdisplay.php?f=
IP-Adresse  : ...
Benutzername :
Klassenname  : vb_database

Regards

Mike

It seems, the settings for the gallery are ignored. Try to check in the gallery-option if there is a number set for the amount of pictures shown on forumhome.

If everything is o.k., try to just reinstall it.

@buurman: I thought, i had already published the modifications for CMPS. Hmh, o.k., i'll look after it tonight.

It's not so hard to to make a random-picture-box and a latest-pictures-box for the CMPS.

@bonzer: Could you explain a bit more? What's not working? Any URL to see it?

bonzer 11-27-2006 04:01 PM

Thanks But I have removed it for now ....

Kiint 11-29-2006 11:18 PM

Thanks for the Gallery, it installed fine.

Some Ideas for future version:
Improve the layout on images when you click on a gallery, at the moment they are all placed above each other, it doesn't look that tidy. A blank line between each image would be nice just so that they are spaced out a bit, maybe create thumbnails instead of showing an enlarged image so that we can display several images together in one post and the user can then click on them to get the larger picture.

Fix the blank Thread Tools menu
in gallery_showthread, find:

Code:

<if condition="$show['movethread']"><div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_copy_thread]</label></div></if>
replace with:

Code:

<if condition="$show['movethread']"><div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_thread]</label></div></if>
That's all I can think of at the moment, Thanks for a great hack

buurman 11-30-2006 08:35 AM

Is htere a way to make the space between the attachment and Threat smaller?

*edit
Never mind, found it, also deleted the extra space between latest pics block and first forum block, because it was larger than the rest.
Starts looking perfectly, love this addon m8!!!

dreck 12-03-2006 08:02 PM

Harald_T, great to see you have a 3.6 mod for this hack. ;) I had your 3.5 mod & loved it. Does anyone have this working with 3.6.4?

Thanks, dreck

Harald_T 12-04-2006 05:22 PM

This should be working with 3.6.4 also, i think.

[Important Update]

Just to let you know:

I've started coding a new version of the gallery, which won't use the attachment system any longer. Instead of it, it uploads the pictures to a directory on the server.

Therefore it was neccessary to write the whole code new. At the moment there is no demo-version or any screen-shots. As soon, as they are, i'll show you.

Any suggestions for this new gallery?

mcontent10 12-04-2006 06:37 PM

Great little hack, I must say Harald. I'd love the option to have people click on the picture from forumhome and it takes them to the actual picture post, instead of just the picture.

You can see my implementation here-

http://www.jewelryforums.org/

Harald_T 12-04-2006 07:15 PM

Just change the code in the template "gallery_latest_pictures" for this.

Instead of:

<a HREF="attachment.php?attachmentid=$gallery[attachmentid]">

it should be:

<a href="showthread.php?t=$gallery[threadid]">

That's all.

mcontent10 12-04-2006 11:30 PM

Harald,
How do I set your script to allow ANYONE, whether registered or unregisterd to see the images or the pictures in the galleries? Right now someone browsing the board will see an 'x' and this message:

Nur für Mitglieder!

Thanks

complete 12-05-2006 08:03 PM

Anybody have it working with 3.6.4?

The gallery page is not showing any pictures....

MotMann 12-06-2006 05:27 PM

Hallo Harald.

Ich habe die letzte Version drauf und erhalte nun, wenn ich Foren im ACP ?ndern m?chte, folgende Fehlermeldung:

Quote:

Invalid SQL:
UPDATE vb_forum SET
title_clean = 'Zur Spielhalle',
title = 'Zur Spielhalle',
description_clean = 'ARCADE Games erwarten Dich. Viel Spa?',
description = 'ARCADE Games erwarten Dich. Viel Spa?',
link = 'http://www.xxxxxx/Forum/arcade.php',
displayorder = 3,
parentid = 63,
daysprune = -1,
defaultsortfield = 'lastpost',
defaultsortorder = 'desc',
showprivate = 0,
newpostemail = '',
newthreademail = '',
### Bitfield: vb_forum.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 16, options - 16, options),
options = IF(options & 32, options - 32, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 8192, options, options + 8192),
options = IF(options & 4, options, options + 4),
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 16384, options, options + 16384),
options = IF(options & 256, options - 256, options),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options, options + 128),
options = IF(options & 512, options, options + 512),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options, options + 4096),
options = IF(options & 65536, options, options + 65536),
styleid = 0,
password = '',
vbseo_moderatepingbacks = 1,
vbseo_moderatetrackbacks = 1,
vbseo_moderaterefbacks = 1,
gallery = '0',
gallery_cat = '0',
gal_thumbs = 0,
gal_statusicon = ''
WHERE forumid = 151;

MySQL-Fehler : Unknown column 'gal_thumbs' in 'field list'
Fehler-Nr. : 1054
Datum : Wednesday, December 6th 2006 @ 08:20:10 PM
Skript : http://www.xxxxxxxx/Forum/admincp/forum.php?do=update
Referrer : http://www.xxxxxxxxx/Forum/admincp/f...=edit&f=151&s=
IP-Adresse : xx.xx.xx.xx
Benutzername : xxxxx
Klassenname : vB_Database
Es ist aber v?llig unerheblich, welches Forum die ?nderung betrifft. Die Meldung erscheint bei allen Foren.
Wenn ich das Plug In Deaktiviere, ist alles in Butter :) Das Problem war bei der vorherigen Version nicht....

EDIT: Okey, ich habe es in vorherigen Seiten gefunden. Habe die XML deinstalliert und neu importiert und schon lief die Kiste :)

Harald_T 12-06-2006 10:20 PM

@Motmann: Scheint, als wenn der Eintrag für die Tabelle nicht mehr korrekt ist. Lade das Plugin nochmal, möglicherweise lag beim Import der XML-Datei ein Fehler vor.

MotMann 12-06-2006 10:37 PM

Ja, danke. Das schrieb ich aber auch schon, dass ich das im vorherigen Beitrag fand.

jetzt klappts.

krazycivik 12-07-2006 02:25 AM

i change the forumdisplay and my forums show errors why is this?

krazycivik 12-07-2006 03:42 AM

yah this dosent work at least for me.. i install it do everything you say (and your pics dont work) for you examples so its kinda hard to follow.. i can see a gallery thing etc but at the top it dosent show any pictures

Don El Greeko 12-07-2006 08:58 AM

Hi!

I have a short question. Its a genius plugin, but it makes the forum soooo slow. Did I forget some special settings?

Thanks 4 help.

lifesourcerec 12-08-2006 12:11 PM

Ok.. done with this hack as it crashes my server every time. From the hoster:

Quote:

Everything is working except your forums, and it's putting a large load on the server. You will need to correct this before we have to suspend the site. At this rate it will crash the server.

250 hobbyins_ localhost forum 15 Query SELECT gallery, threadid, firstpostid, thread.title, attac
235 hobbyins_ localhost forum 29 Query SELECT gallery, threadid, firstpostid, thread.title, attac
230 hobbyins_ localhost forum 35 Query SELECT gallery, threadid, firstpostid, thread.title, attac
222 hobbyins_ localhost forum 47 Query SELECT gallery, threadid, firstpostid, thread.title, attac
221 hobbyins_ localhost forum 48 Query SELECT gallery, threadid, firstpostid, thread.title, attac
205 hobbyins_ localhost forum 58 Query SELECT gallery, threadid, firstpostid, thread.title, attac
202 hobbyins_ localhost forum 62 Query SELECT gallery, threadid, firstpostid, thread.title, attac
197 hobbyins_ localhost forum 66 Query SELECT gallery, threadid, firstpostid, thread.title, attac
193 hobbyins_ localhost forum 71 Query SELECT gallery, threadid, firstpostid, thread.title, attac
166 hobbyins_ localhost forum 89 Query SELECT gallery, threadid, firstpostid, thread.title, attac
152 hobbyins_ localhost forum 93 Query SELECT gallery, threadid, firstpostid, thread.title, attac
140 hobbyins_ localhost forum 98 Query SELECT gallery, threadid, firstpostid, thread.title, attac
136 hobbyins_ localhost forum 101 Query SELECT gallery, threadid, firstpostid, thread.title, attac
125 hobbyins_ localhost forum 107 Query SELECT gallery, threadid, firstpostid, thread.title, attac
98 hobbyins_ localhost forum 121 Query SELECT gallery, threadid, firstpostid, thread.title, attac
87 hobbyins_ localhost forum 126 Query SELECT gallery, threadid, firstpostid, thread.title, attac
37 hobbyins_ localhost forum 147 Query SELECT gallery, threadid, firstpostid, thread.title, attac
30 hobbyins_ localhost forum 151 Query SELECT gallery, threadid, firstpostid, thread.title, attac
28 hobbyins_ localhost forum 152 Query SELECT gallery, threadid, firstpostid, thread.title, attac
22 hobbyins_ localhost forum 156 Query SELECT gallery, threadid, firstpostid, thread.title, attac
16 hobbyins_ localhost forum 159 Query SELECT gallery, threadid, firstpostid, thread.title, attac
17 hobbyins_ localhost forum 159 Query SELECT gallery, threadid, firstpostid, thread.title, attac

lifesourcerec 12-08-2006 02:25 PM

How do you manually remove this junk?? Locked out of admincp and everything (even with the define('DISABLE_HOOKS', true); ) line in config.php

hotmasala4u 12-08-2006 08:50 PM

hi, when a image is attched, the picture is not being shown, and atttachement setting is on. Any idea about his?

Harald_T 12-09-2006 08:42 AM

Check the following:

- Are you logged in?
- In the attachment-manager: Does your vB generates thumbs for the attachment?
- In the vbulletin-options-->attachments: Is "Show Inline Images" set to "YES"?

mcontent10 12-09-2006 01:51 PM

Hi Harald,

Any ideas about letting anyone see the images, and not just logged in users?

"Harald,
How do I set your script to allow ANYONE, whether registered or unregisterd to see the images or the pictures in the galleries? Right now someone browsing the board will see an 'x' and this message:

Nur für Mitglieder!

Thanks"

buurman 12-11-2006 05:35 AM

The only thing is....

Images smaller than 100x100 arent displayed in the post, but they are in the forumgallerie... mmhh, if you add a bigger file afterwards, then it does display the small file also.

Cant seem to find the solution.... anyone?

Harald_T 12-11-2006 07:11 AM

@mcontent10: Just set "Allow download attachments" for Guest to "Yes" this should remove the problem.

@buurman and motmann: Could you contact me via pm?

buurman 12-12-2006 10:37 AM

Just if someone is bored, I have a question...

Im getting the CMPS portal block for this Gallery to work, but cant get it to work the way I want to.
This is the code for a random block:

<if condition="$vboptions['show_random']==1">
<tr>
$random_gallery
</tr>
</if>

But then the block looks exact the same as the block in the forum.
(like 7 images in a row and same size of attachments)

If I want to have 4 images in a row, on the portal and 7 in the forum, what do I have to do?
Is there a way to make a new "adv_random_gallery" template and make it look in that template, like "$random_gallery2" so I can change the settings in that template.

Or I just wait till Harald finishes his new version of this great addon :) and then worry about it :)

rickyreter 12-13-2006 01:08 PM

Hi,i installed then uninstalled as i was getting a load off silly stuff now i get this on main page:

Unknown column 'featured' in 'where clause'
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /index.php(63) : eval()'d code on line 81
forumtemplates.com -->

Any ideas

eNtitY~ 12-14-2006 07:17 PM

So is this fully functional? Does it allow you to upload pictures bigger than 100x100? Could someone also upload some pics of the installed product?

Thanks.

dreck 12-14-2006 09:01 PM

Harald_T,

I am getting ready to install this version. I ran your 3.5 version for awhile, very nice.
I was wondering if I could place the featured gallery in the header template rather than the forumhome? I'd like to place 3 or 4 pictures in the header next to my logo.

Thanks, dreck


All times are GMT. The time now is 02:21 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.01656 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
  • (5)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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