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)

Flyte 07-15-2010 09:53 PM

Has anyone figured out how to re-size the displayed thumbnail images yet?

dwkmi 07-18-2010 05:15 PM

Quote:

Originally Posted by jandb (Post 1952276)
Would like this to be under the nav bar. Any idea when this will be updated?

Quote:

Originally Posted by movslow (Post 1956679)
We have asked this like 15 times, yet everyone ignores it?

I don't understand.

:confused:

Quote:

Originally Posted by sdavis2702 (Post 1960578)
Great hack but I think it needs more flexibility. I will keep my eye on this one for future upgrades. I hope that this can eventually placed below the navbar in it's own div and have the username and album linked underneath. I see that there are ways to do it, and I did it, but I would like for it to be more automated as movslow stated. Again... I'll keep my eye on this one!

Quote:

Originally Posted by Under_Dog (Post 1963017)
Please add to the list of requests... a Header option.

Quote:

Originally Posted by Under_Dog (Post 1963412)
I'd be willing to donate a few bucks to expedite an update for header placement (Top of forum) and for the above member mentioned options.

X50

furst 07-19-2010 11:33 PM

is there anyway to collapse and hide the random album pictures with a button? or is there some way of letting users disable it if they need to so they can view the forum at work etc? this would really come in handy.

beatyourtruck 07-21-2010 02:34 AM

I would like to see the ability to choose what album(s) are being accessed. Example: my forum has a monthly picture contest with different themes and I have a dedicated album to store all the winners. It would be cool to see random pics from this album appear, even in a sidebar block?

Silver44 07-21-2010 04:27 AM

@ Flight
if you mean the size in the miniature views
you can set in the ACP
lg.silver

now know how I can make a one of the pictures linking, so if I click on it so I wil about Wisen ver??

RobbieZ 07-21-2010 05:34 AM

Quote:

Originally Posted by Flyte (Post 2069733)
Has anyone figured out how to re-size the displayed thumbnail images yet?

Instructions to make your picture larger:

AdminCP > Settings > Message Attachment Options > Thumbnail Size (150 px looks good)

Now goto Update Counters > Rebuild Attachment Thumbnails.

Do not forget if you have already uploaded pictures you must upload them again!!

To change the album title at the bottom for the image description:

Find newalbum_picture template

Look at the last four lines.

Code:

<br />
{vb:raw lpicture.title}
<p style="clear: left;"></p>
</td>

and change this line {vb:raw lpicture.title} to {vb:raw lpicture.caption}

_________________________


Use YBMF's hack along side with this to move the pictures under the navbar.

Peter_AUS 07-23-2010 12:46 AM

I have installed this and made the changes to show it underneath the navbar, but I am getting reports from people using IE that they can't see the image, just a red X. As I generally use Firefox I checked using IE8 and yes that is the case. The check box under options for show picture is ticked. Anyone got any ideas on how to resolve this issue please, as it is a bit pointless not being able to see the image.

Thanks, the product does work on 4.0.5 by the way. Just this one issue.

RobbieZ 07-29-2010 01:32 PM

Checked on IE8 all working.

have you tried right clicking and view image on the red 'x' see if the path it follows is true?

Peter_AUS 07-29-2010 10:00 PM

I have resolved this issue, it was the fact that I had jpg in the attachments allowed, and it was looking for actually jpeg as the content string. I put the e in to the jpg one and it worked again.

avitor 07-30-2010 01:55 PM

hi
how i can control the size of the pictures in this mod ?

it's show's in realy big images for me
thanks

RobbieZ 07-30-2010 02:49 PM

Quote:

Originally Posted by avitor (Post 2076801)
hi
how i can control the size of the pictures in this mod ?

it's show's in realy big images for me
thanks

Read my post 4 posts up ^^ :D

rares.stanescu 07-31-2010 02:07 PM

Hey! Is any possibility to use this mod as a widget on cms page? Or can anyone suggest a widget to display pictures form albums ?

bada_bing 08-06-2010 05:10 PM

I just installed this mod on vb 4.05 and works OK except I noticed that the spacing between each image is HUGE. I only have 2 total album pics and they are spaced apart by almost serveral images.

bada_bing 08-06-2010 06:41 PM

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



Does anyone know how to change the background color of the Random Album Picture block as mine shows up gray but my style is black

Peter_AUS 08-13-2010 05:41 AM

Anyone know how to get the description showing underneath the pictures to display better.

At present I have the title of the image, the owner and the date, but it displays all in one line. I have tried to add bbcode like [br] and [/br] and <br> and </br> but can't get it to display just shows that in the line.

Any ideas greatly appreciated.

You can view what I mean here http://www.passionforpixels.com/forum/forum.php

Videx 08-13-2010 01:21 PM

Quote:

Originally Posted by Peter_AUS (Post 2083085)

No we can't. You must have it turned off for Guests.

Peter_AUS 08-13-2010 10:46 PM

1 Attachment(s)
Sorry about that, still coming to terms with the settings in VB. See attachment.

Would like it to display three lines like

Australian Dingo
Owner: Alan Carmicheal (aycee)
11th Auust 2010

Not display it all in one line, well wrapped one line.

RobbieZ 08-14-2010 08:59 AM

Not sure what settings you have, I've used YBMF's and modified it, read my post further back.

Peter_AUS 08-14-2010 11:08 PM

Quote:

Originally Posted by RobbieZ (Post 2083611)
Not sure what settings you have, I've used YBMF's and modified it, read my post further back.

