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)

lazytown 05-15-2008 07:30 AM

Quote:

Originally Posted by NeverBored (Post 1520034)
Set the dimensions you want in template afm_picture

That sort of works, but it causes other problems... If you only set the height, then the width can grow exponentially for a small picture (for example, if a picture was originally 50x10, it you set the height to 100, the width will become 500!).. If you set both, then most of your pictures will look funny (wrong aspect ratio). I guess I'm looking for something that either 1) takes into account the picture's aspect ratio or 2) allows VB to create thumbnails that have independent limits on width/height (right now it's one number for both)

-vissa

DarkFaCe 05-15-2008 08:56 PM

thanks Installed

Evolution06 05-16-2008 02:54 PM

How would you have it show 2 rows of pictures? Reason I ask if I have a fluid width skin with a side bar and 5 album pictures in a single row stretches it out pretty good would be cool to have 2 rows of 3.

Greek76 05-16-2008 10:54 PM

Great mod how would you go about having the pics resized in the afm template? Meaning how would the code be lets say for 150 x 150?

e7lew 05-17-2008 06:17 AM

Quote:

Originally Posted by Greek76 (Post 1522126)
Great mod how would you go about having the pics resized in the afm template? Meaning how would the code be lets say for 150 x 150?

replace afm_picture Template


Code:

<td align="center">
<a href="album.php?albumid=$lpicture[albumid]&amp;pictureid=$lpicture[pictureid]">
<img title="$lpicture[title]" class="inlineimg" src="picture.php?pictureid=$lpicture[pictureid]&amp;albumid=$lpicture[albumid]&amp;thumb=1"  border="0" alt="$lpicture[title]" width="150" height="150" />
</a>
<br />
<a href="member.php?u=$lpicture[userid]">$lpicture[musername]</a>
<br />
$lpicture[title]
</td>


mavikumsal 05-17-2008 08:05 AM

Teşekkürler....

Greek76 05-17-2008 04:52 PM

Quote:

Originally Posted by e7lew (Post 1522339)
replace afm_picture Template


Code:

<td align="center">
<a href="album.php?albumid=$lpicture[albumid]&amp;pictureid=$lpicture[pictureid]">
<img title="$lpicture[title]" class="inlineimg" src="picture.php?pictureid=$lpicture[pictureid]&amp;albumid=$lpicture[albumid]&amp;thumb=1"  border="0" alt="$lpicture[title]" width="150" height="150" />
</a>
<br />
<a href="member.php?u=$lpicture[userid]">$lpicture[musername]</a>
<br />
$lpicture[title]
</td>


Thanks worked great..

YLP1 05-17-2008 10:09 PM

I was able to get the pics to be vertical but I am having nothing but bad luck trying to get the pics to scroll firstly then to stop on mouseover.

Any ideas on how to get this to scroll?

Thanks in advance.

rapidphim 05-18-2008 05:50 AM

how did you get it vertical?

YLP1 05-18-2008 05:42 PM

Quote:

Originally Posted by rapidphim (Post 1523175)
how did you get it vertical?

In afm_picture put a <tr> before the code and a </tr> after the code.
PHP Code:

<tr><td class="alt1" align="center">
<
a href="$vboptions[bburl]/album.php?albumid=$lpicture[albumid]&amp;pictureid=$lpicture[pictureid]">
<
img title="$lpicture[title]class="inlineimg" src="$vboptions[bburl]/picture.php?pictureid=$lpicture[pictureid]&amp;albumid=$lpicture[albumid]&amp;thumb=1"  border="0" alt="$lpicture[title]width="100" height="100" />
</
a>
<
br />
<
a href="$vboptions[bburl]/member.php?u=$lpicture[userid]">$lpicture[musername]</a
<
br />
$lpicture[title]
</
td></tr


Tarola 05-18-2008 06:13 PM

when I want to click a picture, it sand me to the user who have this pictures, and it doesn't show me all the profile of that user.
Pls click on any picture on my bottom forum and you will see my problem.
http://pajura.idle.ro/forum

furst 05-18-2008 06:47 PM

Quote:

Originally Posted by rapidphim (Post 1516711)
Can we add ajax or slidshow on this hack as that the previous and next arrow on both side?

That would be awesome. Something like what YouTube has for video responses and other things.

https://vborg.vbsupport.ru/

SuperGLS 05-19-2008 02:49 AM

For some reason some of my thumbnails show and others don't. Any ideas on this?

Thumbnail attached. Thanks!

Silvio 05-19-2008 09:22 AM

ty sir, very great hack!
testing it! *installed

lazytown 05-20-2008 01:47 AM

I had to disable this mod only because if I set the vertical dimension to be fixed, then the picture can become ridiculously large in the horizontal dimension.. I realize it's not this mods fault, but we really need a way to specify width/height independently as a MAX (taking ratio into account -- which is not that difficult).. However it may need to be implemented in the thumbnail resizing code separately from this mod.

-vissa

ryozzo 05-20-2008 06:39 AM

Quote:

Originally Posted by SuperGLS (Post 1524325)
For some reason some of my thumbnails show and others don't. Any ideas on this?

Thumbnail attached. Thanks!

i have the same problem in my forum....:(

Boofo 05-20-2008 06:44 AM

Quote:

Originally Posted by SuperGLS (Post 1524325)
For some reason some of my thumbnails show and others don't. Any ideas on this?

Thumbnail attached. Thanks!

Could those be private albums not showing?

digitalSite 05-20-2008 11:14 AM

I would like to post the random album pictures on my vbAdv CMPS homepage. Can you show me how to do that please? I can't figure it out.

Thanks in advance!

UPDATED: Did a little more researching and found this here: http://www.vbadvanced.com/forum/showthread.php?t=28406

Awesome!

Silvio 05-20-2008 12:13 PM

to have the same design as original VB I found just a little issue with boxing icons.
to solve it
find on afm_latestfm template (or in the xml b4 uploading it)

Code:

[imgdir_button]/collapse_thead$vbcollapse[collapseimg_afm_box].gif
and replaced with

Code:

[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_afm_box].gif

YLP1 05-21-2008 02:48 PM

Quote:

Originally Posted by furst (Post 1523892)
That would be awesome. Something like what YouTube has for video responses and other things.

http://img167.imageshack.us/img167/7...ubebillus3.png

This would be an awesome enhancement!

Galeon 05-21-2008 07:46 PM

Quote:

Originally Posted by vissa (Post 1525356)
I had to disable this mod only because if I set the vertical dimension to be fixed, then the picture can become ridiculously large in the horizontal dimension.. I realize it's not this mods fault, but we really need a way to specify width/height independently as a MAX (taking ratio into account -- which is not that difficult).. However it may need to be implemented in the thumbnail resizing code separately from this mod.

-vissa


Hope this help
PHP Code:

<td align="center">
<
a href="album.php?albumid=$lpicture[albumid]&amp;pictureid=$lpicture[pictureid]">
<
img title="$lpicture[title]class="inlineimg" src="picture.php?pictureid=$lpicture[pictureid]&amp;albumid=$lpicture[albumid]&amp;thumb=1"  border="0" alt="$lpicture[title]style="width:expression(this.width > 120 ? 120 : true); height:expression(this.height > 120 ? 100 : true)" />
</
a>
<
br />
<
a href="member.php?u=$lpicture[userid]">$lpicture[musername]</a
<
br />
$lpicture[title]
</
td


Boofo 05-21-2008 08:14 PM

Just set the max width you want and the height will adjust accordingly.

eXoOutsider 05-21-2008 09:25 PM

Very nice! Installed!

Can this at all slow down your forum?

RvG2 05-22-2008 01:56 AM

No.

readjono 05-22-2008 03:00 PM

I have it under who's online, anyway I can move it about so it appears under my vB Shout?

Evolution06 05-22-2008 04:08 PM

Quote:

Originally Posted by Galeon (Post 1527245)
Hope this help
PHP Code:

<td align="center">
<
a href="album.php?albumid=$lpicture[albumid]&amp;pictureid=$lpicture[pictureid]">
<
img title="$lpicture[title]class="inlineimg" src="picture.php?pictureid=$lpicture[pictureid]&amp;albumid=$lpicture[albumid]&amp;thumb=1"  border="0" alt="$lpicture[title]style="width:expression(this.width > 120 ? 120 : true); height:expression(this.height > 120 ? 100 : true)" />
</
a>
<
br />
<
a href="member.php?u=$lpicture[userid]">$lpicture[musername]</a
<
br />
$lpicture[title]
</
td


Awesome that code helped me out my skin is finally back to it's fixed width and not stretched out anymore thanks!

hirlas 05-23-2008 12:37 AM

I am only getting the images to show for logged in users. Is there somewhere to change this permission? Other than that, this mod works great! Easy setup!

edit: No idea why I couldn't find this... it's under the usergroup permissions.....

Menzer 05-23-2008 07:30 PM

Jeeeeez I was praying there was a mod just like this when I installed 3.7 and boy was I jumping!!! Excellent Mod works a treat alongside All Albums....

I know the mod is designed for the Homepage - But this mod would be crazy mad if you could choose to have the album thumbnails show in selected areas of the board...

Example, if I wanted the albums on the front page at the top + the main forum post page at the top or maybe have it on the front page + Thread page at the top etc...

Did I make sense - lol

qtouch 05-25-2008 04:23 AM

Installed !! thanks sir

rapidphim 05-25-2008 04:38 AM

can anyone provide a demo to vertical look for this hack? thanks.

Rob Hephner 05-25-2008 05:35 AM

Quote:

Originally Posted by hornstar1337 (Post 1514230)
I'm really starting to think if I have any use for photopost anymore.

Honestly, if someone could figure out a way to export photos out of Photopost and into User Albums I would do it NOW!

Pamela 05-25-2008 08:45 AM

Awesome mod! Thanks!!! :D

*clicks install*

agumba 05-26-2008 06:29 PM

Thanks :)

NAZIA 05-26-2008 10:14 PM

Quote:

Originally Posted by RvG2 (Post 1477090)
no need for a gallery script now... :)

