vBulletin Modifications

Forum Display Enhancements - Random Thumbs Display (3.5.*, 3.6.*)

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > vBulletin Database System > vBulletin 3.5 / 3.6 Hack Releases

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

Bugs
Uncached templates: randomimage
Posted By: Zachariah
Submit A Bug | View All Bugs

Advertisement
  
Supported
[vB 3.6.0 RC 2] Forum Display Enhancements - Random Thumbs Display (3.5.*, 3.6.*) (56)
Released: 08-03-2006, 08:25 AM
Modification Information:
Author: xyz
Last Online: 06-12-2007
Hack Version: 1.0.001 Installer Included: 0 Additional queries added to database: 1
New Templates: 2 Template Edits: 1 File Edits: 2
New Files: 1 New Phrases: 24 Installation Time (In Minutes): 5

Plugin
Random Thumbs Display (Version 1.0.002)

ALL READY vBulletin 3.5.4, 3.6.0 tested, all working fine!


This mod was a request by MaxM, with this mod you can display (###) of image thumbnails anywhere and on any page in your forum. The output can be placed in template by just adding the condition, to the template you want the thumbnail images to be displayed!

The control works with each user group, so you can turn it (on) for one group while having it turned (off) for others.

Options

Turn (off, on) per user group
Show this (###) of thumbnails
How many to show per row (###)
Display on all page (yes, no)
If (do not display) on all pages [input => pages to show the thumbnails] (clickable select box with all forum pages)
Show extended information (yes, no)
Create Image Link (yes, no) [should the thumbnail be made into a URL link]
If (create link = yes) (select box options => point to topic, point to post, point to full size attachment)

Screens

prems.png

This image show the User group Permissions for the random image control!

display_noinfo.png

This shows the display with no extened info, the display is add to the FORUMHOME template for this example, then by doing a simple condition you get the display loaded...


You must first be a registered member to view any code.

display_info.png

This shows the display with extened info, the display is add to the FORUMHOME template for this example, then by doing the same simple condition as above you get the display loaded...



New Version 1.0.002

Added global scope to the random_image templates (now they are cached, no extra query)
Added new templates that maintain a nice uniformed display!
Added (dynamic) [colspan(s), width(s)] so now the display looks much nicer (evenly spaced)


The zip file in this post contains Version 1.0.002


UPGRADE Version 1.0.001 to 1.0.002

Same version as above, but if you already have 1.0.001 installed, then you only need to replace the templates and add (1) script edit, then replace (1) include file (functions_randomize.php) so it matches the new template variables!

Find that zip file by following this link!

http://www.vbhackers.com/showthread....4073#post34073


New Display

Added another image so you can see how things now look more centered, it's all dynamic, based on how many images to display and how many rows!

new_display.png




c, ya

me!



Screenshots
Screenshots
File Type: png perms.png (21.1 KB, 195 views)
File Type: png display_noinfo.png (70.7 KB, 256 views)
File Type: png display_info.png (73.1 KB, 139 views)
File Type: png new_display.png (80.2 KB, 165 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 08-03-2006, 08:45 AM   #2
vB User
MaxM's Avatar
Join Date: Jun 2006
MaxM is on a distinguished road

Default

waiting ...... :p

EDIT: Coool, (from ss) can't wait to install ;)

Last edited by MaxM; 08-03-2006 at 03:06 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-04-2006, 01:01 AM   #3
vBulletin Translator
TheSh@rk's Avatar
Join Date: Jun 2006
Real Name: Kfir Hadas
Location: Jerusalem, Israel
TheSh@rk is on a distinguished road

Default

* TheSh@rk is saying it's nice
XD




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-04-2006, 11:45 AM   #4
xyz
Coder
Join Date: Jul 2006
xyz is on a distinguished road

Default

I made some final changes, now I am re-packaging the mod and should have it ready for release in a hour!


me!




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-04-2006, 05:47 PM   #5
vB Newbie
Join Date: May 2006
big-ah is on a distinguished road

Default

i like it tnx man

random image from random posts ?!

i have a graphique forums, i need it really to show some works from some posts..




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-04-2006, 07:59 PM   #6
xyz
Coder
Join Date: Jul 2006
xyz is on a distinguished road

Default

I am just not having a very good day today, another one of my Raptor drives died, :tired: !

Anyways, final got it sorted, this mod is now ready for download!

If you need help Just Ask!!!

c, ya...

Sonia




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-04-2006, 11:36 PM   #7
vB User
MaxM's Avatar
Join Date: Jun 2006
MaxM is on a distinguished road

Default

Thanks a million xyz, installing right now!




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2006, 12:34 AM   #8
vB User
MaxM's Avatar
Join Date: Jun 2006
MaxM is on a distinguished road

Default

But Sonia, is there any way to rollback (uninstall) this hack (if in somecase i did something wrong) because it need some db change.. that why i wana be sure




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2006, 05:30 AM   #9
xyz
Coder
Join Date: Jul 2006
xyz is on a distinguished road

Default

Always make backups of any script you edit...

The database can be reset very easily, but edits must be done by hand, because one never knows what type of edits have been done to each script before or after some mod install!

But you could use my vBCVS system, which monitors script changes, so everytime you make a edit you can roll back the script or many scripts with a single click of a button. As much as vBulletin is moded you would thing that vBulletin would have something like this built in!

Anyway, like I said...

Make backups! (before editing)

1. copy 'global.php' to global.random.txt
2. copy 'usergroup.php' to usergroup.random.txt

Database Uninstall

You must first be a registered member to view any code.

Sonia
Attached Images
File Type: png cvs.png (14.1 KB, 28 views)

Last edited by xyz; 08-05-2006 at 06:10 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2006, 08:50 AM   #10
vB User
MaxM's Avatar
Join Date: Jun 2006
MaxM is on a distinguished road

Default

Thanks Sonia for your great help/support

But one more nooob question, what is vBCVS ? is this some hack?
Sorry for all this inconvenience :embarrass

Last edited by MaxM; 08-05-2006 at 08:56 AM.




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
[Req. Mod] To display random attachment image's thumbnail on forum home MaxM vBulletin Modification Requests 17 07-31-2006 11:55 AM


All times are GMT -3. The time now is 01:28 PM.


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