Hello.
I have figured a way to show the images from your gallery in your vBulletin Forum with cpmFetch. (if anyone already posted this, please delete the thread, i searched for a thread similar to this one and found nothing).
Installation:
-------------
Log into your vBulletin administration panel. Click on the "Plugin System" section on the left and choose "Add New Plugin". Plugins may be disabled. If this is the case, you will need to follow the directions given to enable them. Now on the "Add New Plugin" screen, select "global_start" (under "vBulletin; General") for the "Hook Location". Give the plugin a title, such as "Gallery Thumbnails". Finally, copy the code from below and paste it into the PHP code box. Make the plugin active and save it.
-------------
function gallery_thumbs()
{
include_once "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewRandomMedia (<rows>, <columns>, $options);
$objCpm->cpm_close();
}
ob_start();
gallery_thumbs();
$gallery = ob_get_contents();
ob_end_clean();
-------------
Once you decide where you would like the thumbnails to appear, open up the appropriate template for the current style in the administration panel and insert "$gallery". Save, and enjoy :D
-------------
I have it running on my forum, vBulletin v.3.6.8. I guess it will work with previous versions. Why wouldn't it. :)
Great, it work for me too.
Do you know if it's possibile to make a plug-in to insert in the profile user to link directy to his personal gallery ?
Thanks, I'm glad you like it. But I basically took the pre-made functions people around here made, and adjust them to work within vBulletin. I don't know how to do what you want, sorry.
Thanks, and do you know if exixt a plugin to create a bbcode to insert directly in a post a thumbnail ?
Like che albuimg tag of the smartor phpbb album.
No, sorry... try searching in the forums. :-\
Quote from: mc0676 on November 16, 2007, 09:37:55 PM
Great, it work for me too.
Do you know if it's possibile to make a plug-in to insert in the profile user to link directy to his personal gallery ?
http://www.vbulletin.org/forum/showthread.php?t=122834
Thank You my friend it works like a charm!!!! www.stangette.com for those who want to see it in action!