Dear RvG2
Are you mad... And you know that you can not create any mod



THE Great post...
I like this hack...
Thanks you very much dear

lazytown 05-27-2008 07:27 AM

Quote:

Originally Posted by Galeon (Post 1527245)
Hope this help
PHP Code:

<td align="center">
<
a href="album.php?albumid=$lpicture[albumid]&amp;pictureid=$lpicture[pictureid]">
<
img title="$lpicture[title]class="inlineimg" src="picture.php?pictureid=$lpicture[pictureid]&amp;albumid=$lpicture[albumid]&amp;thumb=1"  border="0" alt="$lpicture[title]style="width:expression(this.width > 120 ? 120 : true); height:expression(this.height > 120 ? 100 : true)" />
</
a>
<
br />
<
a href="member.php?u=$lpicture[userid]">$lpicture[musername]</a
<
br />
$lpicture[title]
</
td


Nice piece of code and works well with Internet Explorer.. However, it doesn't seem to work with firefox -- they still appear full size. Any ideas?

Thanks a lot!
-vissa

Galeon 05-27-2008 08:40 AM

Ok, this should work on both IE & FF

PHP Code:

<td align="center">
<
a href="album.php?albumid=$lpicture[albumid]&amp;pictureid=$lpicture[pictureid]">
<
img title="$lpicture[title]class="inlineimg" src="picture.php?pictureid=$lpicture[pictureid]&amp;albumid=$lpicture[albumid]&amp;thumb=1"  border="0" alt="$lpicture[title]style=="max-width:120px; width:expression(this.width > 120 ? 120 : true); max-height:100px; height:expression(this.height > 120 ? 100 : true)" />
</
a>
<
br />
<
a href="member.php?u=$lpicture[userid]">$lpicture[musername]</a
<
br />
$lpicture[title]
</
td


