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)

jugo 08-19-2005 11:52 AM

Quote:

Originally Posted by Brinnie
so can i display it on an extenal page or a completly different website if I wanted?


Ummmm...yes to the top one as long as you include GLOBAL.PHP (correct me if I am wrong Master Coders) :nervous: ..

And no to the second one because it creates the variable for the current page.

Quote:

Originally Posted by Living in music
In order to works,how do I declare(means that:to view 2 or 3 image,how I fill that blank) information at Image Filename Delimeter frame for this mod?

if your delimeter is "rand" then the filenames of your random images shoulr start or contain "rand" in it.

for example, in your images directory you have the following files:

image_01.gif
paramond.lpg
test.png
randcrazy.gif
randplay.png
collosal.gif
randjugo.jpg

Since the delimeter is "rand" the only files that will be cycled in the script are:

randcrazy.gif
randplay.png
randjugo.jpg

Quote:

Originally Posted by GrendelKhan{TSU
did I do this right?
[list=1]for the PATH and URL to Images, I used:
h ttp://ww w.mysitename.com/forums/images/random/
(I created a folder called "random")


The URL is correct BUT the PATH has to be the filesystem path as in "/home/name/public_html/forums/images/random/"

ggiersdorf 08-19-2005 12:11 PM

Can I use this in multiple locations on my site? Say one in a portal and one in a forum dedicated to a specific subject?

Almost ready to hit install :)

Cyricx 08-19-2005 01:39 PM

Thought for ya Jugo on the per style thing.

What if the delimiter was set per style?

Then as you describe it would only grab the images that started with that delimiter so if for example if you had the images

style_a_image1
style_a_image2
style_b_image1
style_b_image2

then you would set the delimiter for style a to "style_a" and similiar for style b

It may be completely off from how it would have to be done, just spitting ideas out from my insane noggin for ya as I know the style thing is giving ya a headache :)

jugo 08-19-2005 02:29 PM

Quote:

Originally Posted by ggiersdorf
Can I use this in multiple locations on my site? Say one in a portal and one in a forum dedicated to a specific subject?

Right now it just uses one variable, so it will display the same image on every page. I just paused my brain and though of it, it is definitely possible. But I'm gonna try and figure out the following request first.

Quote:

Originally Posted by Cyricx
Thought for ya Jugo on the per style thing.

What if the delimiter was set per style?

Then as you describe it would only grab the images that started with that delimiter so if for example if you had the images

style_a_image1
style_a_image2
style_b_image1
style_b_image2

then you would set the delimiter for style a to "style_a" and similiar for style b


I got the settings all set for this, except that for some reason the code is not parsing correctly....it's still using the same image for both and it's not picking up the style ID correctly...

been trying to get some help from the "Master Coders" here but two posts and no response yet....i'll wait and explore until i get it though, cause I like this idea.

ggiersdorf 08-21-2005 07:40 PM

Jugo any anwsers on my post? Or are you working on something else?

Sai01 08-28-2005 07:58 AM

i don't get this...where do i put the picture and how many picture can be rotated?

jugo 08-29-2005 12:28 PM

Quote:

Originally Posted by ggiersdorf
Jugo any anwsers on my post? Or are you working on something else?

Read the post right above yours...i answered it.

Quote:

Originally Posted by Sai01
i don't get this...where do i put the picture and how many picture can be rotated?

Put the images wherever you want...Just make sure that their names includes the "delimeter" you speify in the settings and that they are within your web accessible directories. There's no limit to the number of images (although I don't recommend having hundreds and thousands of images because that may slow down the script...

ggiersdorf 08-29-2005 02:40 PM

Jugo I have an Idea that you might be able to help with. I want to place the random image in the background of the New Thread/ Reply Box and set the Size of those boxes to a fixed size. Would you know how to accomplish this?

It would make a Unique experience. (Obvoiusly the images need to be somewhat translucent)

jugo 08-30-2005 11:43 AM

Quote:

Originally Posted by ggiersdorf
Would you know how to accomplish this?


You can use this as well. Just use the variable as your background image like this:

HTML Code:

style="background: URL($randpic);"
and that should cycle through the images and place them as the background image.

ggiersdorf 08-30-2005 12:31 PM

Quote:

Originally Posted by jugo
You can use this as well. Just use the variable as your background image like this:

HTML Code:

style="background: URL($randpic);"
and that should cycle through the images and place them as the background image.

Jugo sorry to be a twit, but how can I use this in the CSS section: I dont want to add the HTML I cant to apply it to the WYSIWYG editor in the CSS section. What command would that use?


All times are GMT. The time now is 07:54 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.01395 seconds
  • Memory Usage 1,750KB
  • 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_html_printable
  • (9)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