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-20-2010 10:00 PM

YBMF-Image Thang-New Latest Album Pictures - Forum Home ( Extension )
 
1 Attachment(s)
YoBroMoFo- New Latest Album Pictures - With Panache

This is an extension for Atakan Koc Album Mod for forumhome: https://vborg.vbsupport.ru/showthread.php?t=228618

This is an extension made by us for his great MOD. We under no circumstance take credit for his work, this is merely a extension to his product. Meaning you need

to dowload and install his mod, and click Install. Before you can use this extension.

Instructions In Download Folder

Goto: http://www.netzgesta.de/instant/instant.zip check out the license, and if you satisfy the conditions download the package. It is free.
Create a folder called js
Put the following two files ( from download package ) in the js folder and upload to your server
cvi_text_lib.js
instant.js
Your Done.

This is an extension for Atakan Koc Album Mod for forumhome: https://vborg.vbsupport.ru/showthread.php?t=228618

This is an extension made by us for his great MOD. We under no circumstance take credit for his work, this is merely a extension to his product. Meaning you need

to dowload and install his mod, and click Install. Before you can use this extension.

Further: The JS used in this extension is by: http://www.netzgesta.de
Please read their License agreement prior to using their scripts.

Download the Javascript from : http://www.netzgesta.de/instant/instant.zip

If you USE then click INSTALL. As always we will help where possible. Please note if you upgrade Atakan's New Latest Album Pictures - Forum Home , then you will

more than likely have to reinstall this extension :)


E N J O Y

TimberFloorAu 01-21-2010 03:22 AM

1 Attachment(s)
*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

Added: 5:29pm AEST 21st Jan 2010

Do you want the albums at top of forum home ?

Ok looked at this for a while.

There are no hooks from what I see in the beginning of forumhome, they all apply to wgo ( whats going on )

So as PinoyRepublichttps://vborg.vbsupport.ru/showpost....&postcount=106 stated, you need to cheat.

Essentially this is what I did.

Find: in product-newalbum.xml file
Code:


$template_hook['forumhome_wgo_pos2'] .= $templater->render();

Change to:
Code:


$ad_location['ad_navbar_below'] .= $templater->render();

Or use my rejigged product file

Enjoy.

Ste

MindTrix 01-21-2010 05:22 AM

Worked like a charm! Would love to have it at the top of the page instead though.

TimberFloorAu 01-21-2010 05:28 AM

https://vborg.vbsupport.ru/showpost....&postcount=120

;)

Oh and Please click Installed

MindTrix 01-21-2010 07:59 AM

Worked a charm, have it at the top of the forum now and looks great! Only tiny issue is its not in a collapsable box, that would be great.

But still, very very happy!

TimberFloorAu 01-21-2010 08:04 AM

I am sure that is possible ( didnt see the point of that but ) ... will look into it for you :)

Thanks for clicking Installed

Hornstar 01-21-2010 10:06 AM

wow! that looks awesome. When I upgrade this will be installed for sure.

Tagged for now.

TimberFloorAu 01-21-2010 10:09 AM

Quote:

Originally Posted by hornstar1337 (Post 1962187)
wow! that looks awesome. When I upgrade this will be installed for sure.

Tagged for now.

Thanks Matt

movslow 01-21-2010 01:31 PM

Wow, this mod rocks.

Nice work!!

:up::up:

TimberFloorAu 01-21-2010 06:00 PM

Thanks Mov :)

Dr.osamA 01-22-2010 12:54 PM

1 Attachment(s)
More than great work , man

wooow

more ten 120 thousand a member of the ALRA7BA say, thank

installed + 5 stars

Here is Arabic translation
________
WASHINGTON DISPENSARIES

TimberFloorAu 01-23-2010 01:06 AM

Cheers Dr.osamA

Will add to original code, when i get back in the office.

Ste

HappyFeet 01-26-2010 10:47 PM

This looks freakin awesome! Thanks! *Installed and rated*

I installed and placed it at the top. Looks very GOOD. :up:

If you include it in a collapsible box, could you make it an option? I would prefer not to have it boxed, IMHO of course...

blake247 01-27-2010 03:55 AM

I like this ALOT! VERY cool!

RK1gaming 01-27-2010 12:21 PM

Ok .. I am going to sound like a newbie and I am sorry for that - maybe its because i was up all night upgrading the production forum ... but I can not wrap my head around this mod ...

I have the Atakan Koc Album Mod for forumhome:

So I am lost how to integrate this mod in ..

So I want to have it on the top under the nav bar so do I just use the so i just use the new product file attached in this thread ...

What are the steps i need to do to use this .. to many cross posts in here

SpongeBob71 01-27-2010 12:33 PM

Absolutely awsome! Thank you so much!

-Sponge

LOKIN510051 01-27-2010 03:04 PM

cuando tenga intalado la version 4 este sera el primero que ponga

RK1gaming 01-27-2010 04:51 PM

got it sorted out .. thanks

ahmedipa 01-31-2010 04:23 PM

I will try I think I tried before and not come will I will try again

COL NIL SATIS 01-31-2010 06:31 PM

This looks great..will install later and nominate

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 :)

Rob F 02-01-2010 06:01 PM

Oh - mobe00 - since you seem to have a good grasp of things ...

Is there any way to make the images & frames slightly bigger than the standard appearance? I'm trialling this on test forums at the moment, have it positioned just below menu, but the images all look kinda small to me.

TimberFloorAu 02-01-2010 07:45 PM

Quote:

Originally Posted by mobe00 (Post 1972365)
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"

Its a seriously sexy bit of code huh Mob.

Juggernaut 02-02-2010 02:59 AM

My album looks a lot better now :D

LuckyNeo 02-02-2010 07:42 PM

Quote:

Originally Posted by Destron (Post 1972753)
My album looks a lot better now :D

COOL COOL COOL!!! Very nice! All albums much MUCH better!!!!!:D

TimberFloorAu 02-04-2010 07:37 PM

YVW Guys :up:

cloferba 02-06-2010 12:27 AM

albums owner isnt show correctly using vbseo..

https://vborg.vbsupport.ru/

user is "elargentino", but is showing as "members/elargentino=al"..bum?

why?

TimberFloorAu 02-06-2010 12:29 AM

How come you have this error, you havent clicked install ;)

We have VBSEO, no issue whatsoever. Recheck your code and paths

cloferba 02-06-2010 01:27 PM

ooppss....now is marked has installed xD

what vbseo configuration do you use?
im using default config, and text appear as the image

that is because {vb:raw lpicture.username} refeers to the config setted on Rewrite Albums URLs..

but i dont know why, on alt="{vb:raw lpicture.username} 's Album" line (newalbum_picture), i deleted {vb:raw lpicture.username} value (keeping 's Album), but there is no changes on text displayed :S

would you like to send me your Rewrite Albums URLs configuration to get this extension work fine...or something to fix this?

Cobra-J82 02-06-2010 05:00 PM

i lov u man thanks

Ticinofelino 02-08-2010 06:53 PM

No installations instructions for vb in the folder I uploaded... is it possible?? :eek:


All times are GMT. The time now is 06:16 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.01392 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
  • (6)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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