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)

CodeRed 01-06-2008 11:21 PM

First off, this is a great little plugin... props to jugo!

one quick question...

is anyone else having an issue with the images not being random in FireFox?

It refreshes everytime and changes the image in Internet Explorer but in Firefox the same image remains time and time again.

Just checking thanks!

Rob Hephner 04-01-2008 09:52 PM

Quote:

Originally Posted by Krieg (Post 1159731)
When you use the CMPS tables as a new template, its content should look like this :

Code:

<tr>
<td class=alt1>
$randpic
</td>
</tr>

at least mine looks like this ;)

OK, I have messed with this for an entire day and cannot get it to work on a CMPS page.

I can get a box that looks as if it is collapsed, but that's it. (It is not collapsed, just small)

The box will show with random pictures using the preview button in the module edit section, but does not work on any page.

I am on vB 3.6.8 and I am wondering if that is where my problem lies??

Any help?

theOZer 04-02-2008 07:27 PM

A 'Heads Up' to people testing vB370RC2. This hack appears to still be working correctly/properly in vB370RC2.
Great hack.
Easy to set up.
Works.

todosbaneados 04-06-2008 04:31 PM

It works with 3.6?

theOZer 04-06-2008 06:43 PM

Try it. I had written my own randomizer for 36x but it doesn't work in 37x so I tried this hack in 37x and, voilĂ , this hack worked in 37x.
Remember to use the (default) _rand_ as a file prefix for your pics (jpgs, gifs, pngs).
~OZ

MoviePropCollec 09-27-2008 07:33 AM

How do you use this?

Where are the instructions?

theOZer 10-01-2008 05:33 PM

Copy your pics you want displayed into Images/Misc, adding prefix _rand_ to the jpeg filenames.
Here's an example of adding $randpic to the Header template:
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]
<else />
$randpic
</if>
~OZ

MoviePropCollec 01-03-2009 05:43 PM

Huh?

domainmagick 01-22-2009 02:38 AM

tested/working on 3.8?

thecore762 04-26-2009 04:41 AM

Hmm, is it possible to incorporate this with vBadvanced?


All times are GMT. The time now is 12:45 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.01659 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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