vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Picture and Album Gallery (https://vborg.vbsupport.ru/showthread.php?t=237931)

Videx 06-14-2010 11:37 AM

Quote:

Originally Posted by HCGB (Post 2053320)
By default, vB doesn't allow guests to view album images - this behaviour is not changeable. This mod does allow guests to view album and picture thumbnails provided the permissions are set properly.

Negative. I just fired up Chrome (Not Logged In) and went to both Album or Picture Gallery and I can click the thumbnails and get pictures.

Webbstre 06-14-2010 11:46 AM

Quote:

Originally Posted by Videx (Post 2053403)
Negative. I just fired up Chrome (Not Logged In) and went to both Album or Picture Gallery and I can click the thumbnails and get pictures.

Ditto, I just tested this as well.

I have a request for this mod though. I would like the ability to Sticky certain albums to the top of the albums page, so that my users can know what albums are endorsed and maintained by the staff.

Scalemotorcars 06-14-2010 01:58 PM

For those using the Tab xml and your having problems seeing the links, try using this in your plugin. Copy and replace the entire code for the tab plugin and of course you can manually edit the font color values.

Im sure its not the best way but it works in FF, IE, Chrome and Avant browsers.

PHP Code:

// change $allowguests from 'true' to 'false' if you do NOT want guests to see the gallery menu

    
$allowguests true

/******** NO EDITS below here! ************/
/******************************************/

if ($show['member'] OR $allowguests)
{
    global 
$vbphrase$vbulletin$stylevar;

    
$sess $vbulletin->session->vars['sessionurl_q'];
        
$template_hook[navtab_end] .= '
        <li class="popupmenu">
            <a href="javascript://" class="popupctrl navtab">
                ' 
$vbphrase['gallery'] . '<img src="' vB_Template_Runtime::fetchStyleVar('imgdir_misc') . '/arrow.png" align="' vB_Template_Runtime::fetchStyleVar('right') . '" />
            </a>
            <ul class="popupbody popuphover" style="color:' 
vB_Template_Runtime::fetchStyleVar('navbar_tab_linkhover_color') . ';font:' vB_Template_Runtime::fetchStyleVar('navbar_tab_font') . '">
            <li></li>
                <li><a href="albumall.php?' 
$sess '"><font color="#333333">' $vbphrase['album_gallery'] . '</font></a></li>
                <li><a href="picall.php?' 
$sess '"><font color="#333333">' $vbphrase['picture_gallery'] . '</font></a></li>
                ' 
. ($show['member'] ? '
                <li><a href="album.php?' 
$sess '&do=latest"><font color="#333333">' $vbphrase['latest_albums'] . '</font></a></li>
                <li><a href="album.php?' 
$sess '&u=' $vbulletin->userinfo['userid'] . '"><font color="#333333">' $vbphrase['my_albums'] . '</font></a></li>
                <li><a href="album.php?' 
$sess '&do=addalbum"><font color="#333333">' $vbphrase['add_album'] . '</font></a></li>
                ' 
'') . '
            </ul>
        </li>'
;



fayax 06-14-2010 08:24 PM

This is an excellent mod but since I am no coder I will wait till an updated version with no major issues comes up. That way I dont run into the particular menu issues mentioned here.

Waiting...

Tagged.

uglyduck 06-16-2010 05:16 PM

Quote:

Originally Posted by HCGB (Post 2053320)
I hate to state the obvious but you did install the navbar/tab products didn't you (step 5 - check if it/they show in the plug in manager)?

If they show then the only reason why it wouldn't work is that the navbar template doesn't have the template hooks for the menu bar (i.e. it's a hacked template).

By default, vB doesn't allow guests to view album images - this behaviour is not changeable. This mod does allow guests to view album and picture thumbnails provided the permissions are set properly.


Thank you!! Yes, it was the obvious, lol.

fluentdesigns 06-17-2010 01:25 AM

Anyone know why after I run the rebuild thumbnails a bunch of album picture covers are now missing? The albums still work and so do the images in the albums but the covers are completely gone and all I get is the alt tag showing "picture"

ArchAngelz 06-21-2010 03:21 AM

Can I ask how I can :

(a) Change the default navtab name from "Gallery" to something else, say "Photo Gallery"

(b) Change the position of the navtab; I'm currently using the following to manage my tabs and this one results in it always going to the extreme right.

https://vborg.vbsupport.ru/showthread.php?t=233629

HCGB 06-21-2010 06:05 AM

Quote:

Originally Posted by ArchAngelz (Post 2056737)
Can I ask how I can :

(a) Change the default navtab name from "Gallery" to something else, say "Photo Gallery"

(b) Change the position of the navtab; I'm currently using the following to manage my tabs and this one results in it always going to the extreme right.

https://vborg.vbsupport.ru/showthread.php?t=233629

Just use Tabs Add to put the tab on the menu bar instead of importing the included tabs product - that way you can put it where you wish and call it whatever you want.

The phrases for this mod can be found in AdminCP>Languages and Phrase-> ... and search for "Gallery"

fluentdesigns 06-22-2010 12:25 AM

1 Attachment(s)
Quote:

Originally Posted by fluentdesigns (Post 2054793)
Anyone know why after I run the rebuild thumbnails a bunch of album picture covers are now missing? The albums still work and so do the images in the albums but the covers are completely gone and all I get is the alt tag showing "picture"

Still haven't got any help on this. Anyone that can jump in and give me some kind of solution? I have rebuilt thumbnails 3 times already. Tried switching album cover to another photo. Still nothing works. Getting frustrated :(

HCGB 06-22-2010 06:35 AM

Quote:

Originally Posted by fluentdesigns (Post 2057197)
Still haven't got any help on this. Anyone that can jump in and give me some kind of solution? I have rebuilt thumbnails 3 times already. Tried switching album cover to another photo. Still nothing works. Getting frustrated :(

It could be many things =- a few things to check are:

Can you view the album cover thumbnail as a picture thumbnail (in other words, does the picture thumbnail actually exist) - check in the picture gallery and in the users profile album gallery? I don't mean the full-size picture - just the thumbnail.

Check the HTML code for the page in the browser - what image URL is used? Check that it points to a valid file on your site. If their is no URL for the missing image then it means that the thumbnail file itself is missing.

Lastly, I would check the database if you are comfortable with doing this (extract the filedataid field from the album row for a missing image then use it to get the thumbnail_filesize from the filedata row. Te thumbnail_filesize value should be non-zero if the image has a thumbnail available.


All times are GMT. The time now is 07:47 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.03042 seconds
  • Memory Usage 1,771KB
  • 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
  • (6)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