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)

Chris_D 07-31-2005 06:23 PM

Aha, I think I know what I've done then. Cheers Herald, will let you know how I get on.

Chris_D 07-31-2005 07:18 PM

Yeah, sorted it :)

Sovereign 07-31-2005 07:46 PM

I had the RC1 version, *tries installing again* Success, except the server I installed on doesn't have GD or ImageMagick (no thumbs...)

Harald_T 07-31-2005 08:57 PM

That's bad, although you can install IM afterwards (and GD also, within the PHP-Package).

Made some new things:
- Latest Image-Thumbs on Forumhome
- Setting the number of rows, which are shown, in the forum-options.
- No editing of admincp/forum.php, the functions are now plugins.

I will update it tomorrow.

jesus likes pie 07-31-2005 10:53 PM

hell yes!

/me installs.

jesus likes pie 07-31-2005 10:54 PM

rofl you spelled "galery" wrong. It's not "galerie"

xxskullxx 07-31-2005 11:31 PM

As did you. His spelling is correct for his language....

seangworld 08-01-2005 01:00 AM

Quote:

Originally Posted by Harald_T
@Grendel:

Let's see, if we can fix your problem.

First of all, did you create the needed templates?

You do this:

ACP->Styles&Templates->Styles-Manager->Selecting from the Style-Options-Men?: Add a new template.

Give it the neccessary name and in the big field fill in the code for the template.

For setting the category up:

Set the Display-Order to '0', so that it isn't visible (but still accessable) and 'Act as Forum' to 'No', as you already thought.

Before the save-button for the forum-options you should have a new YES/NO-Option named 'Gallery'. This is the gallery-option. Set this to yes.

This should be all.

The effect you got sounds like, that you didn't set the Gallery-Option to yes. Did you also don't forget to run the needed query? Check your database, if there is a field called 'gallery' in your forum-table.

To be sure i will check the code for vB 3.5.0 Beta4 tonight.

looks good, i may dump my coppermine and use this instead.

Sovereign 08-01-2005 01:08 AM

YAY! Plugins r +3h pwnz0r. h@x0rz r +eh suck. (Plugins own, code hacks suck)

seangworld 08-01-2005 05:50 AM

Quote:

Originally Posted by jesus likes pie
hell yes!

[high]* jesus likes pie installs.[/high]

ok, i ran the query - done.
now, i got forumdisplay.php open and it cant find anything you said to FIND and REPLACE.

...... what's the deal?

StarBuG 08-01-2005 06:54 AM

Another good addition to your hack would be:

A separated rating system not using thread rating.
Make a click option from 1 to 10
then make a vote average calculation

This would go nicely with a "dia show"
If you choose a category a random image is shown and you can vote on it.
If you have voted the next random image is shown and you can vote on that
beside the next image the old image is shown as thumbnail with the avarage voting shown below

But this would be a major addition

It?s just an idea ;)

mooj 08-01-2005 10:14 AM

Harald_T,

regarding of this attractive idea :

Quote:

take an example (IPB):
http://www.lifejourney.com.sa/community/

