Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #302  
Old 03-11-2006, 10:50 AM
gyankow gyankow is offline
 
Join Date: Jul 2005
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
I have found ways to globalize the gallery w/ 1 file edit.
- There is a better chance of 2 feeds, but I have not jumped on it yet.
- on to do list
Any time frame?
Reply With Quote
  #303  
Old 03-11-2006, 11:28 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No
- If the workload is down this weeken I'll work on it.
Reply With Quote
  #304  
Old 03-11-2006, 02:42 PM
QueenBee's Avatar
QueenBee QueenBee is offline
 
Join Date: Jan 2006
Location: On Cloud 9
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where can i find the cmps portal? is it free?? thanks
Reply With Quote
  #305  
Old 03-11-2006, 02:58 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 QueenBee
where can i find the cmps portal? is it free?? thanks
http://www.vbadvanced.com/products.p...roductinfo&p=4

Free yes
Reply With Quote
  #306  
Old 03-11-2006, 03:02 PM
QueenBee's Avatar
QueenBee QueenBee is offline
 
Join Date: Jan 2006
Location: On Cloud 9
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah

thanks you SO much :* <3
Reply With Quote
  #307  
Old 03-17-2006, 08:20 AM
derfelix derfelix is offline
 
Join Date: Nov 2001
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HI Zachariah

Works like a charm on my installation... even with a very heavily hacked gallery installation.. thx for that hack!

Just one question.. on Your site.. you have the module running in the center.. AND in the left column you have a random pic with info...

Did you install the module twice???
or is that another hack?

Id love to have an aditional block like that one without loosing my center one and being able to configure it differently.

thx for a reply
Felix
Reply With Quote
  #308  
Old 03-17-2006, 12:13 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 derfelix
HI Zachariah

Works like a charm on my installation... even with a very heavily hacked gallery installation.. thx for that hack!

Just one question.. on Your site.. you have the module running in the center.. AND in the left column you have a random pic with info...

Did you install the module twice???
or is that another hack?

Id love to have an aditional block like that one without loosing my center one and being able to configure it differently.

thx for a reply
Felix
It's a beta project and very messy @ the moment
- I was working on 2 independent blocks w/ settings. @ the moment the one on the side is crude w/ settings in the php file itself vs. easy to change in AdminCP.

I'll get some more time into it. :bunny:
Reply With Quote
  #309  
Old 03-17-2006, 08:11 PM
derfelix derfelix is offline
 
Join Date: Nov 2001
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks nice..
Actually i will be preparing something similar..for a site of mine..
but it should pull "featured-random" pictures.. that meens
users that enroll for special feature.. will have their pics displayed randomly.
___________________

But another question.. I looked at the php code of this module for a few minutes..

there is one part that intrigues me..
there was another hack.. that gave errors when there was a simple & instead of && as in:
if ($gallery_permissions["$usergroupid"]['gallery_perms'] & $value)

PHP Code:
    if (empty($galleryperms)) 
    { 
        
$bbuserino['usergrouparray'] = fetch_membergroupids_array($bbuserinfo); 
     
        if (empty(
$bbuserinfo['usergrouparray'])) 
        { 
            
$bbuserinfo['usergrouparray'] = array(1); 
        } 
     
        foreach (
$bbuserino['usergrouparray'] AS $usergroupid
        { 
            if (empty(
$gallery_permissions["$usergroupid"])) 
            { 
                
$usergroupid 1
            } 
     
            foreach (
$gallerypermissionsbit AS $option => $value
            { 
                if (!
$galleryperms["$option"] OR in_array($option, array('moderateimages''moderateposts'))) 
                { 
                    
$galleryperms["$option"] = 0
                    if (
$gallery_permissions["$usergroupid"]['gallery_perms'] & $value
                    { 
                        
$galleryperms["$option"] = 1
                    } 
                } 
            } 
        } 
    } 
on the second hand
are you sure there isnt one typo among the $bbuserinfo and $bbuserino?

Luc
Reply With Quote
  #310  
Old 03-17-2006, 09:47 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 derfelix
are you sure there isnt one typo among the $bbuserinfo and $bbuserino?

Luc
Good eye.
Code:
foreach ($bbuserino['usergrouparray'] AS $usergroupid)
:banana:
Reply With Quote
  #311  
Old 03-20-2006, 01:32 AM
elsupremo elsupremo is offline
 
Join Date: Sep 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed, and it works nicely. The only problem for me is that I need it to be able to go down (vertical sidebar) instead of across.

Hoping for that functionality soon...thanks for the great hack!
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 06:10 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.05615 seconds
  • Memory Usage 2,321KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_php
  • (5)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
  • (1)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