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)
-   -   Mini Mods - YBMF-Image Thang-New Latest Album Pictures - Forum Home ( Extension ) (https://vborg.vbsupport.ru/showthread.php?t=233707)

testbot 02-21-2010 02:40 PM

May i add a few suggestions for the next release?

the js files should go in clientscript/somefolder. maybe /clientscript/ybmf? i put mind in /clientscript/js for now.

i also made a plugin with a template hook so no edit needs to be made to the headinclude template. the less template edits the better. the code is below. i haven't looked at the code for the newalbum_picture template but i'm sure there's a template_parse you can do there too.

plugin:
Code:

$template_hook['headinclude_css'] .= "\n" . '
<script type="text/javascript" src="clientscript/js/cvi_text_lib.js"></script>
<script type="text/javascript" src="clientscript/js/instant.js"></script>'. "\n";


Jabong82 02-21-2010 06:34 PM

Nice Mod.

Hey TimberFloorAu, does the original mod show the latest Albums of User's friends/contacts, or is it a mod for latest albums of EVERYONE on the forum?

If it is for EVERYONE, is there a way to only show the albums of say a user's friends? Would there be a way to do this?

Thank you in advance

TimberFloorAu 02-21-2010 06:38 PM

Quote:

Originally Posted by testbot (Post 1988086)
May i add a few suggestions for the next release?

the js files should go in clientscript/somefolder. maybe /clientscript/ybmf? i put mind in /clientscript/js for now.

i also made a plugin with a template hook so no edit needs to be made to the headinclude template. the less template edits the better. the code is below. i haven't looked at the code for the newalbum_picture template but i'm sure there's a template_parse you can do there too.

plugin:
Code:

$template_hook['headinclude_css'] .= "\n" . '
<script type="text/javascript" src="clientscript/js/cvi_text_lib.js"></script>
<script type="text/javascript" src="clientscript/js/instant.js"></script>'. "\n";


If you would like to release this as a Product please do so, I dont use albums or this hack, because of other projects. So cannot test, I give you my blessing :)

Ste

Quote:

Originally Posted by Jabong82 (Post 1988252)
Nice Mod.

Hey TimberFloorAu, does the original mod show the latest Albums of User's friends/contacts, or is it a mod for latest albums of EVERYONE on the forum?

If it is for EVERYONE, is there a way to only show the albums of say a user's friends? Would there be a way to do this?

Thank you in advance

This hack just changes the appearance of the images, everything else is pretty much catered for in the original Mod.

Ste

Jabong82 02-21-2010 06:40 PM

Cool thank you for the reply.

Did the original mod default to showing every member's albums, or was it restricted to only user's contacts/friends?

Thank you again.

setishock 02-21-2010 07:15 PM

I have downloaded this and set it aside for now. I'm waiting until I get updated to 4.0.2.
Thanks for adding to Atakan's product. Gives it character.

TimberFloorAu 02-21-2010 08:16 PM

It has two choices from recollection:

Random album images
Latest album images

If a user marks a album as private I think it respects that condition.

Ste

oddmud 02-21-2010 08:34 PM

I followed your instructions, and it's not doing anything.

TimberFloorAu 02-21-2010 08:47 PM

Quote:

Originally Posted by oddmud (Post 1988341)
I followed your instructions, and it's not doing anything.

Thats a bugger innit.

Wanna send a test link so we can check it out.

oddmud 02-22-2010 04:03 PM

<a href="http://www.goaliecrease.net" target="_blank">http://www.goaliecrease.net</a>

shows the original but doesn't change the look of them.

TimberFloorAu 02-22-2010 07:44 PM

Send me test account details to login and check on user side


All times are GMT. The time now is 08:37 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.02527 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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