vBulletin Modifications

Forum Home Enhancements - Random Image Box On Forumhome

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > Forum Archives > vBulletin 3.0 Hack Releases

Reply
 
Thread Tools Search this Thread
Download Options
You Must Register First
To Download This Modification

Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs

Advertisement
  
Supported
[vB 3.0.7] Forum Home Enhancements - Random Image Box On Forumhome (47)
Released: 03-07-2005, 07:03 AM
Modification Information:
Author: schumiboy
Last Online: 03-09-2006
Hack Version: 1.1 Installer Included: 0 Additional queries added to database: 0
New Templates: 0 Template Edits: 1 File Edits: 1
New Files: 0 New Phrases: 0 Installation Time (In Minutes): 5

Okay, this is mine first little hack.

Files To Edit: 1
Templates To Edit: 1
Total Installation Time: 5 minutes

This hack creates a box on your forumhome, wich will show an random image, of a specific directory.
If you add an image to the dir, its added to the hack

Find the next line in index.php :
You must first be a registered member to view any code.
Add UNDER:

You must first be a registered member to view any code.
Now login to your admin cp and add on the forumhome template the next line on the place where you want the box, most common is under the $navbar

You must first be a registered member to view any code.
Now create an folder called "random" in your /images/ dir and add your images here.
You should find out the with that will fit on your template yourself, for me it was 710 px
You can edit the "Just A Random Image" text with anything you'll like.



Screenshots
Screenshots
File Type: jpg box.jpg (70.4 KB, 504 views)


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Add a Comment!
Old 03-07-2005, 03:29 PM   #2
Butcher
Administrator
Butcher's Avatar
Join Date: Oct 2004
Real Name: Dava
Location: lake district, england
Butcher is on a distinguished road

Default

looks a real nice hack
might come real useful

not sure i need this on my forum but still it looks real nice
__________________
Butcher / vBHackers.com
vBSEO 3.1 GOLD Released vB Blogs Compatible | Non-Encrypted | Branding Removal Option | Sitemaps 2.1 | Language Packs

Crawlability Network: vBulletin SEO | vBulletin Hackers

chAos styles




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-14-2005, 12:20 PM   #3
Junior Member
Join Date: Feb 2005
ptalksoft is on a distinguished road

Default

let's me added one more thing .
after successed installed.
go to your random folder and use your folder options to unhide system file. after you did it you should see "Thumbs.db"

just get another image and rename it to thumbs.db
so this way. when you get into forum home . if you don't do this the random image from your homeforum will pop once death picture in sequences.
also not even the images , you can do add the js script into it and from above add anything you want.
this will work for SWF, WMV,.... and more.
goodluck
example:
original image : 1.gif or 1.jpg or 1.nrg
rename image to thumbs.db
that's it
if you don't do this your homeforum will show 1 dead picture.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-28-2005, 08:19 AM   #4
Coder
Join Date: Jun 2004
Location: England
infinityfxp is on a distinguished road

Talking

nice hack m8
thanks a million,

iv clicked installed:p


could do with a minor update for restriction on image size.
that would be well cool


top hack m8 thanks

or insted it could be like this
in forumhome,were you whant it to show

<script>
var logo=new Array()
logo[0]='<img src="images/random/logo1.gif" border="center" alt="" />'
logo[1]='<img src="images/random/logo2.gif" border="center" alt="" />'
logo[2]='<img src="images/random/logo3.gif" border="center" alt="" />'
logo[3]='<img src="images/random/logo4.gif" border="center" alt="" />'
logo[4]='<img src="images/random/logo5.gif" border="center" alt="" />'
logo[5]='<img src="images/random/logo6.gif" border="center" alt="" />'
logo[6]='<img src="images/random/logo7.gif" border="center" alt="" />'
logo[7]='<img src="images/random/logo8.gif" border="center" alt="" />'
logo[8]='<img src="images/random/logo9.gif" border="center" alt="" />'
logo[9]='<img src="images/random/logo10.gif" border="center" alt="" />'
var displaylogo=Math.floor(Math.random()*(logo.length) )
document.write(logo[displaylogo])
</script>

with no php,
just call images
images/random/logo1.gif
to
images/random/logo10.gif




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-07-2005, 06:48 AM   #5
Coder
Join Date: Jun 2004
Location: England
infinityfxp is on a distinguished road

Talking

or using the php its not so picky chousing any picy this way


<script>
var logo=new Array()
logo[0]='<img src="images/random/$randomImage" border="center" alt="" />'
logo[1]='<img src="images/random/$randomImage" border="center" alt="" />'
logo[2]='<img src="images/random/$randomImage" border="center" alt="" />'
logo[3]='<img src="images/random/$randomImage" border="center" alt="" />'
logo[4]='<img src="images/random/$randomImage" border="center" alt="" />'
logo[5]='<img src="images/random/$randomImage" border="center" alt="" />'
logo[6]='<img src="images/random/$randomImage" border="center" alt="" />'
logo[7]='<img src="images/random/$randomImage" border="center" alt="" />'
logo[8]='<img src="images/random/$randomImage" border="center" alt="" />'
logo[9]='<img src="images/random/$randomImage" border="center" alt="" />'
var displaylogo=Math.floor(Math.random()*(logo.length) )
document.write(logo[displaylogo])
</script>




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-07-2005, 10:04 AM   #6
Coder
Join Date: Aug 2004
schumiboy is on a distinguished road

Default

could be like this, but i think the rezising will **** some images up, i just create the images mineself on the proper resolution, i think this works the best anyway thanks for these code's, people can choose whatever they like




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2005, 01:10 PM   #7
Junior Member
Join Date: Oct 2004
fany paka is on a distinguished road

Default

Nice hack

One problem im getting tho..........how do i make the system file show in the random folder? like this instruction
Quote:
go to your random folder and use your folder options to unhide system file. after you did it you should see "Thumbs.db"
Thats the only step i havent been able to do so i renamed a jpeg to Thumbs.db anyway and im getting a new pic after every refresh but its way to big man.

Im sticking this hach in a sidebar also.

Anyone know what to do?

thanks as always




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-31-2005, 08:59 PM   #8
Coder
Join Date: May 2005
lala108 is on a distinguished road

Default

it dosnt work! look the attach file:
Attached Images
File Type: bmp wrong.bmp (488.2 KB, 54 views)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-18-2005, 11:26 PM   #9
Junior Member
Join Date: Jun 2005
G-rev.net is on a distinguished road

Default

yeh i get the same error red X box ..

www.G-rev.net/forum c'mon i need help




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-15-2005, 01:58 PM   #10
Coder
Join Date: Aug 2004
schumiboy is on a distinguished road

Default

uhm guys, be sure to have the proper images set in the code




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Random Image Box On Forumhome [Ported] Niels vBulletin 3.5 / 3.6 Hack Releases 15 05-19-2006 07:08 AM
VB Random Image Hack max vBulletin Modification Requests 3 06-13-2005 08:06 AM
Image Wrap and Signature conflict eJM General vBulletin Support 1 12-08-2004 01:48 PM


All times are GMT -3. The time now is 03:15 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)