![]() |
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 :D 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 :D |
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:
|
Re: Few Things Important for Migrating to VBAG 2) I posted a very simple hack to add this. |
Re: Few Things Important for Migrating to VBAG Quote:
but other stuff, cant find anything :confused: |
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.Code: Content visible to verified customers only. |
Re: Few Things Important for Migrating to VBAG Quote:
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 :D Lets me know pl |
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. |
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" :confused: , sorry for dumb question, but I am not a programmer by profession :( |
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. |
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. |
Re: Few Things Important for Migrating to VBAG Crap, sorry about that. Change the 1 to $ilimit and that should fix the problem. |
Re: Few Things Important for Migrating to VBAG Quote:
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...:) |
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. |
Re: Few Things Important for Migrating to VBAG Quote:
|
| All times are GMT -5. The time now is 08:29 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0