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)
-   -   Forum Home Enhancements - New Latest Album Pictures - Forum Home (https://vborg.vbsupport.ru/showthread.php?t=228618)

samiro 02-19-2010 02:02 PM

Quote:

Originally Posted by drbillnye (Post 1986106)
Awesome! Thanks for this great plugin!

what this code doing ?
random images ?

dtommy79 02-20-2010 11:54 AM

1 Attachment(s)
i've attached a screenshot.

the mod removes the sideline of my forum.

It happens with all major browser.
My resolutions is: 1280x800

Rob F 02-20-2010 12:40 PM

Quote:

Originally Posted by dtommy79 (Post 1987229)
i've attached a screenshot.

the mod removes the sideline of my forum.

It happens with all major browser.
My resolutions is: 1280x800

Check 2 posts above your own for the answer to your problems ;)

Jabong82 02-21-2010 06:38 PM

Does this mod show EVERYONE's albums on the forumhome?

Or can it be modded to show only a user's friends/contacts albums?

Thank you in advance.

Rob F 02-21-2010 11:14 PM

Quote:

Originally Posted by Jabong82 (Post 1988256)
Does this mod show EVERYONE's albums on the forumhome?

Or can it be modded to show only a user's friends/contacts albums?

Thank you in advance.

Neither as far as I understand it.

Its designed to show images from all albums that are set to be publically viewable.

I could be wrong though, but I'm pretty certain that any albums set to private will not show - even for friends/contacts.

Jabong82 02-22-2010 12:24 AM

Can anyone mod this or create a mod showing only Friends/Contacts albums?

I would be willing to pay for this or something similar.

DNDJ 02-22-2010 07:19 AM

thankyou

saghir 02-22-2010 07:54 AM

i installed , but picture album not display ???

Plz can any one tell whats prob ???

Videx 02-22-2010 12:06 PM

Quote:

Originally Posted by saghir (Post 1988631)
i installed , but picture album not display ???

Plz can any one tell whats prob ???

How? By guessing? You didn't even give us a link to look at.
  • Try re-importing, allowing overwrite.
  • Double check your settings in Options.
  • Try disabling all your other mods to see if one is interfering.

BiZiMDiYaR 02-22-2010 11:58 PM

Quote:

Originally Posted by TimberFloorAu (Post 1962594)
Hi Mov.

The objective of the code change and moving this mod to under Navbar, was to do it with minimal code/template changes. As people had stated they didnt want to do manual edits.

Hence the new xml I produced has only one changed line. I think it is pertinent that we afford Atakan to change his code accordingly, when he sees fit to update.

If he doesnt within say a week, I will recode it with styleing options.

Well.. I would say 1 week has passed :) ehehe.. :)

This is a very good item to have, would be great to also be able to enable on the CMS page also.. so to be able to place it anywhere on the forum and also on the CMS to be able to add it there...

Thanks.

saghir 02-23-2010 01:31 AM

Good Work,

Installed and rated

samiro 02-23-2010 04:07 AM

can it show random alboms ?!

Rob F 02-23-2010 04:17 AM

Quote:

Originally Posted by samiro (Post 1989381)
can it show random alboms ?!

Yes. In the AdminCP you have the choice of newest album pictures or random album pictures :)

Leo Brazil 02-23-2010 01:43 PM

It works great but what happened with different locations options compared to your 3.8 version, like showing below or above forums ? IMO showing it below forums in a single table like your 3.8 version was pretty much better than inside of "What's Going On" block.

Rob F 02-23-2010 01:54 PM

Quote:

Originally Posted by Leo Brazil (Post 1989612)
It works great but what happened with different locations options compared to your 3.8 version, like showing below or above forums ? IMO showing it below forums in a single table like your 3.8 version was pretty much better than inside of "What's Going On" block.

Have a look at this enhancement for further customisation such as having it display at the top of the forum ;)

https://vborg.vbsupport.ru/showthread.php?t=233707

Leo Brazil 02-23-2010 02:06 PM

Thanks Rob, I was checking YBMF a few days ago and was thinking about it. After reading his posts again now I see the reason those options were taken out of Atakan update (lack of vb hooks).

Drache 02-24-2010 11:01 AM

this works with 4.0.2?

Videx 02-24-2010 11:14 AM

Quote:

Originally Posted by Drache (Post 1990302)
this works with 4.0.2?

Yes, updated fine from 401. I'm getting some blank pictures, but I don't think that has anything to do with this mod.

Trescom 02-24-2010 01:15 PM

1 Attachment(s)
Something is not working for me. Look at the attachement. Mod is not showing thumbnails but rather big images and it is destroying the template.

Any idea how to fix it?

mierzwin 02-24-2010 02:18 PM

Quote:

Originally Posted by Trescom (Post 1990385)
Something is not working for me. Look at the attachement. Mod is not showing thumbnails but rather big images and it is destroying the template.

Any idea how to fix it?


I think size of thumbnails for attachments is set to the exact size of this images displayed.

Check your settings and compare and try to decrease it a bit and see.

What's the size of thumbnails in albums ?

Trescom 02-24-2010 05:40 PM

Quote:

Originally Posted by mierzwin (Post 1990435)
I think size of thumbnails for attachments is set to the exact size of this images displayed.

Check your settings and compare and try to decrease it a bit and see.

What's the size of thumbnails in albums ?

Thanks mierzwin, you were right. My thumbnails were 350px big x_X

Problem Solved

Rob F 02-24-2010 06:19 PM

Quote:

Originally Posted by Trescom (Post 1990570)
Thanks mierzwin, you were right. My thumbnails were 350px big x_X

Problem Solved

Where do you find/edit the thumbnail size?

Trescom 02-24-2010 08:21 PM

Quote:

