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)

bjarne2 05-21-2010 11:57 AM

1 Attachment(s)
With this little add-in ccs code can this also be used to vBulletin 4.03

class="wgo_subblock"

ArchAngelz 05-23-2010 04:08 PM

I'm trying to get the exact same result you are, but for some reason even after doing the template edits, it doesn't show up!

I'm on vb4.02PL1, not sure if it makes a difference.

Before the template edits:

https://vborg.vbsupport.ru/external/2010/05/19.jpg

After doing the two template edits:

https://vborg.vbsupport.ru/external/2010/05/20.jpg

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


ArchAngelz 05-23-2010 04:34 PM

Worked with your edits and they seem to work best for me.

I only need to know how to make the header row thicker; the part that you have in blue surrounding the words "Random Album Picture". I couldn't see where I need to edit in the newalbum_print template.

Am trying to make the thickness similar to that of the other forum headers:

https://vborg.vbsupport.ru/external/2010/05/17.jpg

Quote:

Originally Posted by SonicGT (Post 1977723)
to make the bold title just change
PHP Code:

{vb:raw resimlery

to
PHP Code:

<b>{vb:raw resimlery}</b

in the newalbum_print template

Im not sure what you mean by background, but since I posted my change, I've changed it again using some of the code in YBMF extention for this mod
https://vborg.vbsupport.ru/showthread.php?t=233707

so now mine looks like this

https://vborg.vbsupport.ru/external/2010/05/18.jpg

to do this just grab the js files like he mentions in that extention and change the newalbum_picture to what he has in his extention. dont change the print template to his extention if you want the look I have.


WassoufTunClub 05-29-2010 12:57 AM

Please how to add this mod in vbadvanced 4.0 thanx

Amiga Harrison 06-10-2010 02:30 PM

I've used TimberFloorAu's extension to make this look much nicer and I'm pleased with the results. I also want to keep it located at the bottom of the forum where it currently is. However I'm also using some other mods by Paul M which add sections to the "What's Going On?" section to display ttoal members visiting today, and total members posting today. And with these active the album pictures are appearing in the middle of this lot.

Is there an easy way to reorder where in the What's Going on bot that this mod will appear. I would ideally want to have it below the statistics part, and above the Icon Legends part. Is there an easy hook edit in this mod's (TimberFloorAu's extension) code to alter the order it appears?

bsalu 06-12-2010 05:15 AM

Is there anyway to make this show the albums on all pages, not only on forum home?

Thanks

MrBig 06-23-2010 03:28 AM

how can i make this show at the top of the forum and not the lower part?

Videx 06-23-2010 02:49 PM

Quote:

Originally Posted by MrBig (Post 2057875)
how can i make this show at the top of the forum and not the lower part?

That's been covered. I'm not going to read back and find it for you, but when you find it you may want to remind others how to do it.

Note that whenever you install any modification you should take the time to read through the entire thread. Some mods simply don't work and you won't know that unless you do.

I'd still like to see some options for which pics to display - specifically, "show only pics newer than x days".

Noerenberg 06-26-2010 06:24 PM

hi,

i have change the group permission, but the guest cant see the images

Silver44 07-07-2010 08:45 AM

Hello

is it possible if I click on one of the pictures which I will forward where there is zufinden image.

For example: I have classifieds and top are the pictures to who does what has to give
now I want when I click it the following picture will be redirected to a contribution that is possible to create verlinkung? and if so how does that

lg.silver


All times are GMT. The time now is 03:17 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.02444 seconds
  • Memory Usage 1,755KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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