vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Home Enhancements - Latest Album Pictures - Forum Home (https://vborg.vbsupport.ru/showthread.php?t=194827)

MoMan 12-21-2010 10:58 PM

Great mod - installed!

I noticed that the fetch query takes about .2s to execute, however, which is a bit much (considering that the rest of index.php takes about .1s on my server). I've therefore applied this dynamic programming trick; works like a charm: https://vborg.vbsupport.ru/showthrea...98#post2083298

MoMan 12-21-2010 11:01 PM

Quote:

Originally Posted by viper357 (Post 2131213)
Does anybody know how to stop this from showing on the mobile and iphone styles?

Thanks.


PHP Code:

if ($styleid != x) { // forumhome plugin code } 

Were x is your mobile style id

ash50210 02-27-2011 06:41 PM

not working on ver 4.1.2....:(

zeus_r6 03-02-2011 12:46 AM

Quote:

Originally Posted by ash50210 (Post 2167626)
not working on ver 4.1.2....:(

Just tried it too...database error :(

Wish this worked, it was a great mod while I was running 3.8.x!

gungor 03-16-2011 11:21 AM

thanks, installed!!

igor123 04-09-2011 04:51 PM

great plugin! how do I make it working on all pages or at least all forums'/subforums' pages?

onealien 04-10-2011 01:09 AM

works great...looks great...thx

EDIT: wait wait....where can i change the box header? where it says "Random Album Picture"...

shibby2 04-29-2011 07:32 AM

It only shows the Random pics on the index page to logged in/registered.

Anyone know how to make it so it's shown to guests too? :(

mapleleaffans 05-06-2011 07:34 PM

Works great! Thank you! :)

plubius 06-12-2011 12:05 PM

Quote:

Originally Posted by shibby2 (Post 2189920)
It only shows the Random pics on the index page to logged in/registered.

Anyone know how to make it so it's shown to guests too? :(

Ditto?

Otherwise works great

MagicThemeParks 06-12-2011 09:33 PM

Quote:

Originally Posted by shibby2 (Post 2189920)
Anyone know how to make it so it's shown to guests too? :(

Quote:

Originally Posted by plubius (Post 2206613)
Ditto?

Otherwise works great

Has been answered a few times including here: https://vborg.vbsupport.ru/showpost....&postcount=140

supercarsanctum 08-04-2011 06:00 AM

i was wondering if its possible for me to change the text at the top that says "random album picture" is it possible? if so what template is the code in for me to change it?

viper357 08-04-2011 06:11 AM

Quote:

Originally Posted by supercarsanctum (Post 2229131)
i was wondering if its possible for me to change the text at the top that says "random album picture" is it possible? if so what template is the code in for me to change it?

It's not in a template. Search for - random album picture - under Languages and Phrases >> Search In Phrases, then simply edit it to whatever you want.

supercarsanctum 08-04-2011 04:06 PM

thanks a ton

zurnaforum 04-12-2012 11:45 AM

teşekkürler ellerine sağlık

pigpog 06-11-2012 04:28 PM

Brilliant - thanks! :)

akasej 06-15-2012 02:05 AM

Did I miss where the question about removing the user name and album name from below the pictures was answered?

That's what I'd like to do if any of you wonderful people out there can help me. Thanks!

viper357 06-15-2012 07:43 AM

Quote:

Originally Posted by akasej (Post 2339666)
Did I miss where the question about removing the user name and album name from below the pictures was answered?

That's what I'd like to do if any of you wonderful people out there can help me. Thanks!

You owe me a beer ;)

Go into your Styles and Templates and look for a template called afm_picture
In that template, near the bottom you will find this code:
Code:

<a href="member.php?u=$lpicture[userid]">$lpicture[musername]</a>
<br />
$lpicture[title]

Replace it with this code: all you're doing here is commenting out the lines by adding <!-- at the beginning and --> at the end, so it will be easy to revert back to the original by simply removing those.
Code:

<!-- <a href="member.php?u=$lpicture[userid]">$lpicture[musername]</a>
<br />
$lpicture[title] -->


akasej 06-16-2012 06:34 PM

Viper, my friend - thank you so much! Where is the button I click on to have that beer delivered to you? :)

So glad all the great users on here are supporting this mod!

Jes

desmomax 02-12-2013 02:52 PM

great mod.. i use it in my forum home with vdadvanced.. i 'd like to ask you something..
if an user upload 5 pictures in his album i see all his pictures in forum home.. is it possibile to limit 1 pictures per user for last uploaded album? in this way i can see five different user last pictures uploaded.

many thanx

mykkal 03-11-2013 01:40 PM

Atakan, is there a way to combine this with a ratings plugin to show featured images on the page by default? id like to control whats seen not all images are cool. lol

kevinh 11-19-2013 04:38 AM

Does anyone have this working in vBulletin 4.2.2 ?

webnsn 04-14-2020 02:41 AM

how to show only for one style?

webnsn 04-14-2020 02:41 AM

How to show only in - In the first post?


All times are GMT. The time now is 05:02 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.01601 seconds
  • Memory Usage 1,766KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)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