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)

TrailRecon 01-02-2010 12:41 AM

Quote:

Originally Posted by dcuellar (Post 1936934)
Here's what I did.

Replace contents of template newalbum_print with (same as before):
Code:

<div id="wgo_onlineusers" class="wgo_subblock">

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


Replace contents of template newalbum_picture with:
Code:

<td align="center" height="140px" style="background: url('images/misc/frontdrop.gif') no-repeat bottom; height:125px">       
                <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>



And put the attached image within your 'root/images/misc' directory.

Awesome! thank you for that..looks great!

I added {vb:raw lpicture.title} as the alt. For some reason I could not get the caption rawphrase to operate for the alt. any ideas?

And for anybody that has their thumps set larger you can add height="70px" to the image anchor to force the size

Thanks once again guys! <clicks installed>

Preserved-steam 01-02-2010 10:37 PM

Quote:

Originally Posted by Doctor Death (Post 1940424)
Would really like to see the gray lines on the left and right be restored if at all possible.

Im having the same problem, but ive seen that other people are not having a problem so im not sure, does anyone have an idea why this is happening?

TrailRecon 01-03-2010 01:54 AM

Might want to take a look again at post 34 and 35 :D

kkKunan 01-03-2010 05:28 PM

Thanks!!:up:

movslow 01-03-2010 05:44 PM

Quote:

Originally Posted by movslow (Post 1944463)
Bump ?
:confused:

Nobody care?

garretbyrne 01-03-2010 06:12 PM

Quote:

Originally Posted by TrailRecon (Post 1944492)
Awesome! thank you for that..looks great!

I added {vb:raw lpicture.title} as the alt. For some reason I could not get the caption rawphrase to operate for the alt. any ideas?

And for anybody that has their thumps set larger you can add height="70px" to the image anchor to force the size

Thanks once again guys! <clicks installed>

Hi I was wondering where would I edit the settings?? Is it in the xml or some template but what is the template called..

Cheers Mate

TrailRecon 01-03-2010 08:13 PM

Quote:

Originally Posted by garretbyrne (Post 1946195)
Hi I was wondering where would I edit the settings?? Is it in the xml or some template but what is the template called..

Cheers Mate

well, for settings you would go to admincp>Settings>OPtions>Newalbum Picture

for template information, see the other previous posts. They listed the templates for different alterations.

+1 to the OP for uploading this. Thank you

garretbyrne 01-04-2010 10:31 PM

I don't know where the templates are located thats my issue..

Cheers

[EDIT] I've found the templates and made the change.. for others who might be lost the templates mentioned are location in New Posting Templates..

Cheers

abdulbasitsaeed 01-05-2010 04:05 AM

Installed and works fine. Hope that the author would be releasing a version with all the above mentioned fixes in it too. :)

Quote:

Originally Posted by BBR-APBT (Post 1926370)
Replace the templates with the following code.

Template newalbum_print
Code:

<div id="wgo_onlineusers" class="wgo_subblock">

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


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>


P.S. This will also add the code for the album name and the user the photo belongs too.

Thank you very much for this fix. :)

movslow 01-06-2010 04:27 PM

Bump for updates.


All times are GMT. The time now is 06:26 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.01626 seconds
  • Memory Usage 1,752KB
  • 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
  • (6)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