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-05-2015 09:08 PM

humm, I was checking the folders and I indeed renamed modcp to a different name.. But even if I rename the folder back to modcp and modify the config.php now all I get is a blank screen when I click on the "approve photos" button, do you know how can I make it work?

I appreciate your help a lot!

TheAdminMarket 07-06-2015 03:20 AM

Quote:

Originally Posted by badstraw (Post 2549437)
humm, I was checking the folders and I indeed renamed modcp to a different name.. But even if I rename the folder back to modcp and modify the config.php now all I get is a blank screen when I click on the "approve photos" button, do you know how can I make it work?

I appreciate your help a lot!

I'm out of home to be able to test it right now, but be sure that I've tested it before release. Most probably should be some cache. Have you cleared your browser's cachec and also the system cache from admincp?

badstraw 07-06-2015 04:39 AM

I already cleared the browser's cache and the system cache from the admincp but unfortunately Im still having a blank page when I click on "approve photos"..

thanks for the help :)

TheAdminMarket 07-06-2015 05:12 AM

Quote:

Originally Posted by badstraw (Post 2549449)
I already cleared the browser's cache and the system cache from the admincp but unfortunately Im still having a blank page when I click on "approve photos"..

thanks for the help :)

Please rename the file: modcp/ratemyphoto.php to photorate.php and should works. I forgot that before release I renamed the php files from ratemyphoto to photorate.

RichieBoy67 07-06-2015 05:41 AM

Nice work again Nick! I am not sure if I can use this or not on my particular site but I still think it's awesome!

TheAdminMarket 07-06-2015 05:53 AM

Quote:

Originally Posted by RichieBoy67 (Post 2549452)
Nice work again Nick! I am not sure if I can use this or not on my particular site but I still think it's awesome!

Simple and Funny for users to enjoy some of their free time in communities.

Today I'll release a Media Gallery (Photos, Audio, YouTUBE). Simple one, but I love it. I was looking for something like this here but I found only complicated mods.

badstraw 07-06-2015 03:14 PM

Quote:

Originally Posted by NickTheGreek (Post 2549450)
Please rename the file: modcp/ratemyphoto.php to photorate.php and should works. I forgot that before release I renamed the php files from ratemyphoto to photorate.

Thank you Nick, now it shows the picture for approval but when I click on "update photo status" to approve it, it redirects me to the home page but it doesn't do anything.

maybe Im doing something wrong..

TheAdminMarket 07-06-2015 03:36 PM

Quote:

Originally Posted by badstraw (Post 2549493)
Thank you Nick, now it shows the picture for approval but when I click on "update photo status" to approve it, it redirects me to the home page but it doesn't do anything.

maybe Im doing something wrong..

Upload the attached file to modcp/
Be careful to not upload at the forum directory as there is another file with the same name therel.

badstraw 07-06-2015 09:14 PM

great!! I think it's working now, but is there a way to delete the photos manually?

I created a test user, I uploaded a photo with that user but now that it's approved I can't delete it because the user who uploaded the pic has been deleted from the database.

thanks for your help Nick, I really love the mod.

badstraw 07-07-2015 08:00 PM

I deleted the photo and the mod works great, the only thing that I have to say about the mod is that I would add a delete button for admins, so If a photo gets approved by mistake you can delete it easily, other than than its awesome!


All times are GMT. The time now is 05:51 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.01132 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)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
  • (10)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