vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Random Images Anywhere (https://vborg.vbsupport.ru/showthread.php?t=94433)

Big_Ern 02-03-2006 06:53 PM

Quote:

Originally Posted by concepts
How do I put this into a module? for my CMPS?

has anyone figured out how to do this?

Dsyn11 02-13-2006 12:35 AM

Ditto on the CMPS thing. it doesn't work.

Dsyn11 02-18-2006 04:31 AM

Is this thread abandoned? CMPS, anyone?

jugo 03-10-2006 01:44 PM

Quote:

Originally Posted by fabriceg
Hi,

Sorry for this silly question, but? where did you set vars (the path, etc.) ?

$folder = $vbulletin->options['randimg_path'];
$imgurl = $vbulletin->options['randimg_url'];
$exts = $vbulletin->options['randimg_types'];


In the vBulletin Options.

jugo 03-10-2006 01:45 PM

Quote:

Originally Posted by Dsyn11
Is this thread abandoned? CMPS, anyone?


Sorry, been very busy lately.

This should enable the variable in any template for any vB Powered page which includes the global_start hook.

I will investigate if this is not the case and fix it.

again, sorry for the absence.

Giray 03-19-2006 11:50 AM

Does the $randpic variable work only in templates or also in phrases?

snowman872 03-21-2006 01:48 AM

I've installed this hack and use it to display a random photo of certain forum members at the top of each page. Everyone likes this feature, but multiple people have asked if there is a way I can identify the person in the picture. At present I just a static (generic) "Forum Member" description under it.

It would be a awesome enhancement to this hack, if each image in the random pool could be associated with a particular short line of text for a description. The description could display under the image.

Thanks!

Giray 03-21-2006 02:27 AM

Worst case scenario, why not add the text to the 'image' itself? Just add a little band at the bottom and write you caption in Photoshop... Just a thought :knockedout:

KevinL 03-28-2006 12:45 PM

This works great! Just what I was looking for!

dodgechargerfan 03-30-2006 12:07 AM

Quote:

Originally Posted by snowman872
I've installed this hack and use it to display a random photo of certain forum members at the top of each page. Everyone likes this feature, but multiple people have asked if there is a way I can identify the person in the picture. At present I just a static (generic) "Forum Member" description under it.

It would be a awesome enhancement to this hack, if each image in the random pool could be associated with a particular short line of text for a description. The description could display under the image.

Thanks!

I wanted something similar - I wanted the tool tip to have the username in it when you hovered your mouse over the picture.

I managed to get it done.
https://vborg.vbsupport.ru/showpost....3&postcount=69

I suppose you could tweak that to put the name underneath the picture using just some html.

The trick is that the text is part of the filename.

Another thing: that function looks for .jpg and strips it out. So, it messes up this name support for other file types. The random picture code will still work but the name will say "filename.gif" instead of "filename"


All times are GMT. The time now is 09:30 AM.

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.01242 seconds
  • Memory Usage 1,739KB
  • 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_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