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
  #102  
Old 11-06-2005, 06:33 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 Sychev_S
how to change the size of a thumbnail displayed only in the module window?
This uses the thumbs that the image gallery uses. To change the size of the images, would mean changing the Thumb sizes in the gallery settings.
Reply With Quote
  #103  
Old 11-06-2005, 06:35 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 jenciso
hmmm, I still have one problem.

For unregistered users, the Image Gallery shows up empty, but once I log in it works fine.

I checked my gallery and unregistered users can view thumbnails and previews just fine. I checked my module/gallery permissions and all of them are set correctly.

Any help on this would be appreciated.

Edit:
I did more digging and logged on as another user. Apparently, the thumbnails show up only when I have a user assigned to a user group:



For those who are not assigned to any groups or for unregistered users, no thumbnails show.
I know this works w/ guests and usergroups. I do not know about access w/ sub-groups. I have not tested.
Reply With Quote
  #104  
Old 11-06-2005, 08:27 PM
jenciso jenciso is offline
 
Join Date: Oct 2004
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Apparently the $getrand query in gallery_random.php is returning an empty result set because the category exclusion clause ($privatids) has all my categories listed. I set $privcatids to empty for now so that the thumbnails show for everyone.

edit: ignore my explanation. I misread the code
Reply With Quote
  #105  
Old 11-06-2005, 08:47 PM
Sanjiyan's Avatar
Sanjiyan Sanjiyan is offline
 
Join Date: Jan 2002
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nothing is showing up for me? not a image not a block nothing, any ideas?

I have installed it as directed from the first post/text file, nothing shows, not even a empty block. using 3.5.0 and cmps 2.0.0
Reply With Quote
  #106  
Old 11-06-2005, 08:56 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 Sanjiyan
nothing is showing up for me? not a image not a block nothing, any ideas?

I have installed it as directed from the first post/text file, nothing shows, not even a empty block. using 3.5.0 and cmps 2.0.0
Know this is an add-on for:
~ vBadvanced Gallery

Do you have this installed ?
Reply With Quote
  #107  
Old 11-07-2005, 07:23 PM
chrisrixon's Avatar
chrisrixon chrisrixon is offline
 
Join Date: Oct 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wasn't seeing a thing. A bit of grubbing around and I comented out this:

Code:
// Get a list of categories to be EXCLUDED from our query
//if ($privatecatids = fetch_private_categories())
//{
//    $privcatids = 'images.catid NOT IN(' . $privatecatids . ') AND ';
//}
Bingo, all working. Any ideas why?
Reply With Quote
  #108  
Old 11-08-2005, 12:40 AM
jenciso jenciso is offline
 
Join Date: Oct 2004
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chrisrixon
I wasn't seeing a thing. A bit of grubbing around and I comented out this:

Code:
// Get a list of categories to be EXCLUDED from our query
//if ($privatecatids = fetch_private_categories())
//{
//    $privcatids = 'images.catid NOT IN(' . $privatecatids . ') AND ';
//}
Bingo, all working. Any ideas why?
Same exact problem I'm having. $privcatids returns every category and I have which means nothing shows up. I'm still hoping for a fix.
Reply With Quote
  #109  
Old 11-08-2005, 02:16 AM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any idea what this error might be:

Warning: main(./includes/class_bbcode.php): failed to open stream: No such file or directory in /modules/gallery_random.php on line 121

Fatal error: main(): Failed opening required './includes/class_bbcode.php' (include_path='.:/usr/local/lib/php') in /home/shinraon/domains/shinraonline.com/public_html/board/modules/gallery_random.php on line 121
Reply With Quote
  #110  
Old 11-08-2005, 02:27 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

failed to open stream: No such file or directory - what VB ver. do you use ?
last I looked 3.5 has that file there.

CVS: $RCSfile: class_bbcode.php,v $ - $Revision: 1.65 $

forumroot / includes / class_bbcode.php
Reply With Quote
  #111  
Old 11-08-2005, 12:13 PM
chrisrixon's Avatar
chrisrixon chrisrixon is offline
 
Join Date: Oct 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I set highest ranked i get

"There seems to have been a problem with the Forum database"

Anyone else get this to work?
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 08:09 PM.


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.04755 seconds
  • Memory Usage 2,308KB
  • 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
  • (2)bbcode_code
  • (4)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