PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   vBGallery How Do I...? (http://www.photopost.com/forum/vbgallery-how-do-i/)
-   -   error meassage (http://www.photopost.com/forum/vbgallery-how-do-i/127983-error-meassage.html)

Bridges October 15th, 2006 12:30 PM

error meassage
 
I have a couple error meassage on my memberprofile page first this one top of the screen. I use to have a hack for gallery to show on the members profile page, I revert all my vb templates, so I don't know why that shows.
Quote:

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

Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 452
And this one also appears on the same page.
Code:

Content visible to verified customers only.

Zachariah October 15th, 2006 01:20 PM

There are hacks that show image ?
Code:

Content visible to verified customers only.
Edit the hack:

Change:
adv_gallery_images => ppgal_images

Bridges October 15th, 2006 02:18 PM

Ok that sounds easy but how the heck do I find that.

This was from a year or so ago I changed the members profile page. I tried to go to the thread onvb.org where it is located but, I can't a message saying I don't have permission to view thread.

What options do I have now?

Zachariah October 15th, 2006 04:03 PM

There are a few ways the hack could of been installed.
A) Plugin Hook location: member_complete

B) Direct edit of forums/member.php

1) require('/path/to/hack/file.php'); - This would point to a 3rd party php file.

or

2) the code could be in the member.php file.



Search for:
adv_gallery_images

change to
ppgal_images

Bridges October 15th, 2006 04:15 PM

You are good!!

It was in one of the member_complete.


Thank very much!

MythoLogy November 8th, 2006 08:53 PM

TY Zach
 
Excellent save Zach -

To help others find it (if you installed the Myspace Profile Re-Write Pro from vbuleting.org).

Found it in the plugins - Product: Vbulletin - number of pics and links in the profile.

Zachariah November 8th, 2006 09:16 PM

Quote:

Originally Posted by MythoLogy (Post 1179197)
Excellent save Zach -

To help others find it (if you installed the Myspace Profile Re-Write Pro from vbuleting.org).

Found it in the plugins - Product: Vbulletin - number of pics and links in the profile.

You can save a query in profile w/ vBGallery 2.1 (vb3.6x) , 1.1 (vb3.5x)

MEMBERINFO
$userinfo[ppicount]

or

Adds a link to show images in gallery w/ count.
Code:

Content visible to verified customers only.


All times are GMT -5. The time now is 08:32 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97