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)

Allan 07-19-2006 07:07 PM

Hey Harald :)

How are you ?

Your hack work with vB 3.6 RC2 ?
Upgrade soon ?

egyptsons 07-19-2006 07:58 PM

ok it's good

m3site 07-21-2006 12:09 AM

Show thread is comes up blank.

http://www.nextelusers.net/showthread.php?t=6779

do you know why or is this normal?

Harald_T 07-22-2006 08:43 AM

Quote:

Originally Posted by Allan
Hey Harald :)

How are you ?

Your hack work with vB 3.6 RC2 ?
Upgrade soon ?

Besides the hot temperatures i'm fine.:confused: :D

My hack does'nt work with vB 3.6 RC2 without changing the file-edit a bit.

I will support 3.6 as soon as it is GOLD, so i think it won't take long.

jstep 07-22-2006 02:22 PM

How do we need to change the file-edit? or are you unsure as of right now

Nice hack, Your help is appreciated

Harald_T 07-22-2006 02:25 PM

I made it already on my RC2, it wasn't to hard. But i won't post it before GOLD, because i will be sure, nothings changing anymore. So, just wait till GOLD.

Mr. Brian 07-22-2006 03:08 PM

Quote:

Originally Posted by Allan
Hey Harald :)

How are you ?

Your hack work with vB 3.6 RC2 ?
Upgrade soon ?

Don't think it work on 3.6 RC

tgralex 07-22-2006 11:59 PM

Installation was a piece of cake! Well done!
The only question I have is how to load images so they show up correctly?
when I press on "Gallery" link in menu it brings me to the list of threads created in the gallery and I think it should be showing a small picture on there...

I tried adding images as attachment, as image using [IMG]-tag - the same result...
I guess that is the reason when I lookup for a member who submitted a picture in the gallery it doesn't show in the bottom...

I feel I am a step away from using a great addin :)

Please help.

Harald_T 07-23-2006 02:22 PM

Use attachments for the gallery, not [IMG]-Tags.

@Mr. Brian: Why don't you think so?

Mr. Brian 07-23-2006 02:31 PM

Quote:

Originally Posted by Harald_T
Use attachments for the gallery, not [IMG]-Tags.

@Mr. Brian: Why don't you think so?

Course I'm running RC 2

Harald_T 07-23-2006 02:32 PM

I bet you didn't found the code for the file-edit?

As i said before: I'll release it when GOLD is out.

Mr. Brian 07-23-2006 02:55 PM

No. I know where the code is but as what I said it just won't work.

Harald_T 07-23-2006 03:11 PM

I'll check this tonight.

Tork64 07-24-2006 04:37 AM

Okay, I tried installing this on VB 3.6 RC2, just to try it out, if it worked i would have left it but if it didnt i would have uninstalled it. Anyways, everything worked fine, however the drop down for search did not work, nothing in the navbar that had a drop down menu would go down, you would click on it and nothing would fall. Did I install it wrong or should I just wait for a working rls for VB 3.6 ? Thanks

MRs2 07-25-2006 01:14 AM

