Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
New Latest Album Pictures - Forum Home Details »»
New Latest Album Pictures - Forum Home
Version: 1.00, by Atakan KOC Atakan KOC is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.0.0 Beta 3 Rating:
Released: 11-21-2009 Last Update: Never Installs: 799
DB Changes Uses Plugins Template Edits Auto-Templates
Re-useable Code Translations  
No support by the author.

NEW Latest Album Pictures - Forum Home

It shows the pictures added to the albums on the main page. It shows only the public mentioned files. If not shows the reasons are: vbulletin settings show albums must be enabled.

The user grup that owns the pictures must be enabled show picture setting. Or there is no picture to show.

Additionally you can slect the number of pictures that can be shown.

Hope it works for you as I like it very much.

install

Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-newalbum.xml' from your computer then press 'Import'

Modifications Info

Plugin : 2
Phrases : 9
Template : 2
Setting : 3
Query : 1 Query

Latest Posts Setting

Go to your admin cp, then:
vBulletin Options -> New Album Picture ->

Versions:
v1.0 -First release

Download Now

File Type: xml product-newalbum.xml (5.6 KB, 4356 views)

Screenshots

File Type: jpg vB4 Forums_1258911725166.jpg (59.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
alhidaya, Toorak Times

Comments
  #252  
Old 07-30-2010, 02:49 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by avitor View Post
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 ^^
Reply With Quote
  #253  
Old 07-31-2010, 02:07 PM
rares.stanescu rares.stanescu is offline
 
Join Date: May 2010
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #254  
Old 08-06-2010, 05:10 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #255  
Old 08-06-2010, 06:41 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mobe00 View Post
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


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
Attached Images
File Type: bmp image.bmp (276.4 KB, 55 views)
Reply With Quote
  #256  
Old 08-13-2010, 05:41 AM
Peter_AUS Peter_AUS is offline
 
Join Date: Oct 2007
Location: Sydney Australia
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #257  
Old 08-13-2010, 01:21 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Peter_AUS View Post
No we can't. You must have it turned off for Guests.
Reply With Quote
  #258  
Old 08-13-2010, 10:46 PM
Peter_AUS Peter_AUS is offline
 
Join Date: Oct 2007
Location: Sydney Australia
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Attached Images
File Type: jpg forumimages.jpg (42.0 KB, 0 views)
Reply With Quote
  #259  
Old 08-14-2010, 08:59 AM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure what settings you have, I've used YBMF's and modified it, read my post further back.
Reply With Quote
  #260  
Old 08-14-2010, 11:08 PM
Peter_AUS Peter_AUS is offline
 
Join Date: Oct 2007
Location: Sydney Australia
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RobbieZ View Post
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.
Reply With Quote
  #261  
Old 08-22-2010, 05:50 AM
NNJJ NNJJ is offline
 
Join Date: Dec 2001
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any update?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06347 seconds
  • Memory Usage 2,346KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete