vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - PhotoPlog: The Lite Gallery (https://vborg.vbsupport.ru/showthread.php?t=101368)

inciarco 12-02-2007 04:47 PM

Quote:

Originally Posted by inciarco (Post 1376976)
Any Solution For The Problem With PhotoPlog SQL Sentence That Causes Error In Data Base When Activating This Hack In Forums?? :confused:

(Read My Previous Messages In This Thread For Details).

I've Found In The Forum Some Users With This Problem, I Hope The Author Can Give Us a Solution To be Able To Use This Hack!! :rolleyes:

My Best Regards!! ;)

:)

I've Analyzed Today the PhotoPlog Plugin that Contains the COUNT Code, and I've Found that the Plugin "PhotoPlog File Count" (Hook Location "showthread_query") contains the Code that Causes the Error!! ;)

I've Added the Code

Code:

if (!$forum['chiefpost'])
{

Before

Code:

if (
        $vbulletin->options['photoplog_is_active']

and Closed the If Sentence with a

Code:


}

After

Code:

        $postids = $postids." ".$hook_query_where;

}

At the End of the Plugin Code, Not Allowing to Execute Itself When the Forum has Activated the Chief First Post as "Yes".

This Way the Error I've Mentioned Don't Occurs and Finally the First Post is Shown in Every Page!! :up: ;)

My Best Regards!! :up:

:)

inciarco 12-02-2007 04:51 PM

I'd Appreciate a lot if Calorie could Tell me if the Plugin "PhotoPlog File Count" Can Be Ommited without any Problem, because the Way the Code is Written Affects the Hack "Chief First Post" that I've Mentioned Before, causing the Error I've mentioned in some of my Posts in this Thread!! :confused:

My Best Regards!! :up:

:)

fishhub 12-03-2007 02:35 PM

for 3.5.x...is it compatible with php5?TIA.

Zidane007nl 12-03-2007 09:31 PM

Quote:

Originally Posted by fishhub (Post 1394066)
for 3.5.x...is it compatible with php5?TIA.

Yes, its compatible with PHP5.

@inciarco: I think you'll get a faster reply to your problem if you PM him.

I have a problem. The statistics (last upload, last comment, uploads, comments) of the categories has stopped updating.

Guest201202001 12-04-2007 01:55 PM

I have an error with comments if comments are in multi page I cannot move from one page to another I clicked for example at page number three but it remains always at page 1:( what can i do to repair this because i have photos with a lot of comments

Robert7 12-05-2007 01:31 AM

Quote:

Originally Posted by nfn (Post 1237626)
Hi,

I don't know if anyone as found a good solution to turn PhtoPlog Lite more SEO, but here's mine:

Todo:
Edit 2 PhotoPlog files - index.php and functions.php

Dificulty & Time
Easy ... just 2 minuts

What & How?

Place image name in Title

Open index.php and find
Code:

photoplog_output_page('photoplog_view_file', $vbphrase['photoplog_view_file']);
replace with
Code:

photoplog_output_page('photoplog_view_file', $vbphrase['photoplog_view_file'] ." - ". $photoplog_title);

Replace PhotoPlog in title with you Forum Name

Open functions.php and find
Code:

$pagetitle = $vbphrase['photoplog_photoplog']." - ".$photoplog_phrase;
replace with
Code:

$pagetitle = $vbulletin->options['bbtitle']." - ".$photoplog_phrase;

Note: $vbulletin->options['bbtitle'] is defined at: vBulletin Options -> vBulletin Options -> Site Name / URL / Contact Details -> Forum Name

Done!

This hack was done with vBulletin 3.6.5 and PhotoPlog Lite v.2.0.6

PS: English is not my main language, so if you find any error just ignore it!

Tags: PhotoPlog Lite SEO, PhotoPlog Lite Search Engine Friendly, PhotoPlog Lite Title


Changing the page title is the most need for this hack. Thx.

Racecar 12-05-2007 05:44 PM

I have the problem that everyone can reply to a photo except the admin. No matter what you type says that it must be at least four letters long even if you type an entire sentence.
anyone know what may be wrong?

solidlink 12-06-2007 02:19 PM

Hi, how do I fix the random thumb size? It has caused my website to have a horizontal scroll bar

dplevy 12-08-2007 04:32 PM

i dont understand this.. i got photoplog working and i can see the index.php page and everything but if i click on "home" "upload" or "search" i get this error:

The requested URL /photoplog/upload.php was not found on this server.


and the link takes me to this url:


http://www.example.com/photoplog/upload.php


instead of MY site.


what do i do here?

dplevy 12-08-2007 04:52 PM

and how do i add a button for this in my navbar? the instructions dont tell me anything.


All times are GMT. The time now is 01:53 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.02724 seconds
  • Memory Usage 1,746KB
  • 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
  • (8)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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