If you are talking about post 247 I have that already in the template, doesn't do anything.

I wonder why the normal formatting codes don't work when posting a new image?

Forgot to add, I am using only one Album as Admins are the only ones allowed to use albums, as we have a separate Gallery2 software that is mainly used. I am using this one album to shows Images of the Day of which I select one from the main albums and download and upload it to the forum to display in there. I wanted to keep the owner and title and date relevant to the post each day, maybe that might shed some light on this issue I am having.

NNJJ 08-22-2010 05:50 AM

any update?

Gosef 08-24-2010 02:54 PM

thanks ...

NNJJ 08-27-2010 05:18 PM

any chance to change the place of it????????????

moonclamp 08-30-2010 07:55 PM

Does this mod take album privacy into consideration?

SVTOA 09-06-2010 08:32 PM

Quote:

Originally Posted by rares.stanescu (Post 2077230)
Hey! Is any possibility to use this mod as a widget on cms page? Or can anyone suggest a widget to display pictures form albums ?

X2, anyone?

mattyphatty 09-13-2010 06:33 AM

Quote:

Originally Posted by SVTOA (Post 2094747)
X2, anyone?

x3 Anyone?

smelly 10-03-2010 03:09 AM

great mod,working great with a tweak here and there thanks

dollster68 10-03-2010 06:37 PM

Is there a place to change the settings in AdminCP to make only a specific usergroup's albums in the rotation?

mavigul 10-11-2010 04:04 AM

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 works fine

mavigul 10-11-2010 04:33 AM

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

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


wow thats great:up:

spider62 10-14-2010 05:29 PM

Hi, how to display the photos on several lines? thank you

8thos 10-15-2010 08:20 PM

Where the hell is 'Show Albums' at? I don't even see it. Only registered members can view albums. I want guests to be able to view the random pictures, but not be able to bring up any licks if they click on them. How do I set that up?

Goonie 10-15-2010 09:39 PM

how do i change the background colour so it matches my style?

paarmis.queen 10-15-2010 09:48 PM

tnx installed

spider62 10-18-2010 10:44 AM

Up !

Hi, how to display the photos on several lines? thank you

Cicada 10-21-2010 09:48 PM

this happened to mine today -- what could be the cause?

http://img232.imageshack.us/img232/7113/oopsf.jpg

MrBig 10-21-2010 10:32 PM

Quote:

Originally Posted by Cicada (Post 2112531)
this happened to mine today -- what could be the cause?

http://img232.imageshack.us/img232/7113/oopsf.jpg

did you upgrade you forum? i upgraded my forum to 4.08 and it just went nuts

Cicada 10-21-2010 10:56 PM

Quote:

Originally Posted by MrBig (Post 2112551)
did you upgrade you forum? i upgraded my forum to 4.08 and it just went nuts

i havent upgraded to 4.0.8 yet, i'm scheduling that for this weekend.

i _did_ play with image thumbnail settings and upload settings, but i rebuit my thumbnails [after changing the settings back] , and it's still showing the full-sized images :(

The Coon 10-23-2010 02:16 PM

Provisional arrangement after upgrading to 4.0.8:

Change template: newalbum_print

Search:
PHP Code:

<h3

Replace with:

PHP Code:

<h3 class="blocksubhead"


MrBig 10-26-2010 06:00 AM

Quote:

Originally Posted by jacko_162 (Post 1956441)
edit template: newalbum_picture

replace all with:
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="Image uploaded by: {vb:raw lpicture.musername}" border="0" /></a>
<br />
<a href="member.php?u={vb:raw lpicture.userid}">{vb:raw lpicture.musername}</a>
<br />
{vb:raw lpicture.title}
</td>

will give you a little more "tool tip" info.

nice!

ivanp 11-03-2010 05:52 PM

SQL query is very slow, should be optimized:
Code:

mysql> explain SELECT albumpicture.*, album.*, user.username, user.usergroupid,
    ->  IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
    ->  FROM attachment AS albumpicture
    ->  LEFT JOIN album AS album ON(album.albumid = albumpicture.contentid)
    ->  LEFT JOIN user AS user ON(user.userid = album.userid)
    ->  WHERE album.state = 'public' and albumpicture.contenttypeid = 8
    ->  ORDER BY dateline DESC LIMIT 0, 5;

+----+-------------+--------------+--------+--------------------------------------+-----------+---------+---------------------+------+----------------------------------------------+
| id | select_type | table        | type  | possible_keys                        | key      | key_len | ref                | rows | Extra                                        |
+----+-------------+--------------+--------+--------------------------------------+-----------+---------+---------------------+------+----------------------------------------------+
|  1 | SIMPLE      | album        | ALL    | PRIMARY                              | NULL      | NULL    | NULL                | 4929 | Using where; Using temporary; Using filesort |
|  1 | SIMPLE      | albumpicture | ref    | contentid,contenttypeid              | contentid | 4      | forum.album.albumid |    3 | Using where                                  |
|  1 | SIMPLE      | user        | eq_ref | PRIMARY                              | PRIMARY  | 4      | forum.album.userid  |    1 |                                              |
+----+-------------+--------------+--------+--------------------------------------+-----------+---------+---------------------+------+----------------------------------------------+
3 rows in set (0.00 sec)



All times are GMT. The time now is 05:21 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.02034 seconds
  • Memory Usage 1,866KB
  • 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
  • (15)bbcode_code_printable
  • (2)bbcode_php_printable
  • (18)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