vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Social Group and Album Enhancements - All Albums (https://vborg.vbsupport.ru/showthread.php?t=172215)

Marvin Hlavac 05-10-2008 12:33 AM

This may be beyond the intended scope of the add-on, but I'll ask anyway.

I'm looking for a function that would automatically add a link to the member's album in each of the member's posting, if the member does have an album. The link should be placed in a post, somewhere near member's name, or near his/her post count.

Would it be possible to add such functionality, or does anyone know an add-on that enables such functionality?

Thanks.

Henkou 05-10-2008 01:07 PM

thanks for good job, marked as installed

Fred. 05-10-2008 02:35 PM

Is it possible to view all albums as guest?

i try to acces all albums as a guest, but i get the login screen.

GTRyan 05-10-2008 03:30 PM

Great hack, does this limit the amount of galleries shown on a page anywhere?

Abe1 05-11-2008 02:19 AM

Quote:

Originally Posted by Fred. (Post 1514972)
Is it possible to view all albums as guest?

i try to acces all albums as a guest, but i get the login screen.

It all depends on permission. They have to be able to view albums and they have to be able to view other albums and other albums have to let them view albums.

SuperGLS 05-11-2008 02:40 AM

Very good. Installed.

kennn 05-11-2008 07:55 AM

Quote:

Originally Posted by droid101 (Post 1512615)
CMPS Portal Navbar link doesn't work, even when adding all_albums.php to the navbar replacement list in the vbAdvanced settings.

Am I missing something?

I'm having this same problem. Both the All Albums link on the main navbar and the All Albums link on the Quick Links menu are pointing to www.domain.com/all_albums.php instead of www.domain.com/forums/all_albums.php. Like the above poster, I've tried add all_albums.php to the navbar replacement list but no go.

Short of a fix, is there some place I can hard code this?

Thanks! Love this mod!

Allan 05-11-2008 08:24 AM

1 Attachment(s)
French language (add description in product) ;)

Translator: Allan

pewa 05-11-2008 02:23 PM

Great add-on!

I tried to add the "all_albums.php" as a PHP Page in vB CMPS but the page ends up showing nothing.. any idea?

kennn 05-11-2008 04:25 PM

I ended up adding a redirect to my .htaccess file and that does the trick for now until a fix comes along.

Code:

Redirect /all_albums.php http://www.domain.com/forums/all_albums.php

Fred. 05-11-2008 08:56 PM

Quote:

Originally Posted by Abe1 (Post 1515502)
It all depends on permission. They have to be able to view albums and they have to be able to view other albums and other albums have to let them view albums.

Thanks
Finally i found it.

For all other users that want to show albums to guests
You have to set

General Permissions --> Can View Member Info
to YES
and User Album Permissions --> Can View Albums
to YES

:)

xorex 05-13-2008 03:49 PM

1 Attachment(s)
Great hack !!

russian translate attachment

installed

abe1 update first post please

pewa 05-13-2008 05:31 PM

1 Attachment(s)
This works great!

One problem, like I said earlier.. when I try to add a PHP Page in VbAdvanced CMPS I end upp getting this:

goddess_dix 05-13-2008 05:41 PM

Quote:

Originally Posted by Marvin Hlavac (Post 1514425)
I'm looking for a function that would automatically add a link to the member's album in each of the member's posting, if the member does have an album. The link should be placed in a post, somewhere near member's name, or near his/her post count.

But members can have multiple ablums and it looks like it calls albums by id, not by user, so you'd need a query in order to call all albums by a user, and then you'd have to figure out what to display for it - how to pick which album to link.

you might be able to dig in the code for this mod and the page that displays it to reverse engineer it so it pulls all albums from the poster, if you felt strongly about that functionality.

Marvin Hlavac 05-13-2008 06:22 PM

Most members of my forum will never have albums. Those who do, however, I would like to somehow make it known (in each of their post) that this particular member has album(s). There could be a small picture/link if the member has album(s).

