vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - PhotoPlog: The Pro Gallery (https://vborg.vbsupport.ru/showthread.php?t=298927)

Rakehel 12-22-2016 04:18 PM

Ok, I didn't realize guests didn't see the thumbs. It's been so long. I'll PM you.

MarkFL 12-22-2016 04:40 PM

Quote:

Originally Posted by Rakehel (Post 2579754)
Ok, I didn't realize guests didn't see the thumbs. It's been so long. I'll PM you.

Okay, create a plugin hooked at "parse_templates" with the PHP code:

PHP Code:

if (THIS_SCRIPT === 'index')
{
    
$template_hook['headinclude_css'] .= '<style>.alt2 {background: rgb(224, 224, 224) !important;}</style>';


You can make the background darker by using a lower number for the 3 values in the rgb() function, and to make it lighter, use a higher number (up to 255, which is what it is set at by default).

Rakehel 12-23-2016 12:13 PM

Thanks Mark. I'll give that a try and report back here, eventually. Someone else may be looking for this.

Rakehel 12-23-2016 03:45 PM

Excellent! It works and across multiple skin colors. As you've mentioned it gives me a place to work on the background color without searching for other code or plugins all day.

I'm currently working on fixing about 7 skins/themes. (Yeah, some people like them and won't let go... LOL.) I've been putting some stuff off for a few years.

Thanks Mark! :D

MarkFL 12-23-2016 03:51 PM

Quote:

Originally Posted by Rakehel (Post 2579786)
Excellent! It works and across multiple skin colors. As you've mentioned it gives me a place to work on the background color without searching for other code or plugins all day.

I'm currently working on fixing about 7 skins/themes. (Yeah, some people like them and won't let go... LOL.) I've been putting some stuff off for a few years.

Thanks Mark! :D

Thanks for letting me know...it's always nice to hear back that something either worked, or if not to be able to try to resolve the issue. :D

GhostHunter2010 05-02-2017 08:20 AM

tried to install it but when i click import xml keeps sayin please wait nothing happens

chloe101 05-30-2017 04:57 AM

Quote:

Originally Posted by GhostHunter2010 (Post 2586121)
tried to install it but when i click import xml keeps sayin please wait nothing happens

That happened to me. It turned out I hadn't uploaded all the files so check that you uploaded them all and that they're in the right place. This is worth doing slowly.

I had to retrace my steps several times but it was worth it. I've got it working on 4.2.4 and am very happy, all for one little php error message I need to get rid of.

chloe101 05-30-2017 05:00 AM

I just installed this on 4.2.4 and it's looking great and I was able to upload pictures, assign a category and make an album but I have the following php message at the top

"Warning: Illegal string offset 'catid' in /home/xxxx/xxx/photoplog/index.php on line 92"


Can someone please help me decipher and fix this?

Thanks in advance

MarkFL 05-30-2017 05:36 AM

Quote:

Originally Posted by chloe101 (Post 2587100)
I just installed this on 4.2.4 and it's looking great and I was able to upload pictures, assign a category and make an album but I have the following php message at the top

"Warning: Illegal string offset 'catid' in /home/xxxx/xxx/photoplog/index.php on line 92"


Can someone please help me decipher and fix this?

Thanks in advance

What is in that file in the vicinity of line 92, including about 5 lines before it and 5 lines after?

chloe101 05-30-2017 05:42 AM

Quote:

Originally Posted by MarkFL (Post 2587101)
What is in that file in the vicinity of line 92, including about 5 lines before it and 5 lines after?

Here's what I have in lines 86 - 98
Code:

else if ($photoplog_file_info_links && $photoplog_file_id)
        {
                $photoplog_file_info = $photoplog_file_info_links;
        }
        unset($photoplog_file_info_links);

        $photoplog['catid'] = intval($photoplog_file_info['catid']);

        $photoplog_do_html = 0;
        $photoplog_do_smilies = 0;
        $photoplog_do_bbcode = 0;
        $photoplog['do_comments'] = 0;
        $photoplog_do_imgcode = 0;

Thanks


All times are GMT. The time now is 09:56 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.01386 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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