vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Rate my Photo (HotOrNot Clone) (https://vborg.vbsupport.ru/showthread.php?t=319323)

badstraw 07-18-2015 08:01 AM

thanks Nick the update rocks, it works wonders..

I was testing the delete button and it works perfectly, but wouldn't be easier to add the delete button for already approved and rated photos? Im just saying because the only way you can delete any photo now as an admin is before you vote for them, once you vote there's no going back. It would be great to have better control. :)

TheAdminMarket 07-18-2015 08:08 AM

Quote:

Originally Posted by badstraw (Post 2550586)
..... before you vote for them, once you vote there's no going back. It would be great to have better control. :)

I know this that's why I had doubts if it was good to add it or not. Finally I decided to add it just to have the PHP code ready, and when I'll find some free time I'll move the button in another place. The problem is to find a place which is always available with or without vote.

badstraw 07-18-2015 08:16 AM

great, thanks for the explanation, Ill wait for the update.. !

Just another quick question.. Is there a possibility to know how many participants have uploaded their photos?

badstraw 07-18-2015 07:13 PM

I just want to let you know that now when you click to delete your own photo it doesn't work, the button doesn't do anything. But if you click on the delete button as an admin it works.

And Is there a possibility to know how many participants have uploaded their photos?

TheAdminMarket 07-26-2015 07:25 AM

RateMyPhoto ver. 1.0.3 released to fix a PHP warning which messes the User Profile screen. Please note that this bug appears only to those using vB 4.2.3

To upgrade download ver.1.0.3, unzip and import product-ratemyphoto.xml

badstraw 07-26-2015 09:24 PM

Hey Nick I hope you can help me pelase..

I have 18 photos awaiting approval, When I click update photo status I get this error message :

Code:

Fatal error: Class 'DBTECH_GALLERY' not found in public_html/dbtech/gallery/hooks/navigation_tab_complete.php on line 33
When I uploaded just a couple of pictures to test the mod it was working great, but it seems that now that the users uploaded more that a few photos it doesn't work. I would really appreciate your help man i really need it.

I tried to disable dbtech gallery but that doesn't make any difference, I would really like to make it work..

badstraw 07-26-2015 10:40 PM

I commented these lines on /dbtech/gallery/hooks/navigation_tab_complete.php :

Code:

       

//    $galfile = DBTECH_GALLERY::fetch_file_path(0, 'plain', $gal);

//        foreach ((array)DBTECH_GALLERY::$instances as $instance)
        {
                if ($instance['navbar'] == 1)
                {
                        $gallink = $galfile . '?gal=' . $instance['shortname'];
                        $tabname = 'dbtech_gallery_' . $instance['shortname'];
                        $submenu = array();

                        if (DBTECH_GALLERY::fetch_gallery_perms('view', $instance) || DBTECH_GALLERY::fetch_gallery_perms('admin', $instance))
                        {
                                $submenu['view'] = array(
                                        'root' => $tabname,
                                        'type' => 'link',
                                        'url' => $gallink . '&do=main',
                                        'title' => $vbphrase['dbtech_gallery_nav_main'],
                                        'name' => 'dbtech_gallery_view',
                                        'children' => 0
                                );

Now the error code is gone but nothing happens when I click on update photo status... maybe a bug?



I would really appreciate your help..

RichieBoy67 10-27-2015 03:22 AM

Quote:

Originally Posted by badstraw (Post 2551427)
I commented these lines on /dbtech/gallery/hooks/navigation_tab_complete.php :

Code:

   

//    $galfile = DBTECH_GALLERY::fetch_file_path(0, 'plain', $gal);

//    foreach ((array)DBTECH_GALLERY::$instances as $instance)
    {
        if ($instance['navbar'] == 1)
        {
            $gallink = $galfile . '?gal=' . $instance['shortname'];
            $tabname = 'dbtech_gallery_' . $instance['shortname'];
            $submenu = array();

            if (DBTECH_GALLERY::fetch_gallery_perms('view', $instance) || DBTECH_GALLERY::fetch_gallery_perms('admin', $instance))
            {
                $submenu['view'] = array(
                    'root' => $tabname,
                    'type' => 'link',
                    'url' => $gallink . '&do=main',
                    'title' => $vbphrase['dbtech_gallery_nav_main'],
                    'name' => 'dbtech_gallery_view',
                    'children' => 0
                );

Now the error code is gone but nothing happens when I click on update photo status... maybe a bug?



I would really appreciate your help..

Think you are posting in the wrong thread,

RichieBoy67 10-27-2015 03:24 AM

Nick,

I think it would be a good idea to bold and align the nav links(post photo and my photos) to the left. Will be easier to see.

RKLounge 11-07-2015 11:07 PM

Anyone know why this is happening?

On the Rate Photo's page the PNG image you're rating is wider than the sidebar displaying the filter.

See IMG for example. How do i fix this? I can size the max width of the photo to 600 to make it fit, but then this downscales the image and makes it look poor quality and hard to see. Is there a way the image can open like the other thumbnails do in the other pages?

https://vborg.vbsupport.ru/external/2015/11/48.png

RichieBoy67 11-13-2015 06:06 AM

Quote:

Originally Posted by RKLounge (Post 2558420)
Anyone know why this is happening?

On the Rate Photo's page the PNG image you're rating is wider than the sidebar displaying the filter.

See IMG for example. How do i fix this? I can size the max width of the photo to 600 to make it fit, but then this downscales the image and makes it look poor quality and hard to see. Is there a way the image can open like the other thumbnails do in the other pages?

https://vborg.vbsupport.ru/external/2015/11/48.png

What was the size of the image to start with?

TheAdminMarket 06-03-2016 04:53 AM

From today Support will be available as paid service only in my site.
Bug fixes will be still available here.

Regards
Christos


All times are GMT. The time now is 03:30 PM.

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.01616 seconds
  • Memory Usage 1,751KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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