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)

pokusek 05-07-2013 06:53 PM

Quote:

Originally Posted by RFViet (Post 2420539)
Yes !!. Go to plug-in manager -> under New Album Picture forum Home.
I don't know where else to place that line ?

What doesn't work for you then? You can use the variable $lpicture['mpicname'] and do whatever you want to do with it (I assume that you want to print it - use echo $lpicture['mpicname']; for that).

RFViet 05-07-2013 07:12 PM

Quote:

Originally Posted by pokusek (Post 2420572)
What doesn't work for you then? .

It doesn't show the captions as it's supposed !!!

blackie58 05-08-2013 10:41 AM

Thanks very much mobe

Even with my limited programming knowledge it works

Excellent

www.desmocorse.net



Quote:

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


mgurain 05-19-2013 09:53 PM

Any update for 4.2.1 ?

RichieBoy67 05-21-2013 05:59 PM

Quote:

Originally Posted by blackie58 (Post 2420674)
Thanks very much mobe

Even with my limited programming knowledge it works

Excellent

www.desmocorse.net

I gotta look into this because it causes my sidebar to get pushed down....

K!nG 06-16-2013 11:57 PM

Hey everyone,
When i installed this mod. It not showing my album pics in same size, they all are in different size some are way too big and some are normal. Please see the attached screenshot and see if anyone can help me in showing these pics in one same size.

https://vborg.vbsupport.ru/

MAdotcom 06-26-2013 06:15 PM

Quote:

Originally Posted by RFViet (Post 2411488)
It doesn't work for me. I'm using vb 4.2 p3, after importing the plug-in and turn it on. It shows nothing but the picture links as shown in the attachment. Any idea about this problem ?

I am having a similar problem. Some pictures are not displaying and others are. I have a bunch of pictures and one will randomly show '269'

Any ideas?

RFViet 06-26-2013 07:22 PM

Quote:

Originally Posted by MAdotcom (Post 2430646)
I am having a similar problem. Some pictures are not displaying and others are. I have a bunch of pictures and one will randomly show '269'

Any ideas?

Run Album Rebuild Update. It works for me !!

MAdotcom 06-27-2013 05:26 PM

Thank you I will give that a shot :)

Toorak Times 06-28-2013 10:42 AM

Quote:

Originally Posted by K!nG (Post 2428603)
Hey everyone,
When i installed this mod. It not showing my album pics in same size, they all are in different size some are way too big and some are normal. Please see the attached screenshot and see if anyone can help me in showing these pics in one same size.

http://img545.imageshack.us/img545/5961/867g.png


Early in this thread you'll find a fix, how do we get a sticky of the fixes and modifications to this modification, I have to go find it myself so I'll get back to you if I do find it

tonmo 08-11-2013 01:21 PM

This does not seem to uninstall from vb5. Following the uninstall option yields apparent success, but it still appears as an option under Settings, and when you go back to >Products it's there again...

Edit: disabling seems to work, but not uninstalling.

placeshifter 08-28-2013 10:16 PM

Quote:

Originally Posted by MrEyes (Post 1926936)
Unless I am missing something, which is entirely possible, the mod doesn't currently respect profile privacy settings. As an example, if a member selects that only friends can see their album the thumbnails from that album may still be displayed. Arguably if the member has selected that option then the thumbnails shouldn't be displayed either.

To fix this the main SQL select needs to change to include:

LEFT OUTER JOIN profileblockprivacy AS pbp ON (pbp.userid = album.userid AND pbp.blockid = 'album')

and

AND (pbp.requirement = 0 OR pbp.requirement IS null)

Has this been included in the mod or is it still a privacy nightmare?

Where should this be added ? Thanks!

Pop's Stang 10-16-2013 06:01 PM

I have installed this mod on my site. Everything seems to be working fine, and thanks to the help from post #140 I now have it on the navbar. The problem I am having is that I have a few random pictures that show up larger than others. I ran the "Rebuild Recently Updated Albums" as others have suggested, but that didn't seem to solve the problem.

Does anyone have a suggestion? Thanks.

vb: 4.2.0
www.stangalley.com/forum.php


https://vborg.vbsupport.ru/external/2013/10/39.png

Pop's Stang 10-19-2013 12:52 AM

Quote:

Originally Posted by Pop's Stang (Post 2453921)
I have installed this mod on my site. Everything seems to be working fine, and thanks to the help from post #140 I now have it on the navbar. The problem I am having is that I have a few random pictures that show up larger than others. I ran the "Rebuild Recently Updated Albums" as others have suggested, but that didn't seem to solve the problem.

Does anyone have a suggestion? Thanks.

vb: 4.2.0
www.stangalley.com/forum.php


https://vborg.vbsupport.ru/external/2013/10/39.png

Never mind...some how it fixed itself. :confused:

Reece^B 10-19-2013 05:06 PM

