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
  #132  
Old 11-23-2005, 02:07 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello new friends and old.

I know there are a few people out there that have some of my hacks installed that use:

VB3.5x
vBGallery (forrmaly known as vBadvanced Gallery v1.0.1)

They are on the drawing board again for a rework.

[vB 3.5.0] Module CMPS: vBA Gallery or here
[vB 3.5.0] vBa Gallery - Forum Home

I'll need some beta testers soon.
( I will go to this thread when I am ready for beta testers.)
Reply With Quote
  #133  
Old 11-23-2005, 02:08 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 Selrahce
Ugh. I've done 2 fresh installs of this hack and I can't seem to get it to work at all. On my main CMPS index I get the following error:

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

Warning: Division by zero in \includes\functions_gallery.php on line 1134
******************
I didn't touch either of those files.....
The block is there but no image shows [X]

Any ideas?
You need to edit the CMPS index file and add the code edits.
Reply With Quote
  #134  
Old 11-26-2005, 08:24 PM
one9er one9er is offline
 
Join Date: Mar 2005
Location: USA
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Zachariah, I got it to install but I have a problem with the top of the cmps page before the page loads I get this at the top:

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

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

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

Warning: Invalid argument supplied for foreach() in /modules/gallery_random.php on line 83
The Image gallery loads and all fine.

Any help?

Curt
Reply With Quote
  #135  
Old 11-26-2005, 08:29 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 one9er
Zachariah, I got it to install but I have a problem with the top of the cmps page before the page loads I get this at the top:



The Image gallery loads and all fine.

Any help?

Curt
Yes.

https://vborg.vbsupport.ru/showpost....4&postcount=86

modules/gallery_random.php

Got it...

Change this (around line 83):

Code:
foreach ($gallery_permissions["$usergroupid"] AS $option => $value)
	{
		if (($option == 'gallery_maxcats' AND !($gallery_permissions["$usergroupid"]['gallery_perms'] & $gallerypermissionsbit['cancreatecategories'])) OR ($option == 'gallery_maxdiskspace' AND !($gallery_permissions["$usergroupid"]['gallery_perms'] & $gallerypermissionsbit['canuploadimages'])))
		{
			continue;
		}
		if (((($value > $galleryperms["$option"] AND $galleryperms["$option"] != '0') OR !$value) AND $option != 'gallery_perms'))
		{
			$galleryperms["$option"] = $value;
		}
	}
to this:

Code:
if (!empty($gallery_permissions["$usergroupid"]))
	{
	foreach ($gallery_permissions["$usergroupid"] AS $option => $value)
	{
		if (($option == 'gallery_maxcats' AND !($gallery_permissions["$usergroupid"]['gallery_perms'] & $gallerypermissionsbit['cancreatecategories'])) OR ($option == 'gallery_maxdiskspace' AND !($gallery_permissions["$usergroupid"]['gallery_perms'] & $gallerypermissionsbit['canuploadimages'])))
		{
			continue;
		}
		if (((($value > $galleryperms["$option"] AND $galleryperms["$option"] != '0') OR !$value) AND $option != 'gallery_perms'))
		{
			$galleryperms["$option"] = $value;
		}
          }
}
Reply With Quote
  #136  
Old 11-26-2005, 09:13 PM
one9er one9er is offline
 
Join Date: Mar 2005
Location: USA
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
Yes.

https://vborg.vbsupport.ru/showpost....4&postcount=86

modules/gallery_random.php

Got it...

Change this (around line 83):

Code:
foreach ($gallery_permissions["$usergroupid"] AS $option => $value)
	{
		if (($option == 'gallery_maxcats' AND !($gallery_permissions["$usergroupid"]['gallery_perms'] & $gallerypermissionsbit['cancreatecategories'])) OR ($option == 'gallery_maxdiskspace' AND !($gallery_permissions["$usergroupid"]['gallery_perms'] & $gallerypermissionsbit['canuploadimages'])))
		{
			continue;
		}
		if (((($value > $galleryperms["$option"] AND $galleryperms["$option"] != '0') OR !$value) AND $option != 'gallery_perms'))
		{
			$galleryperms["$option"] = $value;
		}
	}
to this:

Code:
if (!empty($gallery_permissions["$usergroupid"]))
	{
	foreach ($gallery_permissions["$usergroupid"] AS $option => $value)
	{
		if (($option == 'gallery_maxcats' AND !($gallery_permissions["$usergroupid"]['gallery_perms'] & $gallerypermissionsbit['cancreatecategories'])) OR ($option == 'gallery_maxdiskspace' AND !($gallery_permissions["$usergroupid"]['gallery_perms'] & $gallerypermissionsbit['canuploadimages'])))
		{
			continue;
		}
		if (((($value > $galleryperms["$option"] AND $galleryperms["$option"] != '0') OR !$value) AND $option != 'gallery_perms'))
		{
			$galleryperms["$option"] = $value;
		}
          }
}
I changed it now I get a blank page.
Reply With Quote
  #137  
Old 11-26-2005, 10:28 PM
Xeonext Xeonext is offline
 
Join Date: May 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesn't works for me aswell... get the same error

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

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

I tried your fix... the error gone but does not displays the block.
Reply With Quote
  #138  
Old 11-26-2005, 10:40 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I plan to look at this hack and the "forumhome" tonight.

http://www.photopost.com/forum/showthread.php?t=119649

- I don't mean to sound like I am giving you a shine job, but give me a little to rip apart this hack and the other. This was made from like 5-6 different people all slammed together.
Reply With Quote
  #139  
Old 11-26-2005, 10:54 PM
one9er one9er is offline
 
Join Date: Mar 2005
Location: USA
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
I plan to look at this hack and the "forumhome" tonight.

http://www.photopost.com/forum/showthread.php?t=119649

- I don't mean to sound like I am giving you a shine job, but give me a little to rip apart this hack and the other. This was made from like 5-6 different people all slammed together.
Go for it! :up:

I just shut the module off for now,so everythings all right.
Reply With Quote
  #140  
Old 11-27-2005, 06:20 PM
Protoman's Avatar
Protoman Protoman is offline
 
Join Date: Jan 2005
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is a CMPS module not a gallery hack, no reason for it to be removed from vbulletin.org
Reply With Quote
  #141  
Old 12-20-2005, 06:09 AM
redspider's Avatar
redspider redspider is offline
 
Join Date: Jul 2005
Posts: 225
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just when I need it lol hope someone make a new one .
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 10:23 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.08196 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
  • (4)bbcode_code
  • (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
  • (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