I tried to install it, but I think I'm missing something.
The zip just gives me a few buttons (gif's instead of jpg), the xml and one page of installation guide.

The installation guide doesn't say anything about creating a template, nor the necessary name, nor any code to put in there.

Some posts further I see that the template is supposed to be called threadbit_gallery instead of template_gallery, so now I have two clue's that are never mentioned before:

1 I need to create a template
2 it's name is to be threadbit_gallery

That second post also tells me to create a new phrase in "Forum_related". I'm not exactly sure what you mean by forum_related. Perhaps I will know what you mean if you say that in German, then I can find it in my English version.


I have 3.5.4, and just like Grendel had before: all I have is an extra forum.
I can't even switch it off, because the switch doesn't work.
My database is correct though: fields gallery and gallery_cat are there, and properly showing the 1's and 0's at the right records.

I hope you can help me!



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.



Quote:

Originally Posted by Harald_T
O.k., i've attached the new version of the hack.

Also, i've found an type-error in the original-text:

The new template to create isn't of course called "template_gallery" but "threadbit_gallery". Sorry for the typo.

And second: You have to add a new phrase.

Place it in forum-related and call it Gallery.

The text for the phrase could be: "Use as gallery?"


dodjer42 07-25-2006 02:06 AM

Quote:

Originally Posted by Harald_T
@Dodjer42: You mean, if you post a new picture, or reply to a post, that you've got this "forum_new.gif" which indicates that the forum contains new posts? If you mean this, yes.

Harald, I am looking to replace photopost on my production box. Where abouts in the XML file does it do the 'Last Post' update for forum_new.gif and the last post details?

Thanks for this awesome hack!

dubsbhoy 07-26-2006 08:34 PM

will this work on 3.5.1

Harald_T 07-27-2006 03:23 PM

@Dubsbhoy: Yes, of course, it works with 3.5.1 also.

camdude 07-28-2006 12:08 PM

I installed this gallery and it works great. But when guests come to the site the images are broken, displayed with an X. When you login you can see the pictures. What parameter am I missing here ?

I have been reading the thread, couldnt find anything. But the thread is sooo long i might have overlooked the solution

Blindchild02 07-28-2006 04:08 PM

Any way to make a watermark for uploaded images?

MRs2 07-28-2006 07:08 PM

Harald, could you help me please?

I found I need to add a new template called threadbit_gallery
What is supposed to be in threadbit_gallery?

I'm running 3.5.4

Harald_T 07-29-2006 12:01 PM

You don't need to do such a template. All templates used by the hack are installed by the XML-File. You all find it under the gallery-templates.

Blindchild02 07-29-2006 04:15 PM

Quote:

Originally Posted by Blindchild02
Any way to make a watermark for uploaded images?

hmm hmm??

mikeylikesitz 07-30-2006 11:07 PM

so this will be updated for 3.6 when it goes gold?

DrewM 07-31-2006 12:10 PM

yeah.

karavarus 08-02-2006 01:05 AM

I got stuck here..

Editing the PHP-File "forumdisplay.php":

Where do I find the PHP-File "forumdisplay.php" ????

PLEASE HELP!

DrewM 08-02-2006 10:51 AM

it's in the main directery in yoyr forum.

imported_magjr 08-03-2006 08:19 PM

Quote:

Originally Posted by mikeylikesitz
so this will be updated for 3.6 when it goes gold?

My fingers are crossed!

adiboy.net 08-04-2006 05:19 AM

Hi can someone help me...

I got this instead:
http://kallangroar.com/forumdisplay.php?f=28

And the thumbnail it the homepage are not working:
http://kallangroar.com/index.php

Ticinofelino 08-06-2006 08:35 AM

I'm sorry I tried everything but I really don't understand what I've done wrong! Can anyone tell me why my "gallery" behaves like a normal forum.
I created the category - to behave like a gallery category
then the forum - to behave like a gallery
I see the upload button but it works like a "new post" button.
I put the id of the category for the navbar, I said yes to use other layouts...
I don't know what else I should do...
Here's the link to the site I'm building:
http://www.ticinofelino.com

Thanks for your help... :surprised:


Edit: it works now thanks!

click install

StevanMD 08-06-2006 05:55 PM

@ wezoo

Tell me please, did you use vBAdvanced CMPS to load Google ads on your page?

Thanks

StevanMD 08-06-2006 06:00 PM

Quote:

Originally Posted by Ticinofelino
I'm sorry I tried everything but I really don't understand what I've done wrong! Can anyone tell me why my "gallery" behaves like a normal forum.
I created the category - to behave like a gallery category
then the forum - to behave like a gallery
I see the upload button but it works like a "new post" button.
I put the id of the category for the navbar, I said yes to use other layouts...
I don't know what else I should do...
Here's the link to the site I'm building:
http://www.ticinofelino.com

Thanks for your help... :surprised:


Edit: it works now thanks!

click install


Can you please tell me what changes you made to integrate the Gallery on the main page of VBAdvanced?

Thanks

Ticinofelino 08-06-2006 06:14 PM

Quote:

Originally Posted by StevanMD
Can you please tell me what changes you made to integrate the Gallery on the main page of VBAdvanced?

Thanks


It's very easy, I followed the instructions from Christianb that he posted some time ago, I quote them here for you.
Now, I would like to eliminate the title upon the pics (Album foto) but I still haven't discoverd how... ;)



Quote:

Originally Posted by christianb
No problem

What I did was went to the VBA CMPS => Add module => Module Type [Template]

Module Title - Gallery (Or whatever you want)
Column [Center Column]
Display Order 20 (whatever you want here)
Active Yes
Template to Include: adv_portal_gallery
Template Content:

PHP Code:

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

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

Use Module Shell Template - Yes
Module Link: (I used this and put it directly to my gallery (same as the link for the navbar - remember your forum ID)

Permissions are up to you - I disallow unregistered and banned users to save bandwidth


StevanMD 08-06-2006 06:23 PM

Simple as that. Thanks.
It still doesn't show up the actual thumbnails there though (it does when I include the Gallery on the Forum main page), but I guess I will working around that.

In the process I'll see where to change the title you need and let you know.

StevanMD 08-06-2006 10:36 PM

Quote:

Originally Posted by Ticinofelino

Now, I would like to eliminate the title upon the pics (Album foto) but I still haven't discoverd how... ;)

Now, from what I've seen (btw, I've spent the last two hours going through every bit of everything - beyond just Gallery thing - to see why the pop up shows for each picture the page loads, and in the end none load at all, and just as I was about to reinstall everything (as if that would bring real change), I figured I should check the server settings, and lo and behold, all image folders were locked by default. Awesome hosting providers these days, awesome).

As for your problem, just change the Module Title

What I did was went to the VBA CMPS => Add module => Module Type [Template]
Module Title - Gallery (Or whatever you want)
Column [Center Column]
Display Order 20 (whatever you want here)
Active Yes
Template to Include: adv_portal_gallery
Template Content:

Ticinofelino 08-07-2006 09:52 AM

Thanks a lot Stevan but what I meant, was to ELIMINATE that blue line with the title... I'll find a solution sooner or later :)

StevanMD 08-07-2006 10:31 AM

Quote:

Originally Posted by Ticinofelino
Thanks a lot Stevan but what I meant, was to ELIMINATE that blue line with the title... I'll find a solution sooner or later :)

I think you need to use this code:

Code:

<if condition="$vboptions['show_latest']==1">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="99%">
<tr>
<td class="tcat" colspan=$gal_num_rows>
Galerie
<div class="smallfont">Latest Pictures in the gallery:</div>
</td>
</tr>
<tr>
$latestgallery
</tr>
</table>
<br />
<br />
</if>

<if condition="$vboptions['show_random']==1">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="99%">
<tr>
<td class="tcat" colspan=$gal_num_rows>
Gallery
<div class="smallfont">Latest Pictures in the gallery:</div>
</td>
</tr>
<tr>
$random_gallery
</tr>
</table>
<br />
<br />
</if>
<!--Gallery-Addition-->

instead of this:

Code:

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

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

when creating the Gallery module. The longer one defines the class of the td element (that definition for class tcat in this case, holds the properties of the layout of all those blue lines across modules).

So you need to change its from
Code:

class="tcat"
to say
Code:

class="tcatgallery"
and from there on create the tcatgallery in css and define its properties (if you want background completely gone, delete all mention of the background, but then it will be transparent and will have the table background as its own, or define any new bacground - either color or gradient picture for example).

I am not sure where to find the css definition of tcat, but I believe if you search for tcat in AdminCP> Styles & Templates > Search in Templates, you should locate it.

Ignicoccus 08-14-2006 01:30 PM

Hi there,

I tried to install this MOD and everything went fine. Only this part here :

PHP Code:

2. Find:
$thread['hiddencount']++;

}