It may/or may not be possible to do :-(

NeverBored 05-13-2008 08:20 PM

Quote:

Originally Posted by goddess_dix (Post 1518520)
But members can have multiple ablums and it looks like it calls albums by id, not by user, so you'd need a query in order to call all albums by a user, and then you'd have to figure out what to display for it - how to pick which album to link.

you might be able to dig in the code for this mod and the page that displays it to reverse engineer it so it pulls all albums from the poster, if you felt strongly about that functionality.

album.php?u=USERID lists a users albums

There may be a if conditional to display a link in postbit. I don't know off the top of my head. Quick fix would be just include the link for all users. Wouldn't hurt anything, and could possibly in a way encourage people to upload to their albums.

Howell 05-13-2008 09:24 PM

Maybe use this?

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

bryanb 05-15-2008 11:26 AM

I'm still having a problem with banned member's albums still showing.

In my forum, banned members are not allowed to have albums.

In a banned user's member profile - the albums are not viewable except for admin/moderators. No one else can view them. But in the "forums/all_albums.php file", they are viewable by everyone under the sun. How can I have this corrected?

I've uninstalled and reinstalled the newest version 2.3 - running on the latest 3.7 vbull, and it's still showing banned members - and any member not allowed to have an album. Please help!

Marvin Hlavac 05-15-2008 12:45 PM

Quote:

Originally Posted by Howell (Post 1518777)


Thanks for the link. Unfortunately, the problem with that implementation is that it creates a link to albums for everyone - even for those who have no albums at all.

Nevertheless, I did subscribe to the thread, hoping a solution will be discovered.

fLoCkE 05-15-2008 01:40 PM

Thank you!

lazytown 05-15-2008 08:59 PM

Awesome mod - Thanks!!!

-vissa

DDIG 05-17-2008 09:48 AM

Whould this not be better? I use vbGallery, which re-uses the navbar template. Only the relative path then becomes ./gallery/all_albums.php which is incorrect off course.

To fix this I added the $vbpoptions[bbdir] before all_albums.php in template album_all_navbar_link

Code:

<td class="vbmenu_control"><a href="$vbpoptions[bbdir]/all_albums.php$session[sessionurl_q]">$vbphrase[all_albums]</a></td>
The all_albums.php should not be in / but in /forums if you have vBulletin installed in /forums.

I also use vbPortal which onfortunately cannot use the template hook. So in order to have it work for vbPortal as well, I added the code below to vbp_navbar template:

Code:

                        <tr><td class="vbmenu_option"><a href="$vbpoptions[bbdir]/all_albums.php">$vbphrase[all_albums]</a></td></tr>
just below this code:

Code:

                        <tr><td class="vbmenu_option"><a href="$vbpoptions[bbdir]/album.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[pictures_and_albums]</a></td></tr>
                </if>

This way it works in vbportal and vbgallery as well. Hope this can be of help

thc 05-17-2008 07:43 PM

Quote:

Originally Posted by Allan (Post 1515720)
French language (add description in product) ;)

Translator: Allan

merci abe1 et allan

Trooper247 05-18-2008 08:20 PM

Installed. Thanks a lot

Silvio 05-19-2008 11:31 AM

ty sir, great hack! *installed

How is possible to remove all album link on navbar depending on usergroup privileges?
I mean example : guest can't see link wile registered users yes.

ty for help

PGAmerica 05-19-2008 10:51 PM

This works beautifully. However, how do I make it so "private albums" do not show. Can this be an ACP option?

It seems that 3 other people want this as well.

edenx 05-19-2008 11:47 PM

Should add an option to sort albums depending on LAST POST or LAST COMMENT

bryanb 05-20-2008 07:44 AM

Quote:

Originally Posted by bryanb (Post 1520359)
I'm still having a problem with banned member's albums still showing.

In my forum, banned members are not allowed to have albums.

In a banned user's member profile - the albums are not viewable except for admin/moderators. No one else can view them. But in the "forums/all_albums.php file", they are viewable by everyone under the sun. How can I have this corrected?