How do you let guests view this? So far only members.

Pop's Stang 10-22-2013 08:14 AM

Quote:

Originally Posted by Reece^B (Post 2454660)
How do you let guests view this? So far only members.

Adminup>Usergroup>Usergroupmanger>Unregistered/notonline> user album permisson click yes.

Reece^B 10-26-2013 12:49 PM

I've selected can view albums / can have albums.

Still displays nothing?

giorgioarmani 01-16-2014 07:24 PM

How can I move this from the What's Going On section to below the navbar?

mudrunner 03-31-2014 01:23 AM

Quote:

Originally Posted by SonicGT (Post 1975830)
Ok so I've been wanting this above my forum as alot of people and seeing the one post that told how to do it got me wanting it more, but I have an ad and don't want to replace it. So here is what I did to get it up on the top of the forum, and can be collapsed. this does take a decent amount of editing to do, and use these steps at your own risk, and I hope im not imposing too much by sharing these changes to get the result I was looking for

Go to products and edit the New Album Picture Forum Home product
replace

PHP Code:

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

with

PHP Code:

$newpics2 $templater->render();
vB_Template::preRegister('navbar', array('resimler' => $newpics2)); 


This is from page 10 post 140

So I've been wanting to do this, but I can't figure out how to edit the product.
If I edit the XML file I see $template_hook['forumhome_wgo_pos2'] .= $templater->render();

NOT: 'forumhome_wgo_pos1'

is that the correct line? Or am I looking in the wrong place?
The only way I figured out how to edit the product was the XML file itself then re-upload it.

I can handle editing the templates.

Thanks

RichieBoy67 03-31-2014 04:28 AM

You edit the product in the plug in manager.

------------------------------

BTW - I have recently disabled this plug in due to it not showing images correctly in Internet Explorer. I have not yet gone through this though to see if it is something else with in my site causing the issue other than this plug in.

RichieBoy67 03-31-2014 04:34 AM

## -Update - I am just looking into this and I see none of the album images are showing up in the latest Internet Explorer.

mudrunner 03-31-2014 07:20 PM

Quote:

Originally Posted by RichieBoy67 (Post 2490574)
You edit the product in the plug in manager.

OK Found it, thanks! Works great.


Quote:

Originally Posted by RichieBoy67 (Post 2490575)
BTW - I have recently disabled this plug in due to it not showing images correctly in Internet Explorer. I have not yet gone through this though to see if it is something else with in my site causing the issue other than this plug in.

## -Update - I am just looking into this and I see none of the album images are showing up in the latest Internet Explorer.

I would check the rest of your plugins...I have it work with chrome, IE10 & IE11 regardless of the mod to move it to top. Works both ways.

Thanks for the help.

RichieBoy67 03-31-2014 08:07 PM

Quote:

Originally Posted by mudrunner (Post 2490708)
OK Found it, thanks! Works great.




I would check the rest of your plugins...I have it work with chrome, IE10 & IE11 regardless of the mod to move it to top. Works both ways.

Thanks for the help.

No problem.


I found out my internet explorer issue has nothing to do with either of these plug ins, gallery or this one. It is something else with my site. Thanks

K!nG 04-08-2014 12:08 AM

Can someone please tell me what's the original vBulletin theme coding which goes in
newalbum_print and newablum_picture. I will really appreciate if someone can give/tell me the original codes of these two templated for official vb theme.

Thanks in advance.

RichieBoy67 04-11-2014 11:26 AM

Here ya go

Newalbum_print
PHP Code:

<div id="wgo_onlineusers">
                <
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



newablum_picture
PHP Code:

<td align="center">    
        <
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>
</
td


Mattie Num Nums 04-13-2014 07:09 PM

Thanks guys for all the template edits.

K!nG 04-21-2014 03:30 PM

Is it possible i can modify this to pick images from specific forums, instead of random albums ?

I have one designing section and i only want to show those designed pics at forumhome.

If anyone think it's possible and can help me i will really appreciate it.

Thanks.

HolyKiller 04-26-2014 04:11 PM

I can confirm that the mod works fine on 4.2.2 PL1

carmine3838 06-14-2020 05:49 PM

installed on 4.2.5 and works great

templaters 11-01-2022 07:54 PM

How to make photos on homepage larger

templaters 11-01-2022 09:59 PM

no-one -knows, how to resize photos on the homepage

templaters 11-04-2022 01:45 AM

All the answers and no one knows how to help me.

yilmaz 11-04-2022 10:06 AM

1 Attachment(s)
Quote:

Originally Posted by templaters (Post 2608969)
All the answers and no one knows how to help me.


I added two new options

https://i.postimg.cc/7JVHYxjK/screen...4-12-04-20.png


All times are GMT. The time now is 05:55 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.01653 seconds
  • Memory Usage 1,837KB
  • 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
  • (4)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (33)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