Originally Posted by Rob F (Post 1990611)
Where do you find/edit the thumbnail size?

vB Options > Attachments

Rob F 02-24-2010 09:00 PM

Cheers Trescom :)

Trescom 02-24-2010 09:22 PM

1 Attachment(s)
Well, something is still not ok.
Thumbnails are ok, but i've noticed, that i miss lines at the edges (selected on the attachment).

Any idea?

Rob F 02-24-2010 09:42 PM

Quote:

Originally Posted by Trescom (Post 1990735)
Well, something is still not ok.
Thumbnails are ok, but i've noticed, that i miss lines at the edges (selected on the attachment).

Any idea?

Yup - if you scroll back a page or two theres a fix posted.

Sorry, can't remember what post number on the thread.

Trescom 02-25-2010 09:32 AM

Ok, found it! Quoted that post below.

Cheers Rob F ;)

Quote:

Originally Posted by BBR-APBT (Post 1926370)
Replace the templates with the following code.

Template newalbum_print
Code:

<div id="wgo_onlineusers" class="wgo_subblock">

                                <h3><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:raw resimlery}</h3>
                                <div>
<table class="block" cellpadding="6" cellspacing="6" border="0" width="100%" align="center">
<tr>
{vb:raw resimler}
</tr>
</table>

                                </div>
                        </div>


Template newalbum_picture
Code:

<td align="center">       
                <a class="picture" href="album.php?albumid={vb:raw lpicture.albumid}&amp;attachmentid={vb:raw lpicture.attachmentid}"><img  src="attachment.php?attachmentid={vb:raw lpicture.attachmentid}&amp;thumb=1&amp;d=1258906442" alt="269" border="0" /></a>
<br />
<a href="member.php?u={vb:raw lpicture.userid}">{vb:raw lpicture.musername}</a>
<br />
{vb:raw lpicture.title}
</td>


P.S. This will also add the code for the album name and the user the photo belongs too.


Black-CA 02-25-2010 03:11 PM

Quote:

Originally Posted by Trescom (Post 1991088)
Ok, found it! Quoted that post below.

Cheers Rob F ;)

Thanks to both.

svandanam 02-25-2010 07:25 PM

Quote:

Originally Posted by Trescom (Post 1990570)
Thanks mierzwin, you were right. My thumbnails were 350px big x_X

Problem Solved

Would you mind sharing to what size you have set the thumbnails ??

Verionia 02-25-2010 09:51 PM

When I log off this mod doesn't show - even public albums! How to fix?

AliMadkour 02-25-2010 10:36 PM

Installed
thanks ,

Trescom 02-26-2010 07:55 PM

Quote:

Originally Posted by svandanam (Post 1991483)
Would you mind sharing to what size you have set the thumbnails ??

Sure :) Now it's 80px, but with 100-150 looks also good :)

Verionia just set group permissions :)

svandanam 02-27-2010 10:44 PM

Quote:

Originally Posted by Trescom (Post 1992268)
Sure :) Now it's 80px, but with 100-150 looks also good :)

Verionia just set group permissions :)


Thank you :-).. newbie question...where can I find the group permission ?

Trescom 02-28-2010 01:55 PM

Quote:

Originally Posted by svandanam (Post 1993277)
Thank you :-).. newbie question...where can I find the group permission ?

svandanam: AdminCP > Usergroups > Manage Groups :)

Jabong82 03-10-2010 11:40 PM

Is there a privacy fix for this mod?

It seems that even if Albums are set to be seen by only friends/contacts of the owner that this mod doesn't respect the settings and the thumbnails are still posted.

way2xtreme 03-13-2010 07:01 AM

Hello,
Is there a way for this to work in a forum sidebar instead of top or bottom?

Thanks :)
WC

Marek58 03-15-2010 07:04 AM

1 Attachment(s)
Polish version


theque 03-17-2010 09:12 PM

Quote:

Originally Posted by TimberFloorAu (Post 1962025)
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 https://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

thanks just what i needed

mobe00 03-18-2010 12:56 AM

1 Attachment(s)
I did some changes in my coding here to get the result i wanted

Replace the templates with the following code.

Template Newalbum_print

Code:

<div id="test" class="block collapse">
    <h3 class="blockhead">
        <b>{vb:raw resimlery}</b>
        <a class="collapse" id="collapse_album_content" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_album_content_img}_40b.png" alt="{vb:rawphrase collapse_this_category}" /></a>
    </h3>

    <div id="album_content" class="childforum forumbit_post">
        <div class="forumrow table" style="padding-right:0px">
            <table class="block" cellpadding="6" cellspacing="6" border="0" width="100%" align="center">
<br />
                <tr>
                    {vb:raw resimler}
                </tr>
            </table>
<br />
        </div>
    </div>
</div>

Template Newalbum_picture

Code:

<td align="center">       
                <a class="picture" href="album.php?albumid={vb:raw lpicture.albumid}&amp;attachmentid={vb:raw lpicture.attachmentid}"><img  src="attachment.php?attachmentid={vb:raw lpicture.attachmentid}&amp;thumb=1&amp;d=1258906442" alt="269" border="0" /></a>
<br />
<a href="member.php?u={vb:raw lpicture.userid}">{vb:raw lpicture.musername}</a>
<br />
{vb:raw lpicture.title}
</td>

In pluginmanager - find New Album Picture Forum Home

find the code

Code:

$template_hook['forumhome_wgo_pos1'] .= $templater->render();
and change it with

Code:

$template_hook['forumhome_above_forums'] .= $templater->render();
And voila ..you got this :D

raulin 03-20-2010 12:07 AM

Thanks mobe00 :D


All times are GMT. The time now is 09:28 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.01887 seconds
  • Memory Usage 1,836KB
  • 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
  • (8)bbcode_code_printable
  • (20)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