Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Random Images Anywhere Details »»
Random Images Anywhere
Version: .1, by jugo jugo is offline
Developer Last Online: Oct 2009 Show Printable Version Email this Page

Version: 3.5.0 RC2 Rating:
Released: 08-15-2005 Last Update: 08-15-2005 Installs: 121
Uses Plugins
 
No support by the author.

1st of all I really love this plugin stuff.

Now for the Release. Please be gentle as this is my first release ever.

I want to thank Loneranger because I used his XML file as a template for mine. This was fun to make. I hope you guys enjoy it.

This will allow you to display random images anywhere you want.

Features:
  • Reads from a specified directory.
  • Only reads files whose filenames contain your specified text delimeter.
  • Can specify file extensions to display (GIF JPG PNG)
  • Perfect for babe of the week, etc.

See a working example here: http://www.freaks-network.com/forum/

The header images on the left will change whenever the page is refreshed.

Note: This generates a variable. Just insert the following wherever you want the random image to appear:

PHP Code:
$randpic 

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 11-14-2005, 07:50 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice

Click install

i'm a prob, look please:

My code actual:
Code:
<td class="alt1" width="100%">
with fonction (forumhome template):
Code:
<td class="alt1" width="100%"  style="background: url($randpic);">
but don't work
Reply With Quote
  #53  
Old 11-15-2005, 06:54 AM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What if I wanna do this for my imagecash gallery how would I make it read all the files in a gallery? Or for another site?
Reply With Quote
  #54  
Old 11-15-2005, 10:30 PM
Tru2Chevy Tru2Chevy is offline
 
Join Date: Sep 2005
Location: New Jersey
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tru2Chevy
n00b question....

I have just installed this, and I have three different banners saved in a file. I'm pretty sure that I have the relative path correct, and I know that I have the URL correct, however I do not know where or how to place the $randpic variable.

I tried just replacing the title image path in the AdminCP -> Style Manager -> StyleVars with the variable name, however when I do that I just get the default link to appear, and no image at all.

Can someone provide some clear instructions on how to do this?

TIA

- Justin
:crickets:

Is anyone using this with vb 3.5.0? If so, could you tell me where to place the variable in order to make this work? I'm lost....

- Justin
Reply With Quote
  #55  
Old 11-16-2005, 04:20 PM
datruth55 datruth55 is offline
 
Join Date: Aug 2004
Location: North Carolina
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tru2Chevy
:crickets:

Is anyone using this with vb 3.5.0? If so, could you tell me where to place the variable in order to make this work? I'm lost....

- Justin
You need to put the $randpic variable in tags.

<tr>
<td>$randpic</td>
</tr>

Something like that where ever you want it on your board. You will need to modify the template.
Reply With Quote
  #56  
Old 11-16-2005, 07:43 PM
Tru2Chevy Tru2Chevy is offline
 
Join Date: Sep 2005
Location: New Jersey
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by datruth55
You need to put the $randpic variable in tags.

<tr>
<td>$randpic</td>
</tr>

Something like that where ever you want it on your board. You will need to modify the template.
Thanks, however that still doesn't answer my question of where to put it. Everytime I look for something about changing the logo I just get directed to the AdminCP to change the image path.

Can you tell me the name of the template that needs to be modified to add this?

- Justin
Reply With Quote
  #57  
Old 11-17-2005, 01:42 PM
shiola's Avatar
shiola shiola is offline
 
Join Date: Apr 2005
Location: UK
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be modified (or is there another hack) so I can put random quotes on my forum? So I need it to work with text not images, with some kind of text manager.

(...and yes I realise I could use some kind of JS code in the forum header...I'm just asking if there's a specific VB hack).

Cheers.
Reply With Quote
  #58  
Old 11-17-2005, 02:39 PM
Harry72's Avatar
Harry72 Harry72 is offline
 
Join Date: May 2004
Location: Germany, Bavaria
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's cool - thx a lot. Works great. Use it for my coppermine gallery and i can change width and height from the pictures in the plugin-system. :nervous:
Reply With Quote
  #59  
Old 11-17-2005, 03:56 PM
G0F0RBR0KE G0F0RBR0KE is offline
 
Join Date: Mar 2005
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be also included in signatures?
Reply With Quote
  #60  
Old 11-18-2005, 12:43 AM
rharbison rharbison is offline
 
Join Date: Apr 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to make the image clickable?

i.e. I specify a url for each image, and it allows you to click on the image and go there?
Reply With Quote
  #61  
Old 11-18-2005, 03:28 AM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shiola
Can this be modified (or is there another hack) so I can put random quotes on my forum? So I need it to work with text not images, with some kind of text manager.

(...and yes I realise I could use some kind of JS code in the forum header...I'm just asking if there's a specific VB hack).

Cheers.

Sorry I haven't been around...I'll get toi most of these questions...BUT this one specifically, I'll create soon. I have something like this running at this site:

http://www.miworldwide.com

Look at the bottom right and refresht he page....
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:39 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05428 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete