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)

Tanya123 07-02-2006 08:24 PM

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

I did this and it worked out somewhat. Take a look at my homepage ... I see red x's. I searched this thread and came up with nothing. Help! It shows correctly on my forums page.

Harald_T 07-02-2006 10:12 PM

Red X: It's possible, that your attachment-settings are not right. Please check under the Attachment-Manager, if your vB creates Thumbsnails for your attachments. See the rest in my PM.

Gehanna 07-03-2006 01:10 PM

Hello Harald_T,

Would you still be willing to help me figure out how to correct the issue with the black space showing up with the thumbnail images? You made mention that it could possibly be corrected via. css tags or something like that.

Also, I just noticed that for some reason, the gallery submissions aren't showing up in member profiles.

Click here for what I mean: Gehanna's Profile


Gehanna

imported_magjr 07-03-2006 01:13 PM

Quote:

Originally Posted by Harald_T
Use your vbulletin-settings for this.

@all: i have three weeks holidays now, so i have a plenty more time to work on the gallery. So, expect more soon.

Does this mean you'll be able to reply to my pm that's been sitting in your inbox for two months now?

calgdsm 07-03-2006 02:03 PM

Harold,

1. THANK YOU!!

2. HELP!!!!

Everthing went pretty smooth so far untill i got the point where i needed to edit the template FORUMDISPLAY. In the install guide it says to edit this

$thread['hiddencount']++;
}

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

}


I cant find that ANYWHERE! Am i using the correct vb version? im not sure what to do. below is the closest i can find.

</if>
</tr>
</if>
<if condition="$show['threads']">
<!-- show threads -->
<if condition="$show['stickies']">
$threadbits_sticky
</if>
$threadbits
<!-- end show threads -->
<else />
<!-- show no threads message -->
<tr>
<td class="alt1" colspan="$foruminfo[bottomcolspan]" align="center">
<div style="padding: 16px">
<if condition="$show

calgdsm 07-03-2006 02:06 PM

I think i just solved it, It says open the FILE not template. sorry

calgdsm 07-03-2006 03:46 PM

Working!!

But still a few problems.

1. Some of the titles are in German! Can i fix this?

2. the link to the gallery is not working. the text is there but the link does not go to the gallery.

Other than that this kicks Ass!!! Great Job!

Can this handle video files aswell?

calgdsm 07-04-2006 02:44 AM

Bump! Fixed the nav link.

Is there anyway to make everything english i have like 0 german speaking vistors. (That i would like to change, If theres any German DSM Owners drop by the site)

Great Job BTW!!!!

Heres a good idea for an add on to this, how about make it possible to have a highest rated, most viewed ect option can you do this?? that would be great.

squall leonhart 07-04-2006 10:11 AM

I hv just downloaded vbgallery_123.zip and set up to my forum, do whole step in guide file.

1. It works well at Gallery Latest Pictures in the gallery: but the pic is too big, it's not auto resize to fit to home page.

2. It presents in forum is different with the introduce of this mod.

3. i try do do follow anything 3rd time but still can't make Category like intro

Could you please write the full guide agian for everybody, ths a lot

Charles_1 07-04-2006 03:16 PM

Hi Harald_T

At first I would like to thank you for your support for this hack. I installed it (version 1.23) yesterday, but it did'nt work completely so far :-(. I read whole this discussion, but without luck - no solution to my issues.

Look at: http://www.svethardware.cz/forum and click "Gallery" in the navbar. Just blank page.

I installed it correctly (last version) via Admincp -> Plugin System -> Manage Products -> Add/Import Product. Then I followed instructions provided by you at install_vbi_gallery_123.html file and done necessary editing of templates and php file, exactly as instructions said.

Then I created new category (named as Gallery), which has no Parent Forum and I set Display Order to 0 (so it's not visible). Option "Act as Forum" is set to "No". There are two forum settings relating to this hack: "Act as a gallery?" and "Gallery-Category?". In this case I set only "Gallery-Category?" to "Yes" (so "Act as gallery?" is set to "No"). ID of this category is 39 so I set this number at Admincp -> vBulletin Options -> Gallery -> Category-Id.

After this I created in this category (named Gallery) sub-forum named "Test", "Act as forum" is set to "Yes", "Act as Gallery?" is set to "Yes" and "Gallery-Category?" is set to "No". So far, so good.

But when I click on link in navbar (which points to this: http://www.svethardware.cz/forum/forumdisplay.php?f=39), that just only blank page appears, nothing else - just blank white page - end :-(

I also tried uninstall it and import XML file, which you attached to your post #960, but no effect to this.

Could you please look at my problem and help me find solution? I need gallery to improve functionality of our forum and I am stuck right now :-( I set permissions to "all yes" for "Gallery" also for unregistered users for testing purposes.


All times are GMT. The time now is 01:13 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.02397 seconds
  • Memory Usage 1,756KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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