PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old February 20th, 2005, 05:11 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 146
Exclamation Few Things Important for Migrating to VBAG

Okay, I am currently playing with VBAG and looks quite interesting Here are few things, which I would like to do before I migrate my images to VBAG

1.New/Random Images at the Top: Currently, new images are shown below Category Table, would like them to be at the top

2.Link to User Gallery in My Stuff: Would like to add a link to users gallery in "My Stuff" drop down so user can easily go to his/her gallery, displaying all his/her images

3. Statistics at the bottom of page

4. Statistics on VBA CMS page:
I searched but could not get easy instructions on how to do this

5. Daily Upload limit/usergrpup: Would need daily upload limit per usergroup, the most important

I think thats it for now, will add when I find somehting more. These are minimum things required for migrating to VBAG, so any quick help will be great
iphoto is offline   Reply With Quote
Old February 20th, 2005, 05:41 AM   #2 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
Re: Few Things Important for Migrating to VBAG

1 - Simple. Edit the gallery index page template and move it there
2 - Simple. Edit the gallery navbar to add a link to that menu. An if conditional to check if the user browsing the page is a member or a unregistered visitor is advised so that is doesn't display a link to non-members.
3 - On the bottom if every page?
4 - I believe I have seen a thread explaining how to do it in the gallery hacks & mods subforum.
5 - Brian has given me the code to implement it on my site. How many usergroups you need to limit?

Quote:
so any quick help will be great
Why the hurry? Are you going somewhere? =)
rbl is offline   Reply With Quote
Old February 20th, 2005, 07:55 AM   #3 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Re: Few Things Important for Migrating to VBAG

2) I posted a very simple hack to add this.
ConqSoft is offline   Reply With Quote
Old February 20th, 2005, 07:57 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 146
Re: Few Things Important for Migrating to VBAG

Quote:
Originally Posted by ConqSoft
2) I posted a very simple hack to add this.
thanks, I found it later, and installed it. Working great
but other stuff, cant find anything
iphoto is offline   Reply With Quote
Old February 20th, 2005, 08:59 AM   #5 (permalink)
Brian
Guest
 
Posts: n/a
Re: Few Things Important for Migrating to VBAG

1). You would just need to edit the 'ADV_GALLERY' template and move the stats wherever you would like them.
2). You've found.
3). As rbl said, are you talking about the bottom of every page, or what exactly?
4). I'll see if I can post a hack for this in a minute.
5). This should do the trick...

Look in your upload.php file for this code:
Code:
Content visible to verified customers only.
Right above it, add something like this:
Code:
Content visible to verified customers only.
Change the usergroupids and limits in the switch() statement to match your needs.
  Reply With Quote
Old February 20th, 2005, 09:47 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 146
Re: Few Things Important for Migrating to VBAG

Quote:
Originally Posted by Brian
1). You would just need to edit the 'ADV_GALLERY' template and move the stats wherever you would like them.
2). You've found.
3). As rbl said, are you talking about the bottom of every page, or what exactly?
4). I'll see if I can post a hack for this in a minute.
5). This should do the trick...
thats cool I think I should be ready for migration, two more question,
1. will after migration, PP will still be up and running ?
2. I checked the thread, where for new hack, I have to open a ticket for migration, is that correct? it wont take much time, I have just 500+ images

Lets me know pl
iphoto is offline   Reply With Quote
Old February 20th, 2005, 09:48 AM   #7 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Re: Few Things Important for Migrating to VBAG

Yes, you can run PP and vBa Gallery at the same time. I did it for a while, until I had Gallery ready.
ConqSoft is offline   Reply With Quote
Old February 20th, 2005, 09:56 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 146
Re: Few Things Important for Migrating to VBAG

thanks, conqsoft

I am still little confused about usergroup limits, do I need to change "Case" No. to Usergroup ID or do I need to place usergroupid number in "usergrouupid" , sorry for dumb question, but I am not a programmer by profession
iphoto is offline   Reply With Quote
Old February 20th, 2005, 11:38 AM   #9 (permalink)
Brian
Guest
 
Posts: n/a
Re: Few Things Important for Migrating to VBAG

The numbers in the case part would be the usergroupids, then the $ilimit part just below each would be the limit for that usergroup.
  Reply With Quote
Old February 22nd, 2005, 01:25 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 146
Re: Few Things Important for Migrating to VBAG

Brian,

Seems I did some mess up or something is wrong somewhere, users have reported that they can upload only one image perday. Is it something to with :

if ($icount['count'] >= 1)
{
eval(print_standard_error('Sorry, but you are only allowed to upload a maximum of ' . $ilimit . ' images per day.', 0));

Code:
Content visible to verified customers only.
iphoto is offline   Reply With Quote
Old February 22nd, 2005, 01:39 PM   #11 (permalink)
Brian
Guest
 
Posts: n/a
Re: Few Things Important for Migrating to VBAG

Crap, sorry about that. Change the 1 to $ilimit and that should fix the problem.
  Reply With Quote
Old February 22nd, 2005, 03:36 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 146
Re: Few Things Important for Migrating to VBAG

Quote:
Originally Posted by Brian
Crap, sorry about that. Change the 1 to $ilimit and that should fix the problem.
Thanks Brian, just one more question, if I set default as "0" (zero) will it mean no upload permission or unlimited upload. (In photopost zero gives unlimited )

What I want to do is: I will have two groups, one default "Registered Users" Group and a "Level 1" group. I will set limit of 3 for "Level 1" and default as Zero. Does this means, newly registered user will not have access to upload image unless he is promoted to "Level 1"

cheers...
iphoto is offline   Reply With Quote
Old February 22nd, 2005, 07:22 PM   #13 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
Re: Few Things Important for Migrating to VBAG

No no no. Don't go that way! Don't think permissions around this script. This is only about numbers.

Permissions to upload should be set in Gallery's usergroup permission system and not here, because some functions depend on that value.
When you allow a usergroup to upload, that usergroup has no limits for the number pictures they can upload per day.
What you should do with this script is set the upload limit value only for the usergroups that have permission to upload. All others should be ignored. That's why I asked you "how many usergroups you need to limit?" when I replied you before.

So if you have the default usergroups + "level 1", and from all the usergroups with permissions you only want to limit "level 1" you should use the scipt this way:
Code:
Content visible to verified customers only.
If you don't want Registered Users (or any other group) to upload, edit their usergroups permissions.
rbl is offline   Reply With Quote
Old February 23rd, 2005, 12:27 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 146
Re: Few Things Important for Migrating to VBAG

Quote:
Originally Posted by rbl
No no no. Don't go that way! Don't think permissions around this script. This is only about numbers.

If you don't want Registered Users (or any other group) to upload, edit their usergroups permissions.
aah! thats an easy one...I think I still have an hangover of PP
iphoto is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBAG to Photopost hani Photopost Pro Installation & Upgrades 8 December 4th, 2005 04:48 PM
Migrating Photopost from Threads install to FusionBB cascadeclimbers Photopost Pro Installation & Upgrades 5 October 6th, 2005 04:19 PM
Important webfort Before You Buy 1 June 10th, 2005 08:53 AM
Migrating from DCForum+ to vBulletin - How will Photopost take that? South Fork General Discussion 0 July 8th, 2004 07:29 PM


All times are GMT -5. The time now is 10:20 AM.

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