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)

TimberFloorAu 01-31-2010 08:07 PM

:) Good Luck

starman? 02-01-2010 09:36 AM

Installed - great product - Thank you.
One small glitch though - some of my members names are long and the suffix 's Album goes missing or partly missing. Is there a way to change the font size? Also there is a space between a members name & the suffix.
eg JoeBlow 's Album rather than JoeBlow's Album
Sorry - I don't mean to be picky but IMHO I think it would be a nice fix.

TimberFloorAu 02-01-2010 09:47 AM

Change:

Code:

<td align="center">       
                <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=1258906442" alt="{vb:raw lpicture.username} 's Album" border="0" /></a>
<br />
<a href="member.php?u={vb:raw lpicture.userid}">{vb:raw lpicture.musername}</a>
<br />
{vb:raw lpicture.title}
<p style="clear: left;"></p>
</td>

to

Code:

<td align="center">       
                <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=1258906442" alt="{vb:raw lpicture.username}'s Album" border="0" /></a>
<br />
<a href="member.php?u={vb:raw lpicture.userid}">{vb:raw lpicture.musername}</a>
<br />
{vb:raw lpicture.title}
<p style="clear: left;"></p>
</td>

This will fix the space before the apostrophe.

Regarding the titles usernames etc. You would have to edit cvi_text_lib.js

Good luck its quite complex lol

starman? 02-01-2010 11:35 AM

Now that's what I call support. Brilliant. Thank you once again.

mobe00 02-01-2010 11:41 AM

1 Attachment(s)
Installed..thanks..works perfect. did a few changes on it.

Rob F 02-01-2010 05:02 PM

Love the effect TimberFloorAu :)

Quick question though. Some of our members have lengthy usernames so would it be possible to modify one of the scripts to have something like what mobe00 posted - where there's no writing on the image frame?

Been looking through the installation instructions and where it says to replace the content of newalbum_picture, if I removed the
Code:

alt="{vb:raw lpicture.username} 's Album"
Would it achieve the effect I'm looking for?

Rob F 02-01-2010 05:14 PM

Nevermind above post - messing about so tried it anyway and it worked :D

mobe00 02-01-2010 05:41 PM

to remove the members/username from the picture do this . find template:
newalbum_picture

Replace content with:

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

mobe00 02-01-2010 05:48 PM

here are some other cool effect for the <img class"xxxxxxxx" tag from netzgesta.de

* Initialisation class "instant"
* vary the shadow by adding ishadow followed by the desired opacity in percent:
Shadow opacity class "ishadow" - min=0 max=100 default=33
* vary the frame by adding icolor followed by the desired color as hex:
Frame color class "icolor" - min=000000 max=ffffff default=f0f4ff
* vary the tilt direction by adding one of the following:
Tilt direction class "itiltleft" or "itiltnone" or "itiltright"
by default "instant.js" cycles through [left|none|right].
* prevent the shading by adding noshading:
Shading off class "noshading"
* vary the border design by adding historical:
Frayed border class "historical"
* prevent quadratic corner by adding nocorner:
Round corner class "nocorner"
* preserve the image aspect ratio by adding preserve:
Image aspectratio class "preserve"
* vary the annotation text by adding itxtcol followed by the desired color as hex:
Text color class "itxtcol" - min=000000 max=ffffff default=000000
* get the text from alt attribute by adding itxtalt:
Text selection class "itxtalt"
* get the text from title attribute by adding itxttitle:
Text selection class "itxttitle"

Rob F 02-01-2010 05:54 PM

Thanks mobe00 :)


All times are GMT. The time now is 11:23 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.01200 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_code_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