vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - Latest Album Pictures - Forum Home (https://vborg.vbsupport.ru/showthread.php?t=174445)

Atakan KOC 03-27-2008 10:00 PM

Latest Album Pictures - Forum Home
 
Latest Album Pictures - Forum Home

It shows the pictures added to the albums on the main page. It shows only the public mentioned files. If not shows the reasons are: vbulletin settings show albums must be enabled.

The user grup that owns the pictures must be enabled show picture setting. Or there is no picture to show.

You can show the pictures in 4 different sections: Navbar Bellow, Forums Above, Forums Below, Whois Online Below

Additionally you can slect the number of pictures that can be shown.

Hope it works for you as I like it very much.

Mark as Installed - Nominate for MOTM


install

Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-afm.xml' from your computer then press 'Import'

Modifications Info

Plugin : 2
Phrases : 12
Template : 2
Setting : 3
Query : 1 Query ;)

Latest Posts Setting

Go to your admin cp, then:
vBulletin Options -> Latest Album Picture - Forum Home ->

Versions:
v1.0 - 28 March 2008
-First release

v1.1 - 29 March 2008
- collapsible box
- Display type "random, latest"


v1.2 - 29 March 2008
- collapsible box on/off options

v1.3 - 01 April 2008
- Small (template and phrase) change

Atakan KOC 03-28-2008 06:18 PM

Reserved.

Versions:
v1.0 - 28 March 2008
-First release

v1.1 - 29 March 2008
- collapsible box
- Display type "random, latest"

v1.2 - 29 March 2008
- collapsible box on/off options

v1.3 - 01 April 2008
- Small (template and phrase) change

kaptanblack 03-28-2008 06:25 PM

Thanks.

M@ro 03-28-2008 06:30 PM

Thanks

but it not disaplay last pics

just change line

PHP Code:

ORDER BY posts DESC LIMIT 0$displayrecords 

to

PHP Code:

  ORDER BY dateline DESC LIMIT 0$displayrecords 

it work good at me

Atakan KOC 03-28-2008 06:39 PM

Quote:

Originally Posted by M@ro (Post 1477017)
Thanks

but it not disaplay last pics

just change line

PHP Code:

ORDER BY posts DESC LIMIT 0$displayrecords 

to

PHP Code:

  ORDER BY dateline DESC LIMIT 0$displayrecords 

it work good at me

Problem fixed :) Sory...

Jase2 03-28-2008 06:39 PM

Like the Photopost block -- good idea. If I didn't have PhotoPost, I would install this. But, the albums are never going to be come a photo gallery -- Jelsoft won't do it.

Regards Jason :)

zmmmzz 03-28-2008 07:17 PM

cool! thanks so much

SgtTechHead 03-28-2008 07:21 PM

Any easy way to call this into a module for vba cmps?

Nice mod by the way! Thank you!

1Turk 03-28-2008 07:24 PM

thanks :)

installed.

RvG2 03-28-2008 07:54 PM

LOL no need for a gallery script now... :)

RvG2 03-28-2008 07:56 PM

can it be called randomly? ;)

furst 03-28-2008 07:59 PM

Very nice, thanks.

I'd like to see the following things added to this hack:
- [s]random pictures, not just latest[/s]
- order by photos with most recent comments
- ability for users to disable in usercp
- [s]collapsible box[/s]
- ability to ban albums from displaying
- upload link
- option to link the album name to the album

molieman 03-28-2008 10:18 PM

That was the easiest install :) :)

Thanks, real nice :up::up::up:

koke 03-28-2008 10:22 PM

Is great !!!!!! Install it now!

ChurchMedia 03-29-2008 12:25 AM

Works perfectly! Thanks!

gwerzal 03-29-2008 12:32 AM

Thank you very much.

Just installed on http://www.dogging-contacts.co.uk (Adukt Site)

We need more mods for the the albums

Koroku 03-29-2008 01:32 AM

Very nice, just installed. :)

koke 03-29-2008 02:38 AM

It has to be an image of each album random

RvG2 03-29-2008 03:22 AM

Offtopic: something catches also my attention Sir Atakan...

What is the portal/mod you are using on your forum display?

Hornstar 03-29-2008 04:24 AM

Now I just wish there was an importer to import user galleries from photopost pro into member profiles as there are now a couple of good hacks out that are making it pointless to have a separate gallery.

Magnumutz 03-29-2008 05:43 AM