lazytown 05-27-2008 09:46 AM

That worked!! Thanks!!

-vissa

Eve_Ra 05-27-2008 10:59 AM

Many thanks for this mod... Installed !

J98680Bxxxxx 05-27-2008 11:35 AM

This mod seems to be conflicting with the "Tag Cloud - Forum Home" mod.

Toying around with these two mods:

"Tag Cloud - Forum Home" installed, "Latest Album Pictures - Forum Home" disabled, and the option to have "Tag Cloud..." displayed (any where) selected.
Result: "Tag Cloud - Forum Home" displaying properly. :up:

"Latest Album Pictures - Forum Home" installed, "Tag Cloud - Forum Home" disabled, and the option to have "Latest Album Pictures..." displayed (any where) selected.
Result: "Latest Album Pictures - Forum Home" displaying properly. :up:

Both mods installed (active) and the option to have them displayed below the forums selected.
Result: "Tag Cloud - Forum Home" displaying properly and "Latest Album Pictures - Forum Home" does not display at all. :(

Both mods installed and I selected the option to have "Tag Cloud - Forum Home" displayed below the forums and "Latest Album Pictures - Forum Home" displayed below the Who's Online.
Result: "Tag Cloud - Forum Home" displaying properly and "Latest Album Pictures - Forum Home" displaying twice; below the forums and below the "Who's Online" :rolleyes:

....

Aerdan 05-27-2008 08:47 PM

Just a small thing I noticed: by default, the header uses the "tcat", but for the collapsing, you chose thead. On my forum, it looked a little funky crossing the two and had to change the collapse to tcat.

Fantastic mod, great for communities!


All times are GMT. The time now is 12:54 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.01835 seconds
  • Memory Usage 1,871KB
  • 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
  • (5)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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