I've uninstalled and reinstalled the newest version 2.3 - running on the latest 3.7 vbull, and it's still showing banned members - and any member not allowed to have an album. Please help!

Has anyone had a chance to look into this? Isn't anyone else having this problem, or is it me? :D

VB-STYLE 05-20-2008 07:23 PM

Quote:

Originally Posted by VB-STYLE (Post 1510130)
Thank you so much

Can you add new option to show in the top or down of all album page the
most 4 or 5 albums viewes?

...
:o

Smiry Kin's 05-21-2008 12:57 AM

Doesnt look too bad,

Live Preview

http://www.xentoo.com/albums/

xyzmary2001 05-21-2008 01:51 PM

Quote:

Originally Posted by DDIG (Post 1522440)
Whould this not be better? I use vbGallery, which re-uses the navbar template. Only the relative path then becomes ./gallery/all_albums.php which is incorrect off course.
The all_albums.php should not be in / but in /forums if you have vBulletin installed in /forums.

I also use vbPortal which onfortunately cannot use the template hook. So in order to have it work for vbPortal as well, I added the code below to vbp_navbar template:

This way it works in vbportal and vbgallery as well. Hope this can be of help

jkoyybvio

DDIG 05-21-2008 02:22 PM

Quote:

I am a very beginner and I do have this "small" problem with the navbar. Still, I do not have any idea where to find the vbp_navbar and what exactly to do. Please, explain to me... I am sorry to be a nuisance, but...
vbp_navbar is a vbPortal template, if you don't have vbPortal CMS installed you can ignore this. If you do have vbPortal the change is needed in order to add the all_albums link to vbPortal navbar as well.

The $vbpoptions[bbdir] prefix is needed if you use vbGallery, otherwise the vbGallery navbar link points to the wrong directory. If you don't use vbGallery you can ignore this too.

xyzmary2001 05-21-2008 04:33 PM

I have portal and I have all albums. Still, I have no idea where to find the template.

DDIG 05-21-2008 07:31 PM

When you open vBulletin Admin CP, go to Styles and Templates - Style Manager, select the style you use, click on the < > button, expand All Template Groups (< >), there you should be able to find the vbp_ templates if you have vbPortal installed.

But I see you use vbAdvanced, in which case I don't know the template names (don't know if it is needed in that case too).

bryanb 05-22-2008 08:32 PM

Quote:

Originally Posted by xyzmary2001 (Post 1526880)
....Bryanb, have you tried on vBulletin Options - User Profile Options - to see if "all albums" is active? Then, if it is, go to UserGroups manager and give persmissions to every group, by Edit Usergroup. There you cand find the option regarding the permissions to have or see albums. Hope this will work, I solved the problem this way.

No that's not it. Banned users are not allowed to have albums - they can't even access the forum. The problem is that their albums remain active. Everyone who can view albums can see the banned users' listed on the all_albums.php file.

I had to go in and manually delete these albums.

For a wish list item - it would be nice to have an enable/disable user group ID as an option for the administration panel. Thanks!

droid101 05-23-2008 12:17 AM

Hey... I added all_albums.php to that little nifty list in the vbAdvanced settings so that the navbar link will work on the home page, but it doesn't seem to be working.

It works for all the other junk I have up there... any thoughts?

bertwrld 05-24-2008 08:10 AM

Would it be possible to add an option to select how many albums per page to show?

PHILIPS-08 05-24-2008 10:12 PM

thanx good mod i installed

popular 05-25-2008 03:46 PM

how bout adding a hit count?

trilogy33 05-25-2008 05:04 PM

Installed, works fine under 3.7.0 BUT...
Now my vBGarage 3.5.0 has vanished from the navbar, erm..help please :confused:

EDIT: No worries. Have simply move the vBGarage link elsewhere. :)


All times are GMT. The time now is 10:52 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.01819 seconds
  • Memory Usage 1,830KB
  • 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
  • (4)bbcode_code_printable
  • (12)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