vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Module CMPS: PhotoPost vBGallery (https://vborg.vbsupport.ru/showthread.php?t=126697)

carpzone 12-28-2006 01:35 PM

Yes the block works fine with the datbase call change.

But i get databse error when i'm not logged in.
The block only shows up ( and my website) when a users is registered.

Is there a fix to work this out ? ...

zetetic 12-31-2006 02:43 PM

In case this wasn't clear to anyone, most of the db errors are the result of an incorrect table name in the vbgallery_block.php file.

Make sure to edit vbgallery_block.php

find:

adv_gallery_images

and change to:

ppgal_images

Save changes and upload the file to your server.

carpzone 12-31-2006 06:12 PM

Hm Yes, I did change that database call fom ADV_..... to PPGAL_..... in the vbgalleryblock.

The block works only if logged in.
If i turn the block on for Unlogged visitors. My webpage dont open.

I get follow error by email

Code:

Database error in vBulletin 3.6.4:

Invalid SQL:

                SELECT imageid, images.title, images.description, filename, thumbname, originalname, extension, images.catid  ,images.userid, images.username, images.title, images.dateline, images.views, images.posts, images.lastpostdateline, images.lastpostuserid, images.lastpostusername, votenum, votetotal
                FROM vb_ppgal_images AS images
               
                WHERE Array valid = 1
   
               
                      ORDER BY dateline DESC
                LIMIT 6;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'valid = 1
   
               
                      ORDER BY dateline DESC
                LIMIT ' at line 4
Error Number : 1064


zetetic 01-01-2007 04:20 AM

Hmm, I spoke to soon. It works fine for me in Firefox, but using IE I get that same db error.

gunitman247 01-01-2007 09:57 PM

any thing like this for photoplog?

johnstires 01-06-2007 08:03 PM

Quote:

Originally Posted by zetetic (Post 1148378)
Hmm, I spoke to soon. It works fine for me in Firefox, but using IE I get that same db error.

That fix worked for me in FF and IE7! Thanks!

gator777 01-07-2007 09:41 AM

I'm unable to get this mod working no matter what I do. I've used this block for a long time, and I miss not having it on my site. I hope Zach has the time to fix it. For now, I am using the "Recent Comments Block" to fill the void. :confused:

I hope you read this Zach :)

johnstires 01-07-2007 12:34 PM

Quote:

Originally Posted by gator777 (Post 1152499)
I'm unable to get this mod working no matter what I do. I've used this block for a long time, and I miss not having it on my site. I hope Zach has the time to fix it. For now, I am using the "Recent Comments Block" to fill the void. :confused:

I hope you read this Zach :)

Make sure the table prefixes match up. That was my problem.

First, make sure to edit vbgallery_block.php

https://vborg.vbsupport.ru/showpost....9&postcount=82

AND

Make this change.

https://vborg.vbsupport.ru/showpost....2&postcount=52

gator777 01-07-2007 11:47 PM

Quote:

Originally Posted by johnstires (Post 1152577)
Make sure the table prefixes match up. That was my problem.

First, make sure to edit vbgallery_block.php

https://vborg.vbsupport.ru/showpost....9&postcount=82

AND

Make this change.

https://vborg.vbsupport.ru/showpost....2&postcount=52

Thanks for your help, but I'm still getting the error messages. I am using....

CMPS x2.2.1
VB v3.6.4
Photopost VB Gallery 2.1

All was goon until I installed Photopost VB Gallery 2.1. If I had know it was going to diable my block, I would not have upgraded to Photopost VB Gallery 2.1. :D

carpzone 01-21-2007 10:29 AM

Quote:

Originally Posted by carpzone (Post 1148187)
Hm Yes, I did change that database call fom ADV_..... to PPGAL_..... in the vbgalleryblock.

The block works only if logged in.
If i turn the block on for Unlogged visitors. My webpage dont open.

I get follow error by email

Code:

Database error in vBulletin 3.6.4:

Invalid SQL:

                SELECT imageid, images.title, images.description, filename, thumbname, originalname, extension, images.catid  ,images.userid, images.username, images.title, images.dateline, images.views, images.posts, images.lastpostdateline, images.lastpostuserid, images.lastpostusername, votenum, votetotal
                FROM vb_ppgal_images AS images
               
                WHERE Array valid = 1
   
               
                      ORDER BY dateline DESC
                LIMIT 6;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'valid = 1
   
               
                      ORDER BY dateline DESC
                LIMIT ' at line 4
Error Number : 1064


Nobody has a clue what the problem is ?

SolPal 01-22-2007 04:50 PM

