Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Module CMPS: PhotoPost vBGallery Details »»
Module CMPS: PhotoPost vBGallery
Version: 1.8, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 10-21-2005 Last Update: 05-27-2006 Installs: 129
Uses Plugins Template Edits
Code Changes Additional Files  
No support by the author.

/* -----------------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.)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #222  
Old 01-22-2006, 03:40 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok... took a guess as to the edit (just copied that into where it looked like it might go), but now:

1. doesn't show up at all on CMPS page (on my default custom skin).
Does it call some code from the CMPS default page that I may have changed so that it isn't appearing?

2. doesn't show up at all on CMPS page (on my default skin), but it IS showing up on the FORUMHOME!! next to your gallery on forumhome hack. :/

running:
vbPhotopost Gallery on Forumhome hack
vb3.5.3
Gallery v1.0.1 (vB 3.5)
CMPS v2.0.0 (vB 3.5)
Reply With Quote
  #223  
Old 01-22-2006, 08:32 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GrendelKhan{TSU
ok... took a guess as to the edit (just copied that into where it looked like it might go), but now:

1. doesn't show up at all on CMPS page (on my default custom skin).
Does it call some code from the CMPS default page that I may have changed so that it isn't appearing?

2. doesn't show up at all on CMPS page (on my default skin), but it IS showing up on the FORUMHOME!! next to your gallery on forumhome hack. :/


running:
vbPhotopost Gallery on Forumhome hack
vb3.5.3
Gallery v1.0.1 (vB 3.5)
CMPS v2.0.0 (vB 3.5)
Not realy sure what you have done.
- Demo x2

*** How to Install:
======================

In your Admin Control Panel

1)
Admincp => Plugin System => Manage Products
Click [Add/Import Product]
Browse for the file "product-gallery_cmps.xml"
Allow Overwrite: On
Import

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

2)
Edit your vBadvanced CMPS: (not the forums/index.php)
- cmps_index.php file (you may have a different name)

// ============================================
// No Further Editing Necessary!
// ============================================
$phrasegroups = array('adv_gallery');
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array('gallery_c_cache','adv_gallery_opt','gallery _ugroups');

Default vBAdvanced CMPS is:


$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array()
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

3)
AdminCP => vBa CMPS => Add Module => [PHP FILE]

Module Title: Image Gallery
Active: yes
Update All Pages: your choice
File to Include: vbgallery_block.php
Identifier: gallery_image
Templates Used: adv_portal_vbgallery,adv_gallery_imagebit,adv_port al_vbgallery_nav,adv_portal_vbgallery_newestbits
Clean File Output: no
Use Module Shell Template: no
Usergroups: you choose who
[SAVE]


If you did not put the Module on all pages you need to:
AdminCP => vBa CMPS => Edit Pages => Choose the page => Edit => Modules Enabled => add Check to => Image Gallery

Save

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

4)
Admincp => vBulletin Options => vBGallery - CMPS
Change setting
Save

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Reply With Quote
  #224  
Old 01-25-2006, 11:48 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just upgraded to vba cmps 2.1 and it gave 4 warnings at the top so I disabled it.
I'll come back later with the exact warnings...
Reply With Quote
  #225  
Old 01-26-2006, 01:57 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle
I just upgraded to vba cmps 2.1 and it gave 4 warnings at the top so I disabled it.
I'll come back later with the exact warnings...
Without knowing my guess: Redo file edit to index CMPS file. ? :ninja:

Edit your vBadvanced CMPS: (not the forums/index.php)
- cmps_index.php file (you may have a different name)

// ============================================
// No Further Editing Necessary!
// ============================================
$phrasegroups = array('adv_gallery');
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array('gallery_c_cache','adv_gallery_opt','gallery _ugroups');

Default vBAdvanced CMPS is:

$phrasegroups = array();
$globaltemplates = array();
$actiontemplates = array();
$specialtemplates = array()
Reply With Quote
  #226  
Old 01-26-2006, 05:43 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope...
You were right, I had forgotten the edit ( ) but the problem was not solved...
Here are the exact warnings...

Warning: Invalid argument supplied for foreach() in /modules/gallery_random.php on line 83

Warning: array_keys(): The first argument should be an array in /includes/functions_gallery.php on line 427

Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 427

Warning: Division by zero in /includes/functions_gallery.php on line 1134
Reply With Quote
  #227  
Old 01-26-2006, 06:00 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found the problem, I had a very old version of the hack (shoot me now for acting like a total n00b, I haven't slept at all :nervous: )
I now have another problem... Although I set everything correctly, updated the pages I wanted to include it, adjusted it's settings etc etc etc nothing shows up...
Sorry if this has been asked before but I'm writing exams in a few hours so my time at the moment is extremely limited... I just sat on the pc to drink a coffee... :nervous:
Reply With Quote
  #228  
Old 01-26-2006, 02:15 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle
I found the problem, I had a very old version of the hack (shoot me now for acting like a total n00b, I haven't slept at all :nervous: )
I now have another problem... Although I set everything correctly, updated the pages I wanted to include it, adjusted it's settings etc etc etc nothing shows up...
Sorry if this has been asked before but I'm writing exams in a few hours so my time at the moment is extremely limited... I just sat on the pc to drink a coffee... :nervous:
http://www.photopost.com/forum/showp...1&postcount=20
Reply With Quote
  #229  
Old 01-27-2006, 04:19 AM
Injektilo's Avatar
Injektilo Injektilo is offline
 
Join Date: Jun 2004
Location: Cyprus
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i've checked EVERYTHING (i think) ... and every usergroup is allowed to view images (thumbs and full) but for "not logged in" users the module doesnt show up...any guess?
Reply With Quote
  #230  
Old 01-27-2006, 11:33 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Injektilo

try link in post above yours.
Reply With Quote
  #231  
Old 01-27-2006, 04:34 PM
TbChampions TbChampions is offline
 
Join Date: Jun 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting a double attempt to show this thumbnail block.

Here's my site if you want to see. I've just started its construction, so please excuse the mess. Please note the front page and the forum front page.

http://www.turfclubusa.com/
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:21 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08135 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete