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)

davidw 11-22-2005 01:05 AM

Quote:

Originally Posted by lexx27
Module Link: (I used this and put it directly to my gallery (same as the link for the navbar - remember your forum ID)
What exactly do you mean here. Because I see an X in my portal

I hope I've not confused you. :D

The Chief 11-22-2005 02:56 AM

ok, I have installed this product and everything works fine, but there is one problem. When its a guest that views the forum, he sees a red x for the latest gallery entries, is there a way to make them see something else, like another image??

Harald_T 11-22-2005 08:16 AM

Look around at page 20, i think. I've posted a solution before.

lexx27 11-22-2005 09:48 AM

Quote:

Originally Posted by christianb
I hope I've not confused you. :D

No, not at all. I did it and the only problem I am having is that the pictures dont show up because their link doent point at my forums.
Note that the gallery is installed inside the forums directory.
How can I change that in Cmps. I saw that in your forums are installed in the parent directory.

lexx27 11-22-2005 10:16 AM

Sorry for me posting all the time...
I found the solution to my problem. Now the thing that I want to do, is to change the random pictures from horizontal to vertical view. :)

davidw 11-22-2005 10:37 AM

One thing to note, is that I could not change my FORUMHOME template as I do not have a set $navbar as does the default. My style has a multiple line reference to the navbar. However, that's where I got the code for the cmps. I am unsure at the moment on a vertical view, except maybe put in some code to change the variable that references the one in the admincp and then do a for each (or something) loop with a <br> command at the end before the function loops. Then display the results.

One possibilty is to set the amount in admincp to 1, then just copy the rand code x amount of times - whatever you feel like.

For example..

PHP Code:

<center>
<
td class="thead" height="150" width="320" align="center">
<
a  HREF="attachment.php?attachmentid=$rand_gallery[attachmentid]">
<
img src="attachment.php?attachmentid=$rand_gallery[attachmentid]&stc=1&thumb=1" border=0 align="center"></a>
</
td>
</
tr>
<
tr>
<
td  valign="center" align="center" width="320" height="40">
<
br  />
<
a  href="showthread.php?t=$rand_gallery[threadid]">
$rand_gallery[title]
</
a><br>
<
td class="thead" height="150" width="320" align="center">
 <
a  HREF="attachment.php?attachmentid=$rand_gallery[attachmentid]">
<
img src="attachment.php?attachmentid=$rand_gallery[attachmentid]&stc=1&thumb=1" border=0 align="center"></a>
 </
td>
 </
tr>
 <
tr>
 <
td  valign="center" align="center" width="320" height="40">
 <
br  />
 <
a  href="showthread.php?t=$rand_gallery[threadid]">
 
$rand_gallery[title]
 </
a><br>
<
td class="thead" height="150" width="320" align="center">
 <
a  HREF="attachment.php?attachmentid=$rand_gallery[attachmentid]">
<
img src="attachment.php?attachmentid=$rand_gallery[attachmentid]&stc=1&thumb=1" border=0 align="center"></a>
 </
td>
 </
tr>
 <
tr>
 <
td  valign="center" align="center" width="320" height="40">
 <
br  />
 <
a  href="showthread.php?t=$rand_gallery[threadid]">
 
$rand_gallery[title]
 </
a><br>
<
td class="thead" height="150" width="320" align="center">
 <
a  HREF="attachment.php?attachmentid=$rand_gallery[attachmentid]">
<
img src="attachment.php?attachmentid=$rand_gallery[attachmentid]&stc=1&thumb=1" border=0 align="center"></a>
 </
td>
 </
tr>
 <
tr>
 <
td  valign="center" align="center" width="320" height="40">
 <
br  />
 <
a  href="showthread.php?t=$rand_gallery[threadid]">
 
$rand_gallery[title]
 </
a><br>
</
center

I've not tested this, so I have no clue if it will work or not.

Harald_T 11-22-2005 11:12 AM

Sorry, but this won't work in the desired way, as the code isn't evaluated in the template.

I'm working on it.

lexx27 11-22-2005 11:34 AM

Thank you christianb, I used your code and Achieved the vertical view with some editing for 4 pictures...but they are the same lol.

admin0 11-22-2005 11:47 AM

is this the next best thing after the vba gallery ?

lexx27 11-22-2005 11:54 AM

For me yes! Even better cause its free


All times are GMT. The time now is 03:53 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.02657 seconds
  • Memory Usage 1,769KB
  • 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
  • (3)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