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


All times are GMT. The time now is 03:31 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.01739 seconds
  • Memory Usage 1,750KB
  • 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
  • (7)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