eval(
'$threadbit .= "' fetch_template('threadbit') . '";');



looks different for me. My forumdisplay.php looks like this :

PHP Code:

$thread['hiddencount']++;
                }
                
$show['moderated'] = ($thread['hiddencount'] > AND can_moderate($forumid'canmoderateposts')) ? true false;
                
$show['deletedthread'] = ($thread['deletedcount'] > AND $canseedelnotice) ? true false;
        
                }
                eval(
'$threadbit .= "' fetch_template('threadbit') . '";');
            
        } 

So I changed it to :
PHP Code:

$thread['hiddencount']++;
                }
                
$show['moderated'] = ($thread['hiddencount'] > AND can_moderate($forumid'canmoderateposts')) ? true false;
                
$show['deletedthread'] = ($thread['deletedcount'] > AND $canseedelnotice) ? true false;
        
//############################Gallery-Modification###########################
                
if ($gallery == true)
                    {
                    eval(
'$threadbit .= "' fetch_template('gallery_threadbit') . '";');
                    }
                else
                    {
                    eval(
'$threadbit .= "' fetch_template('threadbit') . '";');
                    }
                
//############################End Gallery-Modification########################
                
}
//                eval('$threadbit .= "' . fetch_template('threadbit') . '";');
            
        


The Gallery appears in my forum, the link in the nav bar works like it should but when I try to post a picture, I only see the standard comment field, like in a normal forum.

Any Idea ? BTW: I am running vB 3.6

Harald_T 08-14-2006 05:13 PM

This is because you're running vb 3.6 This hack isn't released yet for 3.6. It will follow the next days.

Ignicoccus 08-14-2006 05:18 PM

Thanks for your quick reply !


All times are GMT. The time now is 02:23 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.03064 seconds
  • Memory Usage 1,868KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_php_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