vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Module CMPS: PhotoPost vBGallery (https://vborg.vbsupport.ru/showthread.php?t=98982)

Zachariah 10-21-2005 10:00 PM

Module CMPS: PhotoPost vBGallery
 
/* -----------------12/31/2005 6:41pm -----------------

Add Gallery Images to your CMPS v1.8

This hack is an add-on to a gallery made by PhotoPost.com called vBGallery.
- This is not a gallery, but a way to display the images from the gallery to your forums.

Do you have vBGallery installed ?

Tested on:
- vBulletin 3.5.2
- PhotoPost vBGallery v1.0.2 (vB 3.5)
- vBadvanced CMPS v2.0.0 (vB 3.5)

Zachariah - http://www.gzhq.net

Product XML
1 file edit
Upload file
Create Module
Change settings

1 query added to CMPS

DEMO

--------------------------------------------------*/

Change Log
===========
1.8
- Added functions_gallery_store.php
- Added column span support

1.7
- Install w/ product in 1 file.
- AdminCP options to change the hack settings
- Added: Parts of the gallery's Nav bar w/ dropdowns
(My Stuff*, What's New, What's Popular,Search) to the hack with on/off option.

* My Stuff will not be seen if you are a guest.

1.6
- Added: If the gallery is off or disabled the hack not show up.
- Added: templates to support the hack vs. gallery templates
(allows you to customize the templates for the look and feel you want vs. mess up the way your gallery templates look.)

Lea Verou 10-21-2005 11:52 PM

Installed thanks!

edit: Muhahaha I reserved the first post!

Zachariah 10-21-2005 11:57 PM

Quote:

Originally Posted by Loukrhtia
Installed thanks!

edit: Muhahaha I reserved the first post!

:D - tell me how it goes.

Lea Verou 10-22-2005 12:08 AM

It says "Could not find phrase 'adv_portal_invalid_modfile'.". The problem isn't that the phrase doesn't exist, obviously, I can cope with that,lol. The problem is that the mod file is incorrect. Really strange...

SMO 10-22-2005 12:12 AM

i dont know what im doing
ya i get that edit too

pbjunkie 10-22-2005 12:33 AM

I import the module and it says that imagegallery.module is invalid.

Omega Prime 10-22-2005 12:34 AM

Quote:

Originally Posted by pbjunkie
I import the module and it says that imagegallery.module is invalid.

Ditto =/

Zachariah 10-22-2005 12:36 AM

updated - try the new file.

Lea Verou 10-22-2005 12:36 AM

So I guess it has to do with the module since we all have the same problem... Hope he replies soon... :)

Zachariah 10-22-2005 12:43 AM

This will work if you want a list on the Sides.

Quote:

image
*space*
image
*space*
image
*space*
image
*space*


In the template "adv_portal_gallery_random" look for:
PHP Code:

$randomimagebits 

... and replace it with:

PHP Code:

<tr><td class="alt1" align="center">$randomimagebits</td></tr

Now in the "gallery_random.php" module itself look for:

PHP Code:

$randomimagebits .= construct_imagebits($images); 

... and replace it with:

PHP Code:

$images['url'] = construct_image_url($images'thumbname');
$randomimagebits .= '<a href="' $vba_options['gallery_url'] . '/showimage.php?' $vbulletin->session->vars['sessionurl'] . 'i=' $images[imageid] . '"><img alt="' $images[title] . '" border="0" src="' $images[url] . '" /></a><br /><br/>'



All times are GMT. The time now is 08:40 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01317 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete