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)
-   -   Mini Mods - YBMF-Image Thang-New Latest Album Pictures - Forum Home ( Extension ) (https://vborg.vbsupport.ru/showthread.php?t=233707)

RobbieZ 07-16-2010 02:42 PM

Pro. looking *clicks installed*

RobbieZ 07-16-2010 10:42 PM

Instructions to make your picture larger:

AdminCP > Settings > Message Attachment Options > Thumbnail Size (150 px looks good)

Now goto Update Counters > Rebuild Attachment Thumbnails.

Do not forget if you have already uploaded pictures you must upload them again!!

To change the album title at the bottom for the image description:

Find newalbum_picture template

Look at the last four lines.

Code:

<br />
{vb:raw lpicture.title}
<p style="clear: left;"></p>
</td>

and change this line {vb:raw lpicture.title} to {vb:raw lpicture.caption}

Front Range 07-30-2010 12:23 AM

Finally got around to this - very nice!

Thank you sir!

ShawneyJ 08-03-2010 01:13 AM

Quote:

Originally Posted by Verionia (Post 2016517)
How can I get it to show the picture's name and delete the other one at the bottom?

im trying to work this out to, i want nothing but the pictures showing as the title of the albums are making it go out the page.

Front Range 4x4 08-03-2010 02:01 AM

This will do it for you: edit newalbum_picture

<td align="center" border="1" > <br />
<a class="picture" href="album.php?albumid={vb:raw lpicture.albumid}&amp;attachmentid={vb:raw lpicture.attachmentid}">
<img class="instant nocorner itxtalt" src="attachment.php?attachmentid={vb:raw lpicture.attachmentid}&amp;thumb=1&amp;d=125890644 2" " border="0" /></a>
<br />
<p style="clear: left;">
</p>
</td>

ShawneyJ 08-04-2010 10:35 PM

Quote:

Originally Posted by Front Range 4x4 (Post 2078387)
This will do it for you: edit newalbum_picture

<td align="center" border="1" > <br />
<a class="picture" href="album.php?albumid={vb:raw lpicture.albumid}&amp;attachmentid={vb:raw lpicture.attachmentid}">
<img class="instant nocorner itxtalt" src="attachment.php?attachmentid={vb:raw lpicture.attachmentid}&amp;thumb=1&amp;d=125890644 2" " border="0" /></a>
<br />
<p style="clear: left;">
</p>
</td>


thank you very much, worked like a charm ;) cheers.

asus78 08-05-2010 03:06 PM

Awesome mod. thx

I still need a topic of the month mod, anyone know where i can find one. There has been one on 3.7 and it was highly demanded. Really need it. It is similar to mod of the month.

Anyone with an idea where to find it?

asus78 08-05-2010 03:15 PM

[QUOTE=TimberFloorAu;1961965]*Reserved*

1. you can also style your Album also.

find: template

album_picturebit

replace code with:

Code:

<li>
        <h3 class="picturetitle"><a class="albumitem" href="album-picture.php">{vb:raw picture.title}</a></h3>
        <vb:if condition="$picture['hasthumbnail']">
                <a class="picture" href="album.php?{vb:raw session.sessionurl}albumid={vb:raw albuminfo.albumid}&amp;attachmentid={vb:raw picture.attachmentid}"><img class="instant nocorner itxtalt" src="attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw picture.attachmentid}&amp;thumb=1&amp;d={vb:raw picture.thumbnail_dateline}" alt="{vb:raw picture.caption_preview}" border="0" {vb:raw picture.dimensions} /></a>
        <vb:else />
                <a href="album.php?{vb:raw session.sessionurl}albumid={vb:raw albuminfo.albumid}&amp;attachmentid={vb:raw picture.attachmentid}"><vb:if condition="$picture['caption_preview']">{vb:raw picture.caption_preview}<vb:else />{vb:rawphrase picture}</vb:if></a>
        </vb:if>
        <vb:if condition="$show['moderation']"><span class="shade">{vb:rawphrase picture_moderated}</span></vb:if>
</li>

Enjoy

And VOILA

I replaced the code for the album style exactly like you said, but it looks just like before. Everything else went really well.

asus78 08-05-2010 03:34 PM

one more question, this only shows for registered users. Can i show it to unregistered user and let them only view 2 or 3 images before it says pls sign up in order to view more images?
thx

bada_bing 08-06-2010 05:39 PM

OK now I feel dumb but where do I upload the js folder the my forum root? so in my /forums/js/


All times are GMT. The time now is 08:30 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.01199 seconds
  • Memory Usage 1,742KB
  • 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
  • (2)bbcode_code_printable
  • (2)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
  • (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