will this work with PhotoPost 5.6 ?

thanks

da420 01-22-2007 05:44 PM

Unlikely as this is for vBGallery....

Zachariah 01-29-2007 01:25 PM

Change log:

v2.1

Whats New ?

* Package added to: imagegallery.module
* Independent Block settings
* Permissions fixed
* Imagebit Fields (check boxes )

** Independent Block settings
- This will allow you to have image block settings per CMPS page.

I would uninstall the old version of this hack before updates.
- The 1st series of hacks sat in the vBoptions menu area, this has it's settings within CMPS.

FleaBag 01-29-2007 04:30 PM

Doesn't seem to show up for me Zach. Wasn't the old one a product requiring a file edit?

carpzone 01-29-2007 04:32 PM

Thank u for ure hard work Zachariah :up:

This fixed the problem i had before

Jippie Yeah Go go go ....

Big Thanks for the second time !

carpzone 01-29-2007 04:33 PM

Quote:

Originally Posted by FleaBag (Post 1169898)
Doesn't seem to show up for me Zach. Wasn't the old one a product requiring a file edit?

Did u activate it in ure mainpage settings ?

FleaBag 01-29-2007 04:34 PM

I did yeah. Checked all permissions, page and module settings. All seems to be set up correctly. I used the old one prior to the table names getting changed with the Gallery update.

Zachariah 01-29-2007 04:59 PM

FLEA !!!! what did you do man ... ? :D

I did not have a problem doing an update @ gzhq.net.
What's not working ?

You know you need to turn the module on per page and edit settings per page of CMPS not in vboptions anymore right ?

carpzone 01-29-2007 05:09 PM

Quote:

Originally Posted by FleaBag (Post 1169901)
I did yeah. Checked all permissions, page and module settings. All seems to be set up correctly. I used the old one prior to the table names getting changed with the Gallery update.

Its better u delete ure old hack/modules after that import de new module via admincp.

I'm using :
  • Vb 3.6.4
  • Vbgallery 2.1
  • CMPS 2.2.1
De module worls just fine for me

SMO 01-30-2007 11:11 PM

how about vbgallery 2.0? will it function?

Zachariah 01-31-2007 01:39 AM

Quote:

Originally Posted by SMO (Post 1170928)
how about vbgallery 2.0? will it function?

It should not have a problem. :)
If so yell and I'll patch it.

rinkrat 01-31-2007 03:55 AM

Oh good, this is working for me again! :)

Betablocker 01-31-2007 11:22 PM

Updated .....thank you :up:

curriertech 02-01-2007 11:37 AM

Any chance of getting something like this for Photopost Pro 5.6.2 and vb 3.6.4?

Zachariah 02-01-2007 02:40 PM

Quote:

Originally Posted by curriertech (Post 1172006)
Any chance of getting something like this for Photopost Pro 5.6.2 and vb 3.6.4?

I thought about that.
I need to get with Chuck and get the current file used for thumbs output.

curriertech 02-01-2007 02:48 PM

Quote:

Originally Posted by Zachariah (Post 1172144)
I thought about that.
I need to get with Chuck and get the current file used for thumbs output.

I think a lot of people would love it! I just implemented latest and random gallery images on my VBA page but it wasn't a very straightforward setup.

Trana 02-02-2007 05:42 AM

Is it just me, or is it impossible to completely turn off the imagebit descriptors? When everything is unchecked it causes ALL the options to be on.

Trana 02-02-2007 06:15 AM

One other question for Zacahariah....

Please note that this is not in relation to the post above, totally new question.

Let's say I want to show 4 images but have them scrolling. I already have the jscript working to scroll them, but this requires putting the images into 4 different variables in order to work out the <LI> layout.

Can you recommend a way to do this, or alternatively a way to slip in my <LI> coding? The fact that a lot of html is written into $imagebit is screwing it up, I just need the image itself as a variable to display, I can get the rest of it done within my own templates.

Any suggestions you can offer would be appreciated.

Thanks!

Zachariah 02-02-2007 02:25 PM

Quote:

Originally Posted by Trana (Post 1172768)
Is it just me, or is it impossible to completely turn off the imagebit descriptors? When everything is unchecked it causes ALL the options to be on.

If you are editing a page there is a [default] check for the imagebit make sure that is off to use custom settings. If it is checked it will use the module default.

Quote:

Originally Posted by Trana (Post 1172774)
One other question for Zacahariah....

Please note that this is not in relation to the post above, totally new question.

Let's say I want to show 4 images but have them scrolling. I already have the jscript working to scroll them, but this requires putting the images into 4 different variables in order to work out the <LI> layout.