Wow, awesome... good job !
Would be interesting to have an option like "Choose Random or Latest Album Pictures"
Or just make another mod with Random display.

toadyd 03-29-2008 08:22 AM

To quickly change it to display randomly instead of by the date you can change
Code:

ORDER BY dateline DESC LIMIT 0, $displayrecords
to
Code:

ORDER BY rand() DESC LIMIT 0, $displayrecords
which will work fine for smallish tables.

Boofo 03-29-2008 09:11 AM

Quote:

ORDER BY RAND(NOW()) DESC LIMIT 0, $displayrecords
is what I use.

Boofo 03-29-2008 09:21 AM

I am also getting this showing up:

My pride & Joy where it should be My pride & Joy

EDIT:
I fixed the problem with the & not being parsed. You might want to make this change as you are going to run into this with other things down the road.

Find:

Code:

$lpicture['title'] = strip_tags(htmlspecialchars($lpicture['title']));
And change it to:

Code:

$lpicture['title'] = trim(strip_quotes($lpicture['title']));

Magnumutz 03-29-2008 10:19 AM

Quote:

Originally Posted by toadyd (Post 1477462)
To quickly change it to display randomly instead of by the date you can change
Code:

ORDER BY dateline DESC LIMIT 0, $displayrecords
to
Code:

ORDER BY rand() DESC LIMIT 0, $displayrecords
which will work fine for smallish tables.

Thanks, that worked great :)

Endertr 03-29-2008 10:42 AM

Thanks.

jluerken 03-29-2008 11:10 AM

Great Product, many thanks.
It would be nice if you can add a function to only allow special usergroups to see this

GrendelKhan{TSU 03-29-2008 11:30 AM

great job!

anestetic 03-29-2008 11:47 AM

?ok guzel olmus bu tesekkurler Turkish man :D

birde ORDER BY RAND(NOW()) DESC LIMIT 0, $displayrecords bu nedemek ?

GrendelKhan{TSU 03-29-2008 12:05 PM

REQ:
would love to see a "random album picture" setting for this. :)

Boofo 03-29-2008 12:19 PM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1477564)
REQ:
would love to see a "random album picture" setting for this. :)

https://vborg.vbsupport.ru/showpost....2&postcount=22

Atakan KOC 03-29-2008 01:49 PM

v1.1 - 29 March 2008
- collapsible box
- Display type "random, latest"

KoC 03-29-2008 02:02 PM

Atakan abi sen isteklerimizi biliyorsun. Tesekkür ederim bu güzel Eklentilerin icin

Thank you for your nice products Atakan. You know what we need.

furst 03-29-2008 03:14 PM

Quote:

Originally Posted by Atakan KOC (Post 1477612)
v1.1 - 29 March 2008
- collapsible box
- Display type "random, latest"

Very nice. Love the random order. Would like to see it ordered by most recent discussions too.

For some reason my box is not showing the collapse button in the upper right corner. What could be the cause?

Magnumutz 03-29-2008 03:17 PM

Very nice Atakan... good job dude :D

However, there's one thing you need to fix/change...
When you select "Random Picture" it should appear "Random Album Pictures" on forumhome too... but it doesn't.
It's still "Latest Album Pictures".

anestetic 03-29-2008 03:53 PM

rastgele cagırma super olmus emegıne saglık abi

RvG2 03-29-2008 04:26 PM

wwoooooottt thank you so much Sir Atakan!

RvG2 03-29-2008 05:08 PM

Quote:

Originally Posted by Magnumutz (Post 1477657)
Very nice Atakan... good job dude :D

However, there's one thing you need to fix/change...
When you select "Random Picture" it should appear "Random Album Pictures" on forumhome too... but it doesn't.
It's still "Latest Album Pictures".

u r right :)

Atakan KOC 03-29-2008 06:09 PM

v1.2 - 29 March 2008
- collapsible box on/off options

RvG2 03-29-2008 06:14 PM

Quote:

Originally Posted by Magnumutz (Post 1477657)
Very nice Atakan... good job dude :D

However, there's one thing you need to fix/change...
When you select "Random Picture" it should appear "Random Album Pictures" on forumhome too... but it doesn't.
It's still "Latest Album Pictures".

I fixed this in the phrase manager... :)


All times are GMT. The time now is 01:40 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.02757 seconds
  • Memory Usage 1,817KB
  • 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
  • (6)bbcode_code_printable
  • (4)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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