its displaying the last 4 Thumbnails from ( forum # 143 ) which is for ( digital arts )
(AND )
displaying the last 4 Thumbnails from ( forum # 144 ) which is for ( Photography images )
But ..

the first row displays last 4 Thumbnails from cat #143 (under the cat itself )
and the other row doing tha same for another cat ..

you can use <IF conditon > in the tamplate to do this ..
some thing like this ..

-------------------------------------------
<IF condition="show forums">

forum content .. bla bla bla


<IF condition="forumID=XX, XX">
display the last 4 Thumbnails row
</IF>

</IF>
-------------------------------------------

;)

Sovereign 08-01-2005 02:15 PM

Thumbnails still don't work! I don't even get red Xs. http://www.civicowners.com/forum/forumdisplay.php?f=48

Harald_T 08-01-2005 04:17 PM

As far, as i could see, the gallery works (i registered and made an test-upload).
Did you installed Image Magick or GD?

If so, are you sure, you enabled the thumbs in the attachment-manager (in the AdminCP)?

Harald_T 08-01-2005 04:20 PM

Quote:

Originally Posted by seangworld
ok, i ran the query - done.
now, i got forumdisplay.php open and it cant find anything you said to FIND and REPLACE.

...... what's the deal?

Huh? Nothing? But it should be, unless Jelsoft would have released two different versions of RC1.

If it doesn't work, please contact me by mail.

Harald_T 08-01-2005 05:20 PM

Good News: Beside of ONE file-edit the rest of the gallery-system works now as a plug-in. It seems, i begin to understand, how the plugins works... :D

seangworld 08-01-2005 05:41 PM

email sent.

Sovereign 08-01-2005 05:49 PM

Still doesn't show up...*checks admin panel* GD is present, version 2+
Thumbs are enabled for all image types.

Harald_T 08-01-2005 06:05 PM

Numb question: Did you enable Thumbs in the image-options?

Sovereign 08-01-2005 06:42 PM

Yes...PNG thumbnail generation is off. Having it on/off had no effect on my issue.

Harald_T 08-01-2005 07:21 PM

Did you also checked under "Message Attachment Options" if Thumbnails are enabled?
And did you run Import & Maintenance -> Update Counters -> Rebuild Attachment Thumbnails?

seangworld 08-01-2005 08:21 PM

Quote:

Originally Posted by Harald_T
Did you also checked under "Message Attachment Options" if Thumbnails are enabled?
And did you run Import & Maintenance -> Update Counters -> Rebuild Attachment Thumbnails?

ok i noticed you changed the zip file, i redownloaded it and checked. i will try and reinstall later today. i'll reply again and click install if all goes well. thanks harald. :)

seangworld 08-02-2005 08:21 AM

Quote:

Originally Posted by seangworld
ok i noticed you changed the zip file, i redownloaded it and checked. i will try and reinstall later today. i'll reply again and click install if all goes well. thanks harald. :)

ok, it's still not working right for me. i went thru all the instructions, and looked thru all the replies here so far, nothing helped.

sigh.

take a look at my forum: http://www.seangworld.com/forums you'll see 'latest threads' at top (cuz im not german or whatever that lang was).

also, when i went to make the Gallery category, there were no 2 options just before the SAVE button.

let's begin with that and see what fixes you have up your sleeve, then we'll move on.... lol

Harald_T 08-02-2005 03:31 PM

Please notice

There is a major bug inside of the code, which is throwing the ordinary forums around. I'll fix this tonight, but a.t.m. i don't have the time for it, so please wait for the update tonight (german time).

I'm very sorry for this.

seangworld 08-02-2005 06:02 PM

Quote:

Originally Posted by Harald_T
Please notice

There is a major bug inside of the code, which is throwing the ordinary forums around. I'll fix this tonight, but a.t.m. i don't have the time for it, so please wait for the update tonight (german time).

I'm very sorry for this.

ok, and to add to it, i just noticed a new error when going from page to page...

Parse error: parse error, unexpected '<' in /home/www/seangworld/forums/forumdisplay.php(105) : eval()'d code on line 1

seangworld 08-02-2005 09:04 PM

hey, i just found out what i did wrong. i added the xml as a plugin, not a product. i didnt see the really tiny ass link underneath my list of products (which is just vbulletin). lol

ok, the 2 options are there now, so im checking against your instructions and trying again...

Harald_T 08-02-2005 09:12 PM

@Sean: Please wait, till i found the bug.

Or use the older instructions, they should work.

seangworld 08-02-2005 09:40 PM

Quote:

Originally Posted by Harald_T
@Sean: Please wait, till i found the bug.

Or use the older instructions, they should work.

i uninstalled it completely, let me know when it's bug free. i actually didnt like the fact that you can only upload one pic at a time anyway. for now, i'll stick with coppermine.

mooj 08-04-2005 03:49 PM

helo Harald_T,

i just installed the mod and faced a porb..

how can i define cat # 1 and 2 as a normal forum ?
i turn (Act as a gallery? ) to "NO" ..

But its still displaying the cat a gellary .. !!

My all forums changed to (gallery cat's) ??? :ermm:

Harald_T 08-04-2005 04:15 PM

Yup, i know, as i said before, there is a bug in this version. I'm busy on fixing it, and i'm very sorry for this.

As far as i can see now, it's a problem with the plugins, if the is build in the forumdisplay.php, then it's all working fine.

I'll hope i can fix it till the weekend.

mooj 08-04-2005 09:02 PM

Umm, do you have the old instractions so i can install it manully .. ??

:)

tinjon 08-05-2005 01:53 AM

questions.
1)can i disable viewing for guests? allow only members to view pictures?
2) what happens if a thread has multiple attachments? does it stop working or something?

thanks.

Harald_T 08-05-2005 07:07 PM

@mooj: I'll post the instructions at the weekend. At the moment i have not enough time to fix it right, so i decided to post the old instructions. It worked, so i think, it's the best solution.

@tinjon: Yes, you can disable view for guest. The gallery uses the same was as the forum does. The gallery is basicly nothing else than a part of the forum, which looks like a gallery.

vBintense 08-05-2005 07:39 PM

I just installed and it was messin up my norm forums so I looked and found an error.

In plugins forumdisplay_query the gallery hook is wrong it should be
Code:

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

if ($displaythumbs == true)
{
    $hook_query_fields .= ", attachment.attachmentid AS attachmentid";
    $hook_query_joins .= " LEFT JOIN " . TABLE_PREFIX . "attachment as attachment ON (attachment.postid = thread.firstpostid)";
}

Before it was
Code:

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

if ($displaythumbs=true)
{
    $hook_query_fields .= ", attachment.attachmentid AS attachmentid";
    $hook_query_joins .= " LEFT JOIN " . TABLE_PREFIX . "attachment as attachment ON (attachment.postid = thread.firstpostid)";
}

and it was messing up the forums, works fine with this fix.

mooj 08-06-2005 08:31 AM

insane-topics,

you are >>> :up:

its working fine ..

thanks man .. :)

Joe Gronlund 08-06-2005 03:22 PM

I am having a problem importing the plugin, it just wont upload properly, all my other plugins upload fine??

Anyone else have this problem?

I get invalid argument error???

Harald_T 08-07-2005 02:49 PM

@Insane: Yupp, that it was. Thanks, i didn't notice that '==' instead of '='.

The fixed version is now uploaded.

Harald_T 08-07-2005 03:06 PM

@Joe: Did you upload the included XML-File as an Product? Please do not import it as an plugin, cause it's a kind of package of plugins.

vBintense 08-07-2005 03:28 PM

Quote:

Originally Posted by Harald_T
@Insane: Yupp, that it was. Thanks, i didn't that '=' instead of '='.

The fixed version is now uploaded.

Welcome , and nice hack btw :)

Joe Gronlund 08-07-2005 03:28 PM

Quote:

Originally Posted by Harald_T
@Joe: Did you upload the included XML-File as an Product? Please do not import it as an plugin, cause it's a kind of package of plugins.

How do you go about uploading it as a product?

I just uploaded it directly as an XML file..

Thanks

Joe


All times are GMT. The time now is 05:49 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.02013 seconds
  • Memory Usage 1,825KB
  • 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_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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