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"

Alibass 12-03-2010 05:22 PM

Quote:

Originally Posted by taxman (Post 2128891)
Did you have it already installed when you upgraded to 4.1.0 ?

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

Yes I updated from 4.0.8.

Have you tried editing the product xml file and changing the maxversion to 4.2 and see if it will install?

taxman 12-03-2010 10:18 PM

Chrs buddy.. it was set at 4.1

As you said, set it at 4.2 and it works fine... Thanks a lot.

aquabid 12-04-2010 10:18 AM

Is it possible to have the albums sorted by username versus last update?

Alibass 12-05-2010 02:51 PM

Working good on 4.1.0 PL2 :)

But when guests click on thumbnails they can view the full pic. Is there a fix for this?
Looked threw posts and did not see anything or possibly overlooked it. Any help would be greatly appreciated.

ehsanix 12-07-2010 01:33 AM

how can tag for images in galley?

indyonline 12-09-2010 12:16 AM

nice mod. works great! Thank you for this.
I have added it successfully and it shows in my menu bar not tab but it only shows on the forum page in VB publisher suite. How can I make it display on the CMS home page and blog pages navigation too?
Thanks.

mkv 12-10-2010 12:59 PM

Nice mod, really like it! Good job.

However I have a question. I find this "issue" a bit annoying.

When our users upload pictures into their albums our moderators need to moderate them.
If the user recently created the album and uploaded for example 10 pictures in it it doesnt get a "cover" automaticly. This results in that the album doesnt show in "albumall" or "latest album".

Anyone have an idea what I can do?

/M

Davey-UK 12-11-2010 04:06 PM

Not compatible with VB 4.1 unfortunately.

I get the following error on import
Code:

The following dependencies were not met:

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


TalkVirginia 12-12-2010 04:11 AM

Quote:

Originally Posted by Davey-UK (Post 2132448)
Not compatible with VB 4.1 unfortunately.

I get the following error on import
Code:

The following dependencies were not met:

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


I'm getting this too.

Alibass 12-12-2010 04:32 AM

Quote:

Originally Posted by TalkVirginia (Post 2132697)
I'm getting this too.

Read my post 371 and the one right under it.

SBKTR 12-12-2010 07:51 PM

It didn't work me either until I changed the version number.. like Alibass says in his post, it now works and I'm running 4.1.0

ceho 12-13-2010 07:52 PM

Installation under vB 4.1. PL2 no prob, looks like it's working very well.

I installed it into the navbar, however I cannot edit the navbar template to move the menu "Gallery" to another position, it's not in this template. Any advice how to put that to another position, let's say right behind Calendar and before Community?

Thanks a lot!

ceho 12-13-2010 07:54 PM

Never mind, sorry. I found the template_hook in the plugin. Thanks!

dr.t 12-17-2010 09:56 AM

excellent mod thanks alot really helpful works great on 4.1.0 and its MOTM imo ,like Alibass says in his post i changed the maxversion to 4.2 it works perfect thanks for sharing this .

mkv 12-17-2010 10:10 AM

Quote:

Originally Posted by mkv (Post 2131871)
Nice mod, really like it! Good job.

However I have a question. I find this "issue" a bit annoying.

When our users upload pictures into their albums our moderators need to moderate them.
If the user recently created the album and uploaded for example 10 pictures in it it doesnt get a "cover" automaticly. This results in that the album doesnt show in "albumall" or "latest album".

Anyone have an idea what I can do?

/M

No one?

StonePilot 12-27-2010 06:12 PM

Quote:

Originally Posted by mkv (Post 2135299)
No one?


I have this same issue. There are some albums that do not get an album cover assigned automatically. Not sure the reason, it just says "PICTURE" with no image.

Otherwise, awesome mod! MOTM!

NNJJ 12-30-2010 01:26 PM

installed good working on 4.1 problem is with style of submenu no shown well

HCGB 12-30-2010 02:09 PM

Quote:

Originally Posted by StonePilot (Post 2139717)
I have this same issue. There are some albums that do not get an album cover assigned automatically. Not sure the reason, it just says "PICTURE" with no image.


Album cover pics are created by the vB base code - not by this mod (the mod just shows whatever cover pic was allocated to the album). I would suggest you report the issue to Vbulletin as a bug if you can reliably replicate it?

ceho 12-30-2010 05:21 PM

Maybe this here might help you: http://www.vbulletin.com/forum/showt...updated+albums

Worked well for me ;-).

jeffinj 12-30-2010 08:26 PM

Quote:

Originally Posted by taxman (Post 2128891)
Did you have it already installed when you upgraded to 4.1.0 ?

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

same here.

Mobo 12-31-2010 01:20 AM

I am not using the default vB Tab system, can anyone tell me if I still need to do this step:

Code:

Once the gallery import is complete, click "Add/Import Product" again and select EITHER product_gallery_navtab-xxx.xml OR product_gallery_navbar-xxx.xml depending on where you want the gallery menu to appear (navbar or navtab).
If I don't, can I manually create my own tab and link to the output page (what is that by the way?). One last question, if I do not use the nav Tab this creates, will the search function still work?

sweetpotato 12-31-2010 04:13 PM

Just installed, love it. Thank you,

ehsanix 01-03-2011 07:54 AM

Hi
How can I
Fixed a gallery with categories that have management is characterized
And users can not upload pictures in the gallery are separate?
Each user in the category manager has already created to upload photos

MikeWarner 01-03-2011 09:41 AM

I would love this hack if you could add tags pre-defined by admin when uploading. Then a category listing will pull in photos with each tag.

i.e. on a car site, a Porsche or Nissan etc tag would be used to tag images when uploaded. Then a corresponding Porsche or Nissan etc category would simply pull in these photos. The category listing could simply look like a forum category listing.

This addition would make it much more like a proper gallery, and I'm sure a lot of people would be ditching photpost.

ricker 01-03-2011 06:36 PM

waiting for 4.1 support! :)

Alibass 01-03-2011 06:58 PM

Quote:

Originally Posted by Mobo (Post 2141625)
I am not using the default vB Tab system, can anyone tell me if I still need to do this step:

Code:

Once the gallery import is complete, click "Add/Import Product" again and select EITHER product_gallery_navtab-xxx.xml OR product_gallery_navbar-xxx.xml depending on where you want the gallery menu to appear (navbar or navtab).
If I don't, can I manually create my own tab and link to the output page (what is that by the way?). One last question, if I do not use the nav Tab this creates, will the search function still work?

I'm running Tab and Link Manager and I installed per directions. I also used the navtab and it works fine.

Alibass 01-03-2011 07:00 PM

Quote:

Originally Posted by ricker (Post 2143481)
waiting for 4.1 support! :)

It works fine on 4.1.0 PL2, mate.

blankpage 01-05-2011 09:57 AM

please..upgrade to 4.1.x :(

Kolbi 01-05-2011 10:03 AM

^^ read Alibass's ++++ing post!

It's working!

joanne8621 01-05-2011 02:50 PM

Just tried installing this on vB 4.1.0 PL2 and got message -

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


All times are GMT. The time now is 09:10 AM.

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.01731 seconds
  • Memory Usage 1,853KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_php_printable
  • (15)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