Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Showing the Images in your vBulletin Forum  (Read 8709 times)

0 Members and 1 Guest are viewing this topic.

Pacman15

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
  • Chocobo Master
    • Chocobo Heaven
Showing the Images in your vBulletin Forum
« on: October 04, 2007, 10:25:21 pm »

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.
-------------
Code: [Select]
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. :)
Logged

mc0676

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: Showing the Images in your vBulletin Forum
« Reply #1 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 ?

Logged

Pacman15

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
  • Chocobo Master
    • Chocobo Heaven
Re: Showing the Images in your vBulletin Forum
« Reply #2 on: November 16, 2007, 09:40:50 pm »

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.
Logged

mc0676

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 44
Re: Showing the Images in your vBulletin Forum
« Reply #3 on: November 19, 2007, 12:31:45 pm »

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.
Logged

Pacman15

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
  • Chocobo Master
    • Chocobo Heaven
Re: Showing the Images in your vBulletin Forum
« Reply #4 on: November 19, 2007, 01:11:39 pm »

No, sorry... try searching in the forums.  :-\
Logged

Konstantinos

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 120
Re: Showing the Images in your vBulletin Forum
« Reply #5 on: December 02, 2007, 11:53:57 am »

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
Logged

mustang_lex

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Stangette.com
Re: Showing the Images in your vBulletin Forum
« Reply #6 on: August 11, 2008, 04:02:52 am »

Thank You my friend it works like a charm!!!! www.stangette.com for those who want to see it in action!
Logged
Alex
www.stangette.com/showcase
my Coppermine Gallery!
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.