Can you recommend a way to do this, or alternatively a way to slip in my <LI> coding? The fact that a lot of html is written into $imagebit is screwing it up, I just need the image itself as a variable to display, I can get the rest of it done within my own templates.

Any suggestions you can offer would be appreciated.

Thanks!

I have plans of doing an ajax scroll.
I want to show as many images as there are in the query that requested the images.

EX: 1 block might show all the images in a gallery category vs. 4-8 value and need a refresh for more content. Maybe some mouse over effects as it scrolls by.

What are you playing with ? :D

Metal-R-US 02-02-2007 05:32 PM

With the latest update I'm having the problem again that the block won't show up if I don't let unregistered members view my gallery. As soon as I open it for unregistered members it shows but this is undesired behavior for me. Can you help out?

Zachariah 02-02-2007 05:53 PM

Quote:

Originally Posted by Metal-R-US (Post 1173110)
With the latest update I'm having the problem again that the block won't show up if I don't let unregistered members view my gallery. As soon as I open it for unregistered members it shows but this is undesired behavior for me. Can you help out?

I'll test it out.

Metal-R-US 02-02-2007 07:33 PM

A thing I would like to add, which led me to believe it's a permissions issue in the first place, is that it concerns all usergroups but the admins. I didn't notice this myself, but one of my mods pointed it out. I tested it with users in several groups...

Trana 02-03-2007 04:28 PM

Quote:

Originally Posted by Zachariah (Post 1172970)
I have plans of doing an ajax scroll.
I want to show as many images as there are in the query that requested the images.

EX: 1 block might show all the images in a gallery category vs. 4-8 value and need a refresh for more content. Maybe some mouse over effects as it scrolls by.

What are you playing with ? :D

I have it working with Web Effects from Opencube.com, but it is only for rotating the avatars of my recent donors. I would not recommend using Web Effects as it is not free and I have not found a way to make the cycling of images continuous, i.e. the picture area is empty at the beginning and end, it goes through some whitespace before it starts the images again.

Let me know what your using and I will try to play around with it. My main problem here is that the imagebit calculation and assembly is now done in the core VBA files. I don't want to make changes to those files as it will affect the rest of my site. Do I have this right?

Thanks!

Skavenger 02-11-2007 04:54 AM

Can you please tell me the unistallation instruccions for the 1.9 version?
Then i could install this new version

Edit: is not working for me, i don't see the block :S

Skavenger 02-13-2007 03:37 PM

It's working now!
The problem was that I forget editing the includes/init.php file after upgrading to 3.6.4 =P
Quote:

Edit:
forums/includes/init.php

Find:
require_once(CWD . '/includes/class_core.php');

Below Add:
require_once(CWD . '/includes/functions_gallery_store.php');

johnstires 02-17-2007 04:00 AM

Is it possible to make 2 different modules for 2 separate page with this hack?

In vbgallery (not the vb gallery cmps addon) If I exclude a category in the Main Index Page Options, it breaks my cmps module and I get this error.


Code:

Database error in vBulletin 3.6.4:

Invalid SQL:

                SELECT imageid, images.title, images.description, filename, thumbname, originalname, extension, images.catid  ,images.userid, images.username
                FROM vbulletinppgal_images AS images
               
                WHERE Array valid = 1
   
                AND images.catid NOT IN (2,3,7)
                      ORDER BY RAND()
                LIMIT 1;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'valid = 1
   
                AND images.catid NOT IN (2,3,7)
                      ORDER BY RA' at line 4
Error Number : 1064
Date        : Friday, February 16th 2007 @ 10:57:21 PM
Script      : http://www.forum-of-friends.com/
Referrer    : http://www.forum-of-friends.com/gallery/
IP Address  : 68.175.122.30
Username    : waltercat
Classname    : vB_Database


bela-meaad 02-26-2007 03:58 PM

Thanks

Sinistra 03-06-2007 01:34 PM

I hve had problems installing this it dosen't show up and I have all the settings right help?

http://www.animeinsight.net

Jesakos 03-07-2007 01:51 PM

i install the mod but i dont see any change.. only the link in navigation bar and when i press then nothing else :o

Zachariah 03-07-2007 02:28 PM

Quote:

Originally Posted by Skavenger (Post 1181583)
It's working now!
The problem was that I forget editing the includes/init.php file after upgrading to 3.6.4 =P

http://www.photopost.com/forum/showp...73&postcount=2


All times are GMT. The time now is 05:07 AM.

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.01531 seconds
  • Memory Usage 1,840KB
  • 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
  • (3)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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