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)

CybaGirl 11-27-2010 03:52 AM

Quote:

Originally Posted by Scalemotorcars (Post 2053473)
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>'
;



AWESOME!!!!

Thanks so much for posting the solution to this problem!

For my dark skin I switched where it says <font color="#333333"> in your fix to <font color="#FFFFFF"> which makes the words now show up as white instead of the grey colour in your fix.

One question though.

Is there a way to just edit the colours for only one template? If so how would this be done as in what file needs to be changed and what needs to be added where?

As this fix edits all templates.

So now if someone is using default skin the drop down menu is now displaying the links in white text.

I don't understand why the default code in this mod changes the text color for. When every other mod that is added to the nav bar on my dark skin does not do this.

Thanks.

thespi 11-29-2010 02:19 PM

Ok there is an issue (BUG) when there are over the amount of albums then the page selsction is not shown on the user albums. This only occurs if a user has over the amount of albums to display on one page:
The page selction shows here:
http://www.carpediem.im/albumall.php?
BUT NOT HERE:
http://www.carpediem.im/album.php?u=109

Is there a change or correction I can make to fix this.

HCGB 11-29-2010 03:12 PM

Quote:

Originally Posted by thespi (Post 2127165)
Ok there is an issue (BUG) when there are over the amount of albums then the page selsction is not shown on the user albums. This only occurs if a user has over the amount of albums to display on one page:
The page selction shows here:
http://www.carpediem.im/albumall.php?
BUT NOT HERE:
http://www.carpediem.im/album.php?u=109

Is there a change or correction I can make to fix this.

The first link shows albums for ALL users, the second link shows albums for only ONE user. The second link isn't part of this mod - it's the inbuilt vB album viewer - if it isn't working properly then report it as a bug on the vB site?

thespi 11-29-2010 10:39 PM

Quote:

Originally Posted by HCGB (Post 2127188)
The first link shows albums for ALL users, the second link shows albums for only ONE user. The second link isn't part of this mod - it's the inbuilt vB album viewer - if it isn't working properly then report it as a bug on the vB site?

OK will do, how about the NavBar tab is there away to truncate it within IE as its pushing the tabs that proceed it off & looks untidy.

P.S. I received this reply from vB support, The albumall.php file is not a vB file. & they do not support third-party add-ons ect ect... So somewhere in the php a
Code:

<vb:if (user)> = show <div class="floatcontainer" id="controls_above"><div id="pagination_top">{vb:raw $pagenav}</div>
is missing. Now I don't know anything about the code so that's just made up, if these issues are resolvable then it will be working fine.

fholbert 11-30-2010 01:06 PM

Just what I'm looking for! Any one installed this on 4.0.8? Any issues with 4.08?

thespi 12-01-2010 12:47 PM

Quote:

Originally Posted by fholbert (Post 2127534)
Just what I'm looking for! Any one installed this on 4.0.8? Any issues with 4.08?

If you have the tab on the nav bar it will stretch across until the end of the navbar. And users with over the amount of albums you display on one page will page nation doesn't start.

fholbert 12-01-2010 11:15 PM

Quote:

Originally Posted by thespi (Post 2127904)
If you have the tab on the nav bar it will stretch across until the end of the navbar. And users with over the amount of albums you display on one page will page nation doesn't start.

Thanks, I'll load it up!

Brandon Sheley 12-03-2010 03:16 PM

This product is not compatible with version 4.1.0 of vBulletin. (Compatible starting with 4.0.2 / Incompatible with 4.1 and greater)

:(

Alibass 12-03-2010 03:36 PM

I'm using it on my 4.1.0 PL1 board and it works great. Dont know what to tell you.

taxman 12-03-2010 04:34 PM

Quote:

Originally Posted by Alibass (Post 2128874)
I'm using it on my 4.1.0 PL1 board and it works great. Dont know what to tell you.

Did you have it already installed when you upgraded to 4.1.0 ?

Will not install for me,,, also states "incompatable"


All times are GMT. The time now is 08:04 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.01660 seconds
  • Memory Usage 1,768KB
  • 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_code_printable
  • (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
  • (2)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