Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

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
  #392  
Old 02-23-2012, 02:39 AM
K!nG K!nG is offline
 
Join Date: Dec 2010
Location: United States
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello guys,

I just installed this mod on 4.1.10 and it does work but here is the problem.. Images are running off the forum page and way too big. also how can i have them to set as one size and show on top of the forum instead of bottom.
One most important thing for me to know is there any way possible that i can just set it up to pick up latest pictures from one specific section instead of random ????

Thanks in advance.

Reply With Quote
  #393  
Old 02-23-2012, 03:20 AM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love this, Thanks
Reply With Quote
  #394  
Old 02-23-2012, 03:07 PM
wizzie wizzie is offline
 
Join Date: Aug 2006
Location: Worcs, UK
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi guys, can you please tell me where I can find this template

Template Newalbum_print

Thanks
Graham
Reply With Quote
  #395  
Old 03-03-2012, 11:46 PM
Jpolola Jpolola is offline
 
Join Date: Mar 2011
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and Thank you! Working fine at vb 4.1.8
Reply With Quote
  #396  
Old 03-05-2012, 11:47 PM
Mopar1973Man's Avatar
Mopar1973Man Mopar1973Man is offline
 
Join Date: Mar 2007
Location: New Meadows, Idaho
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wizzie View Post
Hi guys, can you please tell me where I can find this template

Template Newalbum_print

Thanks
Graham
Go to template search and type in the newalbum string and it will take you there... It not where you think its going to be...
Reply With Quote
  #397  
Old 03-23-2012, 02:03 AM
ywwz ywwz is offline
 
Join Date: Jul 2009
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pls update ah...4.1.11 now la.
Reply With Quote
  #398  
Old 03-23-2012, 06:24 PM
HolyKiller HolyKiller is offline
 
Join Date: Dec 2006
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works fine with vB 4.1.11. Anyway here is a small fix for the following bug:



After fix:


Edit template: newalbum_print

Find:
Code:
<div id="wgo_onlineusers" class="wgo_subblock">
Replace with:
Code:
<div id="wgo_onlineusers" class="wgo_subblock section">
Find:
Code:
<h3><img src=
Replace with:
Code:
<h3 class="blocksubhead"><img src=
Reply With Quote
2 благодарности(ей) от:
Sunka, zonaenlinea
  #399  
Old 04-06-2012, 03:41 AM
zonaenlinea's Avatar
zonaenlinea zonaenlinea is offline
 
Join Date: Dec 2009
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a problem my squad: newalbum_print

Quote:
<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>
this well and I find that I have to change please and thank you very much
Reply With Quote
  #400  
Old 04-06-2012, 11:10 PM
AndrewRich's Avatar
AndrewRich AndrewRich is offline
 
Join Date: Dec 2007
Location: Palo Alto, CA
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on MousePad (see signature) with modifications from post 199. However, several of the current "most recent five" images are broken and the plugin doesn't seem to verify that the images are valid before it displays them. Any ideas?
Attached Images
File Type: jpg Screen Shot 2012-04-06 at 5.10.14 PM.jpg (109.1 KB, 0 views)
Reply With Quote
  #401  
Old 04-08-2012, 11:53 PM
michaelbang michaelbang is offline
 
Join Date: Apr 2012
Posts: 52
Благодарил(а): 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
I can't seem to find template Newalbum_print nor Newalbum_picture. I'm looking in Options>Edit Templates> ??

Am I doing it wrong? Thank.
Reply With Quote
Reply


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 08:00 PM.


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.06214 seconds
  • Memory Usage 2,364KB
  • Queries Executed 28 (?)
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
  • (8)bbcode_code
  • (3)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
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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